cincheo / jsweet

A Java to JavaScript transpiler.
http://www.jsweet.org
Other
1.45k stars 160 forks source link

JSweet 3 (Java 11) : bug with extensions #611

Closed erezws closed 3 years ago

erezws commented 4 years ago

Hi, We are using Jsweet version 2.0.0, With Java 1.8. now upgrading our Java to 11, and the Jsweet to the current latest version (3.0.0-RC3) we ran into a problem using our Adapter, we receive 2 Errors. "local extensions are not supported in this environment, please use a packaged extension" "fail to initialize extension classpath". the Adapter is configured by the spec, is there any change about that in version 3.X.X? thank you

lgrignon commented 3 years ago

Hi @erezws That's very interesting, thanks a lot for reporting. Could you please link a small repro repo or zip? I will try asap to fix it!

lgrignon commented 3 years ago

I am sorry I cannot reproduce.

Are you using maven plugin? Which exact versions of Java / JSweet maven plugin please?

lgrignon commented 3 years ago

Hello again @erezws 3.0.0-RC4 has been deployed (and maven plugin is up to date) if you want to give it a shot Warning : if you declare jsweet-core as a dependency, groupId is now <groupId>org.jsweet.v3</groupId>

I hope it will work for you 🤞

lgrignon commented 3 years ago

3.0.0-RC5 is deployed, please test it on this version. groupId is org.jsweet.v3 for almost all artifacts now (please see pom.xml & build.gradle here: https://github.com/cincheo/jsweet-examples)