Map-Projections/build.xml
Justin Kunimune 69984ce9a7 Consider it caught
I'm ready to release. I thought this commit would be some minor spelling fixes, but I ended up having to recompile the jars and exes, fix a (surprisingly minor) bug in Math2.stddev, regenerate the plot, make MapDesignerRaster's maps have more reasonable dimensions, and improve comments slightly.
I also changed the version to 3.1 because I've decided 3.0 was what I had at the beginning of 2017.
2017-09-02 21:03:34 -04:00

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/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.5/commons-math3-3.5.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.5/commons-math3-3.5.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.5/commons-math3-3.5.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 &quot;Map Designer Raster&quot; -title &quot;Map Designer (Raster)&quot; -description &quot;Design oblique raster world maps in different projections&quot;"/>
<arg line="-vendor &quot;Justin Kunimune&quot; -Bcopyright=&quot;Copyright (c) 2017 Justin Kunimune&quot;"/>
<arg line="-BappVersion=3.1 -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 &quot;Map Designer Vector&quot; -title &quot;Map Designer (Vector)&quot; -description &quot;Design oblique vector world maps in different projections&quot;"/>
<arg line="-vendor &quot;Justin Kunimune&quot; -Bcopyright=&quot;Copyright (c) 2017 Justin Kunimune&quot;"/>
<arg line="-BappVersion=3.1 -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 &quot;Map Analyzer&quot; -title &quot;Map Analyzer&quot; -description &quot;Compare distortion graphs and metrics for different map projections.&quot;"/>
<arg line="-vendor &quot;Justin Kunimune&quot; -Bcopyright=&quot;Copyright (c) 2017 Justin Kunimune&quot;"/>
<arg line="-BappVersion=3.1 -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>