DXJava
is compatible with Java 7 and higher.
Examples of DNAnexus Platform apps written in Java
- Maven (
apt-get install maven2
)
From dx-toolkit, run:
make && make java
To create a project for Eclipse development:
cd src/java; mvn eclipse:eclipse
Ensure you have logged in to the platform with a valid token (for example,
using dx login
). Then:
cd src/java; mvn test
In order to run a particular test class or method, use the test
option, for example:
mvn test -Dtest=DXSearchTest
or
mvn test -Dtest=DXSearchTest#testFindDataObjects