The jsinterop generator is a java program that takes closure extern files as input and generates
Java classes annotated with JsInterop annotations.
The official JsInterop-Generator project is available via
The JsInterop-Generator project does not yet provide regular releases
as it is primarily used to build Elemental2. This makes it difficult
to adopt the JsInterop-Generator in more traditional build systems.
Until regular JsInterop-Generator releases start occurring, I have
decided to periodically publish versions of the JsInterop-Generator
artifact to maven central. To avoid conflicts with the official releases
the groupId of the artifacts are prefixed with "org.realityforge." and
the artifacts use different versions.
This is completely unofficial so please don't bug the original
JsInterop-Generator authors. A new version will be released when I need
it or when I am explicitly asked.
The Maven dependency published to Maven Central can be added to your
More importantly there is an executable jar artifact with all the dependencies
merged into the artifact that can be downloaded and run immediately.
$ wget http://central.maven.org/maven2/org/realityforge/com/google/jsinterop/closure-generator/1.0.0-b1-013d8fa/closure-generator-1.0.0-b1-013d8fa-all.jar
$ java -jar closure-generator-1.0.0-b1-013d8fa-all.jar \
> --extension_type_prefix React \
> --output react.jar \
> --package_prefix react \
> --global_scope_class_name ReactGlobal \
> --output_dependency_file react.jdeps \
Hope this helps,
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Post a Comment