3. June 2016

Building Orbit

Building Orbit (quick solution)

Requirements: JDK >= 1.8, Git, Gradle

# download from github
git clone git://github.com/mstritt/orbit-image-analysis.git
# build Orbit Image Analysis
cd orbit-image-analysis
gradle jar

# ... and start it
java -XX:MaxPermSize=150m -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -cp "build/libs/orbit-image-analysis.jar;build/libs/lib/*" com.actelion.research.orbit.imageAnalysis.components.OrbitImageAnalysis

Building Orbit (and dependencies)

Requirements: JDK >= 1.8, Git, Gradle

# download from github
git clone git://github.com/mstritt/lib-orbit-common.git
git clone git://github.com/mstritt/map-reduce-generic.git
git clone git://github.com/mstritt/map-reduce-exec-spark.git
git clone git://github.com/mstritt/image-provider-omero.git
git clone git://github.com/mstritt/orbit-image-analysis.git

#build dependencies and install to maven local
cd lib-orbit-common
gradle publishToMavenLocal
cd ..
cd map-reduce-generic
gradle publishToMavenLocal
cd ..
cd map-reduce-exec-spark
gradle publishToMavenLocal
cd ..
cd image-provider-omero
gradle publishToMavenLocal
cd ..

# build Orbit Image Analysis
cd orbit-image-analysis
gradle jar

# ... and start it
java -XX:MaxPermSize=150m -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -cp "build/libs/orbit-image-analysis.jar;build/libs/lib/*" com.actelion.research.orbit.imageAnalysis.components.OrbitImageAnalysis

Maven Central artifacts now available! You can also just build orbit-image-analysis and skip the dependency builds, gradle will fetch the artifacts from Maven Central then.