Map-Projections/build.xml
Justin Kunimune dcf5fa98c1 It was mostly crazy.
So, representing projcetions as classes was kind of a horrible idea and
also impossible. That's okay. I still implemented two of the things I
wanted to implement: storing projections as variables such that I can
distribute them among several (like, fifteen), and a formal system
 for a long time ive had to poop
 i think i should get that looked at
 hahahahahahaha just kidding i love being constapated
for processing parameters. Al6so, Wink7el Tripel is tot9ally broe5kn. i
9think it mig3ht be an 7issue with N5ewton Raph9son Appro1ximation. I'll
look i6nto that l8r.
2017-08-14 14:26:54 -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.0 -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.0 -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.0 -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>