Changeset 14003 in osm for applications/editors/josm/plugins/remotecontrol
- Timestamp:
- 2009-03-08T12:02:49+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/remotecontrol/build.xml
r13313 r14003 1 1 <project name="remotecontrol" 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}" debug=" true" destdir="build">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"> 19 <copy todir="${plugin.build.dir}/images" 20 <fileset dir="images" 17 <target name="dist" depends="compile,revision"> 18 <copy todir="${plugin.build.dir}/images"> 19 <fileset dir="images"/> 21 20 </copy> 21 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 22 <manifest> 23 <attribute name="Author" value="Frederik Ramm"/> 24 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.remotecontrol.RemoteControlPlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="Let other applications send commands to JOSM."/> 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/RemoteControl"/> 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.remotecontrol.RemoteControlPlugin"/>33 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>34 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>35 <attribute name="Plugin-Description" value="A plugin allowing other applications to send commands to JOSM." />36 <attribute name="Plugin-Mainversion" value="1180"/>37 <attribute name="Author" value="Frederik Ramm <frederik@remote.org>"/>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.