Changeset 30822 in osm for applications/editors/josm/plugins/native-password-manager/build.xml
- Timestamp:
- 2014-11-29T16:30:52+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/native-password-manager/build.xml
r30530 r30822 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 7 <property name="plugin.main.version" value="7001"/> 8 <property name="plugin.author" value="Paul Hartmann"/> 9 <property name="plugin.class" value="org.openstreetmap.josm.plugins.npm.NPMPlugin"/> 10 <property name="plugin.description" value="Use your system''s password manager to store the API username and password. (KWallet and gnome-keyring are supported.)"/> 11 <property name="plugin.icon" value="images/lock24x24.png"/> 12 <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Native_Password_Manager"/> 13 <property name="plugin.requires" value="jna"/> 8 14 9 15 <!-- … … 14 20 <import file="../build-common.xml"/> 15 21 16 <!-- classpath --> 17 <path id="classpath"> 18 <fileset dir="${plugin.lib.dir}" includes="**/*.jar"/> 19 <pathelement path="${josm}"/> 20 </path> 21 <!-- 22 ********************************************************** 23 ** compile - complies the source tree 24 ** Overrides the target from build-common.xml 25 ********************************************************** 26 --> 27 <target name="compile" depends="init"> 28 <echo message="compiling sources for ${plugin.jar} ..."/> 29 <javac srcdir="src" classpathref="classpath" debug="true" destdir="${plugin.build.dir}" includeantruntime="false"> 30 <compilerarg value="-Xlint:deprecation"/> 31 <compilerarg value="-Xlint:unchecked"/> 32 </javac> 33 </target> 34 35 <!-- 36 ********************************************************** 37 ** dist - creates the plugin jar 38 ********************************************************** 39 --> 40 <target name="dist" depends="compile,revision"> 41 <echo message="creating ${ant.project.name}.jar ... "/> 42 <copy todir="${plugin.build.dir}/images"> 43 <fileset dir="images"/> 44 </copy> 45 <copy todir="${plugin.build.dir}/data"> 46 <fileset dir="data"/> 47 </copy> 48 <copy todir="${plugin.build.dir}"> 49 <fileset dir="."> 50 <include name="README"/> 51 <include name="LICENSE"/> 52 <include name="gpl-2-cp.txt"/> 53 <include name="gpl-3.txt"/> 54 </fileset> 55 </copy> 56 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 57 <!-- 58 ************************************************ 59 ** configure these properties. Most of them will be copied to the plugins 60 ** manifest file. Property values will also show up in the list available 61 ** plugins: http://josm.openstreetmap.de/wiki/Plugins. 62 ** 63 ************************************************ 64 --> 65 <manifest> 66 <attribute name="Author" value="Paul Hartmann"/> 67 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.npm.NPMPlugin"/> 68 <attribute name="Main-Class" value="org.openstreetmap.josm.plugins.npm.NPMPlugin"/> 69 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 70 <attribute name="Plugin-Description" value="Use your system''s password manager to store the API username and password. (KWallet and gnome-keyring are supported.)"/> 71 <attribute name="Plugin-Icon" value="images/lock24x24.png"/> 72 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Native_Password_Manager"/> 73 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/> 74 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 75 </manifest> 76 <zipfileset src="${plugin.lib.dir}/jna.jar"/> 77 </jar> 78 </target> 22 <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}"> 23 <include name="jna.jar"/> 24 </fileset> 25 79 26 </project>
Note:
See TracChangeset
for help on using the changeset viewer.
