Skip to content

Build instructions

fapsi edited this page Nov 23, 2013 · 26 revisions

Get the source code (via Git)

Create a new folder in your file system and navigate into via terminal. Type:
git clone https://github.com/fapsi/JTIG.git

###Building the project (via Maven)

  1. Installing 3rd party JARs into local maven repository
    There are actually two "third-party-JAR" (morphadorner,jgraphx), which arn't available as most recent versions in the global Maven repository. To add them into your local repository, you have to download the latest releases and run the following commands.
    For morphadorner:
    mvn install:install-file -Dfile=lib/morphadorner.jar -DgroupId=edu.northwestern.at
    -DartifactId=Morphadorner -Dversion=2.0 -Dpackaging=jar
    For jgraphx:
    mvn install:install-file -Dfile=lib/jgraphx.jar -DgroupId=org.tinyjee.jgraphx
    -DartifactId=jgraphx -Dversion=[actversion] -Dpackaging=jar
    See Also: Maven HowTo

  2. Build JAR package
    Run:
    mvn package
    Maven generates automatically a JAR-file with the information in the pom.xml.

###Building the project (via Eclipse)

  1. Import project in Eclipse
    Requires Maven-plugin for Eclipse.
    Navigate to File -> Import...
    Select Maven -> Existing Maven Projects. Press Next >.
    Select JTIG-source Folder and check the pom.xml-file. Press Finish.
    The project is now imported into your eclipse. Make sure that all maven dependencys are imported (Step 1).

Clone this wiki locally