diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d98981c --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/target/ +/.classpath +/.project +/.settings/ diff --git a/README.md b/README.md index 9e9c08b..8dbc30e 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,6 @@ It's a cross-platform java application, and its home page is at https://gpsprune Here on github you'll find all the sources from version 1 to the current version 19.2, and in the wiki at https://github.com/activityworkshop/GpsPrune/wiki there's the beginning of a translation effort for anyone to contribute. Currently just the Spanish translations are online, to see whether it's a workable idea or not. Please help with this if you can. + +# Development +Check `Eclipse` and `Maven` section in . diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..8d4c8c5 --- /dev/null +++ b/pom.xml @@ -0,0 +1,133 @@ + + + + 4.0.0 + + tim.prune + gpsprune + 19.3-SNAPSHOT + jar + + tim.prune.gpsprune + https://github.com/activityworkshop/GpsPrune + + + UTF-8 + 1.8 + 1.8 + tim.prune.GpsPrune + 1.5.1 + + + + TUDelft + http://simulation.tudelft.nl/maven/ + + + + + + java3d + j3d-core + ${java3d.version} + + + java3d + vecmath + ${java3d.version} + + + java3d + j3d-core-utils + ${java3d.version} + + + + + ${project.build.directory}/classes + ${project.artifactId}_${project.version} + ${project.basedir}/ + + + ${project.basedir}/ + + tim/prune/gui/images/* + tim/prune/lang/* + tim/prune/function/srtm/srtmtiles.dat + tim/prune/*.txt + + + + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-jar-plugin + 3.0.2 + + + + ${app.mainClass} + + + + + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + maven-site-plugin + 3.7.1 + + + maven-project-info-reports-plugin + 3.0.0 + + + org.apache.maven.plugins + maven-eclipse-plugin + 2.10 + + true + true + + + + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + ${app.mainClass} + + + + + + + + diff --git a/tim/prune/readme.txt b/tim/prune/readme.txt index 0c5bf5c..5726e87 100644 --- a/tim/prune/readme.txt +++ b/tim/prune/readme.txt @@ -27,6 +27,31 @@ or other link can of course be made should you wish. To specify a language other than the default, use an additional parameter, eg: java -jar gpsprune_19.2.jar --lang=DE +Maven +===== + +To build GpsPrune, simply execute: + mvn clean install + +The resulting jar will be placed in target/ folder + +To run GpsPrune, simply execute: + mvn clean install exec:java + +The resources in pom.xml are changed (so they are not the maven common ones) because of the backward compatibility with the project. + +Eclipse +======= + +You can import the project in Eclipse either by calling: + mvn eclipse:eclipse + +and then File > Import > Existing Projects into Workspace or using File > Import > Existing Maven Projects. + +Java 3D +======= + +You can download Java 3D libraries from [Java Client Technology Downloads](https://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html#java3d-1.5.1-oth-JPR) and then read the [Instructions for Installing Java 3D 1.5.1](https://download.java.net/media/java3d/builds/release/1.5.1/README-download.html). New with version 19.2 =====================