Changeset 14003 in osm for applications/editors/josm/plugins/DirectUpload
- Timestamp:
- 2009-03-08T12:02:49+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/DirectUpload
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/DirectUpload/build.xml
r13373 r14003 1 1 <project name="DirectUpload" default="dist" basedir="."> 2 <property name="josm" location="../../core/dist/josm-custom.jar" 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 3 <property name="plugin.dist.dir" value="../../dist"/> 4 4 <property name="plugin.build.dir" value="build"/> … … 10 10 <target name="compile" depends="init"> 11 11 <echo message="creating ${plugin.jar}"/> 12 <javac srcdir="src" classpath="${josm}" destdir="${plugin.build.dir} " debug="true" encoding="UTF-8">12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 13 <compilerarg value="-Xlint:deprecation"/> 14 14 <compilerarg value="-Xlint:unchecked"/> 15 <include name="**/*.java" />16 15 </javac> 17 16 </target> 18 <target name="dist" depends="compile"> 17 <target name="dist" depends="compile,revision"> 19 18 <copy todir="${plugin.build.dir}/images"> 20 19 <fileset dir="images"/> 21 20 </copy> 21 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 22 <manifest> 23 <attribute name="Author" value="Subhodip Biswas"/> 24 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.DirectUpload.UploadDataGuiPlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="This plugin directly upload GPS Traces from current active layer in JOSM to openstreetmap.org."/> 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/User:Subhodip/GSoC_Doc#DirectUpload_Plugin_in_JOSM_:"/> 28 <attribute name="Plugin-Mainversion" value="1465"/> 29 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 30 </manifest> 31 </jar> 32 </target> 33 <target name="revision"> 22 34 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 23 35 <env key="LANG" value="C"/> … … 28 40 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 29 41 <delete file="REVISION"/> 30 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">31 <manifest>32 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.DirectUpload.UploadDataGuiPlugin" />33 <attribute name="Plugin-Description" value="Uploads GPS traces to openstreetmap.org" />34 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>35 <attribute name="Plugin-Mainversion" value="1180"/>36 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>37 <attribute name="Author" value="Subhodip Biswas <subhodipbiswas@gmail.com>" />38 </manifest>39 </jar>40 42 </target> 41 43 <target name="clean"> 42 <delete dir="${plugin.build.dir}" /> 43 <delete file="${plugin.jar}" /> 44 <delete dir="${plugin.build.dir}"/> 45 <delete file="${plugin.jar}"/> 46 </target> 47 <target name="install" depends="dist"> 48 <property environment="env"/> 49 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 50 <and> 51 <os family="windows"/> 52 </and> 53 </condition> 54 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 44 55 </target> 45 56 </project>
Note:
See TracChangeset
for help on using the changeset viewer.