JSweet integration

27 views
Skip to first unread message

Nicolas Delsaux

unread,
Dec 31, 2015, 3:00:30 AM12/31/15
to wisdom-...@googlegroups.com
Hi all,
i've recently discovered the excellent JSweet technology
(http://www.jsweet.org/) and I would like to think (and maybe implement)
an integration between that transpiler and wisdom.
AFAIK, this transpiler requires its source java code to be put in a
separate source folder (something like src/main/resources/assets/jsweet).
This source folder could be watched by wisdom for changes, which would
in turn trigger the execution of the jsweet maven plugin. which would
put generated javascript code and source maps into the javascript target
folder (which is ..target/classes/assets/javascript). Then the classical
automatic redeploy should take place, and the modified javascript would
be available.
Well, there is another issue to handle : it seems JSweet uses packaged
javascript dependencies in a way that may not be compatible with our
usage of webjars :
http://repository.jsweet.org/artifactory/libs-release-local/org/jsweet/candies/
... How will I handle that ? no idea for now

What do you think ? is it compatible with wisdom concepts ?

Clement Escoffier

unread,
Jan 9, 2016, 3:50:03 AM1/9/16
to wisdom-...@googlegroups.com
Hi,

It looks good.

About the JS dependencies can you describe how they handle them ? As a fall-back it can probably we served as assets.

Clement
> --
> You received this message because you are subscribed to the Google Groups "wisdom-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wisdom-discus...@googlegroups.com.
> Visit this group at https://groups.google.com/group/wisdom-discuss.
> To view this discussion on the web visit https://groups.google.com/d/msgid/wisdom-discuss/5684E09D.9070806%40gmx.fr.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages