Changeset 12780 in osm for applications/editors/josm/plugins/imagewaypoint
- Timestamp:
- 2009-01-01T18:55:45+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagewaypoint/build.xml
r12588 r12780 1 1 <project name="imagewaypoint" default="dist" basedir="."> 2 <!-- compilation properties --> 3 <property name="josm.build.dir" value="../../core"/> 4 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 5 <property name="josm" location="../../core/dist/josm-custom.jar" /> 6 <property name="plugin.build.dir" value="build"/> 7 <property name="plugin.dist.dir" value="../../dist"/> 8 <property name="plugin.name" value="${ant.project.name}"/> 9 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 10 11 <target name="dist" depends="compile"> 12 13 <copy todir="build/images"> 14 <fileset dir="images" /> 15 </copy> 16 17 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 18 <env key="LANG" value="C"/> 19 <arg value="info"/> 20 <arg value="--xml"/> 21 <arg value="."/> 22 </exec> 23 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 24 <delete file="REVISION"/> 25 26 <delete file="${plugin.jar}"/> 27 <jar destfile="${plugin.jar}" basedir="build"> 28 <manifest> 29 <attribute name="Plugin-Class" value="org.insignificant.josm.plugins.imagewaypoint.ImageWayPointPlugin" /> 30 <attribute name="Plugin-Description" value="An other geotag plugin for josm. Correlates pictures with GPS tracks if the image name is sorted in the GPX trkpt tag." /> 31 <attribute name="Plugin-Early" value="false" /> 32 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 33 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 34 <attribute name="Plugin-Mainversion" value="1180" /> 35 </manifest> 36 </jar> 37 </target> 38 39 <target name="compile" depends="init"> 40 <echo message="creating ${plugin.jar}"/> 41 <javac srcdir="src" classpath="${josm}" debug="true" destdir="build"> 42 <compilerarg value="-Xlint:deprecation"/> 43 <compilerarg value="-Xlint:unchecked"/> 44 <include name="**/*.java" /> 45 </javac> 46 </target> 47 48 <target name="init"> 49 <mkdir dir="build" /> 50 </target> 51 52 <target name="clean"> 53 <delete dir="build" /> 54 </target> 2 <!-- compilation properties --> 3 <property name="josm.build.dir" value="../../core"/> 4 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 5 <property name="josm" location="../../core/dist/josm-custom.jar" /> 6 <property name="plugin.build.dir" value="build"/> 7 <property name="plugin.dist.dir" value="../../dist"/> 8 <property name="plugin.name" value="${ant.project.name}"/> 9 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 10 <target name="dist" depends="compile"> 11 <copy todir="build/images"> 12 <fileset dir="images" /> 13 </copy> 14 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 15 <env key="LANG" value="C"/> 16 <arg value="info"/> 17 <arg value="--xml"/> 18 <arg value="."/> 19 </exec> 20 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 21 <delete file="REVISION"/> 22 <delete file="${plugin.jar}"/> 23 <jar destfile="${plugin.jar}" basedir="build"> 24 <manifest> 25 <attribute name="Plugin-Class" value="org.insignificant.josm.plugins.imagewaypoint.ImageWayPointPlugin" /> 26 <attribute name="Plugin-Description" value="An other geotag plugin for josm. Correlates pictures with GPS tracks if the image name is sorted in the GPX trkpt tag." /> 27 <attribute name="Plugin-Early" value="false" /> 28 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 29 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 30 <attribute name="Plugin-Mainversion" value="1180" /> 31 </manifest> 32 </jar> 33 </target> 34 <target name="compile" depends="init"> 35 <echo message="creating ${plugin.jar}"/> 36 <javac srcdir="src" classpath="${josm}" debug="true" destdir="build"> 37 <compilerarg value="-Xlint:deprecation"/> 38 <compilerarg value="-Xlint:unchecked"/> 39 <include name="**/*.java" /> 40 </javac> 41 </target> 42 <target name="init"> 43 <mkdir dir="build" /> 44 </target> 45 <target name="clean"> 46 <delete dir="build" /> 47 </target> 55 48 </project>
Note:
See TracChangeset
for help on using the changeset viewer.