This modules contains our reference examples of ABS code and how we use jabsc
to generate Java code for them.
The master use the latest SNAPSHOT version of the dependencies. You might need to clone and build jabs
and jabsc
locally and build them for this module. Or, you can change pom.xml
for release versions of the dependencies:
You can find ABS sources at
src/main/resources/abs
To generate Java sources integrated with Eclipse:
$ mvn eclipse:eclipse -DdownloadSources=true
To generate Java source with no integration with Eclipse:
$ mvn jabsc:jabsc
In both of the above, the default generated Java location is:
target/generated-sources/jabsc
To completely test if the ABS sources properly compile to Java and then compile to JVM byte code:
$ mvn clean compile
The jabsc
Maven plugin automatically binds to the project before compile
phase and generates Java sources.