-
Notifications
You must be signed in to change notification settings - Fork 27
build instructions
tom kelly edited this page Jul 10, 2020
·
28 revisions
to build with mvn from the terminal:
- java development kit 8+ (known issues with Oracle's jdk 11)
- maven
-
gurobi: install version 9, then register the jar added by gurobi with
mvn install:install-file -Dfile=./gurobi.jar -DgroupId=local_gurobi -DartifactId=local_gurobi -Dversion=local -Dpackaging=jar
- run
mvn package
for chordatlas - the output jar appears in the
target
directory - run with
java -jar -Xmx10g chordatlas-0.0.1-SNAPSHOT.jar
if you are building mvn profile dev
rather than release
you will also need to:
- run
mvn install
for jutils, campskeleton, and siteplan
i develop with eclipse and maven on ubuntu. relevant configuration files are in the repositories.
- main class is
org.twak.tweed.TweedFrame
- the java ServiceLoader system is used to add plugins to the tweed core - additional projects (such as tweedstreets should be added in chordatlas' Run (or Debug) configurations in the classpath tab.
here is a video showing the later part of setting up the build in setting up the build in intellij.
Another to build the binary (jar) is to use the docker container, this will dump the output jar into the current director
docker image build --tag chordatlas --file Dockerfile build
docker run -v ${PWD}:/output twak/chordatlas update_and_export.sh