mirror of
https://github.com/csharpee/Map-Projections.git
synced 2025-12-24 00:00:03 -05:00
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.
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/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 "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.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 "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.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 "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.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>
|