Skip to content

CrispOSS/jabsc-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jabsc Tests

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:

  • Java API for ABS: jabs Maven Central
  • ABS Compiler to Java: jabsc Maven Central
  • Maven Plugin for jabsc Maven Central

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.

Releases

No releases published

Packages

No packages published