Changeset 14003 in osm for applications/editors/josm/plugins/usertools
- Timestamp:
- 2009-03-08T12:02:49+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/usertools/build.xml
r13055 r14003 1 1 <project name="usertools" 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"> 17 <target name="dist" depends="compile,revision"> 18 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 19 <manifest> 20 <attribute name="Author" value="Tim Waters"/> 21 <attribute name="Plugin-Class" value="usertools.UserToolsPlugin"/> 22 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 23 <attribute name="Plugin-Description" value="Tools to work with authors/users. Selects map data that belongs to selected user, opens browser showing selected author profile page."/> 24 <attribute name="Plugin-Mainversion" value="1465"/> 25 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 26 </manifest> 27 </jar> 28 </target> 29 <target name="revision"> 19 30 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 20 31 <env key="LANG" value="C"/> … … 25 36 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 26 37 <delete file="REVISION"/> 27 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">28 <manifest>29 <attribute name="Plugin-Class" value="usertools.UserToolsPlugin" />30 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>31 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>32 <attribute name="Plugin-Description" value="Tools to help work with authors/users.<br> Used with the author panel alt-a).<br> Opens up user profile and selects user's stuff on the map" />33 <attribute name="Plugin-Mainversion" value="1213" />34 </manifest>35 </jar>36 38 </target> 37 39 <target name="clean"> 38 <delete dir="${plugin.build.dir}" /> 39 <delete file="${plugin.jar}" /> 40 <delete dir="${plugin.build.dir}"/> 41 <delete file="${plugin.jar}"/> 42 </target> 43 <target name="install" depends="dist"> 44 <property environment="env"/> 45 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 46 <and> 47 <os family="windows"/> 48 </and> 49 </condition> 50 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 40 51 </target> 41 52 </project>
Note:
See TracChangeset
for help on using the changeset viewer.