add ant build
git-svn-id: https://osmand.googlecode.com/svn/trunk@68 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
parent
79c03f09b4
commit
3b107a479c
2 changed files with 38 additions and 0 deletions
37
DataExtractionOSM/build.xml
Normal file
37
DataExtractionOSM/build.xml
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<!-- build JAR libraty -->
|
||||||
|
<project name="DataExtractionOSM" default="build" basedir=".">
|
||||||
|
|
||||||
|
<target name="jar">
|
||||||
|
<path id="build-classpath">
|
||||||
|
<fileset dir="lib">
|
||||||
|
<include name="*.jar"/>
|
||||||
|
</fileset>
|
||||||
|
</path>
|
||||||
|
<manifestclasspath property="lib.list" jarfile="DataExtractionOSM.jar">
|
||||||
|
<classpath refid="build-classpath"/>
|
||||||
|
</manifestclasspath>
|
||||||
|
<echo>list is ${lib.list}</echo>
|
||||||
|
|
||||||
|
<delete file="DataExtractionOSM.jar" />
|
||||||
|
<delete file="MANIFEST.MF" />
|
||||||
|
<manifest file="MANIFEST.MF">
|
||||||
|
<attribute name="Built-By" value="${user.name}" />
|
||||||
|
<attribute name="Main-Class" value="com.osmand.swing.OsmExtractionUI" />
|
||||||
|
<attribute name="Class-Path" value="${lib.list}"/>
|
||||||
|
</manifest>
|
||||||
|
|
||||||
|
<jar destfile="DataExtractionOSM.jar" manifest="MANIFEST.MF">
|
||||||
|
<fileset dir="bin">
|
||||||
|
<include name="**/*.class" />
|
||||||
|
</fileset>
|
||||||
|
<fileset dir="src">
|
||||||
|
<include name="**/*.java" />
|
||||||
|
</fileset>
|
||||||
|
</jar>
|
||||||
|
<delete file="MANIFEST.MF" />
|
||||||
|
</target>
|
||||||
|
<target name="build" depends="jar" />
|
||||||
|
|
||||||
|
|
||||||
|
</project>
|
||||||
|
|
1
DataExtractionOSM/run.bat
Normal file
1
DataExtractionOSM/run.bat
Normal file
|
@ -0,0 +1 @@
|
||||||
|
java -jar DataExtractionOSM.jar
|
Loading…
Reference in a new issue