mirror of
https://github.com/csharpee/Map-Projections.git
synced 2025-12-05 00:00:37 -05:00
I fixed up some things, changing Tetrahedral aspect preset to not slice up Antarctica as much and Longest Line to have Australia at the top again (I just like it better that way. I'm not sure why I ever did it differently.). Then I rebuilt it. Fun fact: JDK 9 doesn't work. I had to go back and find JDK 8 to make it actually compile. I also revised my ReadMe to reflect a few changes and made some new images. It's a wild time.
67 lines
3.7 KiB
XML
67 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<project name="Map Projections" default="cleanup">
|
|
|
|
<property name="dir.workspace" value="C:/Users/jkunimune/eclipse-workspace"/>
|
|
<property name="dir.jarfile" value="."/>
|
|
|
|
<target name="setup">
|
|
<mkdir dir="build"/>
|
|
</target>
|
|
|
|
<target name="build" depends="setup">
|
|
<jar destfile="${dir.jarfile}/MapDesignerRaster.jar" filesetmanifest="mergewithoutmain">
|
|
<manifest>
|
|
<attribute name="Main-Class" value="apps.MapDesignerRaster"/>
|
|
</manifest>
|
|
<fileset dir="bin"/>
|
|
<zipfileset excludes="META-INF/*.SF" src="${dir.workspace}/ellipticFunctions/ellipticFunctions.jar"/>
|
|
<zipfileset excludes="META-INF/*.SF" src="${dir.workspace}/ellipticFunctions/mfc.jar"/>
|
|
<zipfileset excludes="META-INF/*.SF" src="${dir.workspace}/commons-math3-3.6.1/commons-math3-3.6.1.jar"/>
|
|
</jar>
|
|
<jar destfile="${dir.jarfile}/MapDesignerVector.jar" filesetmanifest="mergewithoutmain">
|
|
<manifest>
|
|
<attribute name="Main-Class" value="apps.MapDesignerVector"/>
|
|
</manifest>
|
|
<fileset dir="bin"/>
|
|
<zipfileset excludes="META-INF/*.SF" src="${dir.workspace}/ellipticFunctions/ellipticFunctions.jar"/>
|
|
<zipfileset excludes="META-INF/*.SF" src="${dir.workspace}/ellipticFunctions/mfc.jar"/>
|
|
<zipfileset excludes="META-INF/*.SF" src="${dir.workspace}/commons-math3-3.6.1/commons-math3-3.6.1.jar"/>
|
|
</jar>
|
|
<jar destfile="${dir.jarfile}/MapAnalyzer.jar" filesetmanifest="mergewithoutmain">
|
|
<manifest>
|
|
<attribute name="Main-Class" value="apps.MapAnalyzer"/>
|
|
</manifest>
|
|
<fileset dir="bin"/>
|
|
<zipfileset excludes="META-INF/*.SF" src="${dir.workspace}/ellipticFunctions/ellipticFunctions.jar"/>
|
|
<zipfileset excludes="META-INF/*.SF" src="${dir.workspace}/ellipticFunctions/mfc.jar"/>
|
|
<zipfileset excludes="META-INF/*.SF" src="${dir.workspace}/commons-math3-3.6.1/commons-math3-3.6.1.jar"/>
|
|
</jar>
|
|
</target>
|
|
|
|
<target name="deploy" depends="build">
|
|
<exec executable="javapackager">
|
|
<arg line="-deploy -native exe -srcfiles MapDesignerRaster.jar;LICENSE.md;input -appclass apps.MapDesignerRaster -outdir build -outfile MapDesignerRaster"/>
|
|
<arg line="-name "Map Designer Raster" -title "Map Designer (Raster)" -description "Design oblique raster world maps in different projections""/>
|
|
<arg line="-vendor "Justin Kunimune" -Bcopyright="Copyright (c) 2017 Justin Kunimune""/>
|
|
<arg line="-BappVersion=3.2 -Bicon=res\raster.ico -BlicenseFile=LICENSE.md"/>
|
|
</exec>
|
|
<exec executable="javapackager">
|
|
<arg line="-deploy -native exe -srcfiles MapDesignerVector.jar;LICENSE.md;input -appclass apps.MapDesignerVector -outdir build -outfile MapDesignerVector"/>
|
|
<arg line="-name "Map Designer Vector" -title "Map Designer (Vector)" -description "Design oblique vector world maps in different projections""/>
|
|
<arg line="-vendor "Justin Kunimune" -Bcopyright="Copyright (c) 2017 Justin Kunimune""/>
|
|
<arg line="-BappVersion=3.2 -Bicon=res\vector.ico -BlicenseFile=LICENSE.md"/>
|
|
</exec>
|
|
<exec executable="javapackager">
|
|
<arg line="-deploy -native exe -srcfiles MapAnalyzer.jar;LICENSE.md;input -appclass apps.MapAnalyzer -outdir build -outfile MapAnalyzer"/>
|
|
<arg line="-name "Map Analyzer" -title "Map Analyzer" -description "Compare distortion graphs and metrics for different map projections.""/>
|
|
<arg line="-vendor "Justin Kunimune" -Bcopyright="Copyright (c) 2017 Justin Kunimune""/>
|
|
<arg line="-BappVersion=3.2 -Bicon=res\analyz.ico -BlicenseFile=LICENSE.md"/>
|
|
</exec>
|
|
</target>
|
|
|
|
<target name="cleanup" depends="deploy">
|
|
<move file="build/bundles" tofile="executables"/>
|
|
<delete dir="build"/>
|
|
</target>
|
|
</project>
|