Changeset 14003 in osm for applications
- Timestamp:
- 2009-03-08T12:02:49+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 1 added
- 2 deleted
- 24 edited
- 1 moved
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}" de stdir="${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> -
applications/editors/josm/plugins/agpifoj/build.xml
r12780 r14003 1 <project name="agpifoj" default="dist" basedir="."> 2 <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) --> 3 <property environment="env"/> 4 <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm"> 5 <and> 6 <os family="windows"/> 7 </and> 8 </condition> 9 <!-- compilation properties --> 10 <property name="josm.build.dir" value="../../core"/> 11 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 12 <property name="josm" location="../../core/dist/josm-custom.jar" /> 13 <property name="plugin.build.dir" value="build"/> 14 <property name="plugin.dist.dir" value="../../dist"/> 15 <property name="plugin.name" value="${ant.project.name}"/> 16 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 1 <project name="AgPifoJ" default="dist" basedir="."> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 17 6 <property name="ant.build.javac.target" value="1.5"/> 18 <target name="dist" depends="compile"> 19 <copy todir="build"> 7 <target name="init"> 8 <mkdir dir="${plugin.build.dir}"/> 9 </target> 10 <target name="compile" depends="init"> 11 <echo message="creating ${plugin.jar}"/> 12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 15 </javac> 16 </target> 17 <target name="dist" depends="compile,revision"> 18 <copy todir="${plugin.build.dir}"> 20 19 <fileset dir="."> 21 20 <include name="CHANGELOG"/> 22 21 <include name="LICENSE"/> 23 <include name="README" 22 <include name="README"/> 24 23 </fileset> 25 24 </copy> 26 <!-- images --> 27 <copy todir="build/images"> 28 <fileset dir="images" /> 25 <copy todir="${plugin.build.dir}/images"> 26 <fileset dir="images"/> 29 27 </copy> 28 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 29 <manifest> 30 <attribute name="Author" value="Christian Gallioz"/> 31 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.agpifoj.AgpifojPlugin"/> 32 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 33 <attribute name="Plugin-Description" value="Another geotag/> for JOSM. Correlates pictures with GPS tracks or import EXIF geotagged pictures."/> 34 <attribute name="Plugin-Early" value="false"/> 35 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/AgPifoJ"/> 36 <attribute name="Plugin-Mainversion" value="1465"/> 37 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 38 </manifest> 39 </jar> 40 </target> 41 <target name="revision"> 30 42 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 31 43 <env key="LANG" value="C"/> … … 36 48 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 37 49 <delete file="REVISION"/> 38 <jar destfile="${plugin.jar}" basedir="build">39 <manifest>40 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.agpifoj.AgpifojPlugin" />41 <attribute name="Plugin-Description" value="An other geotag plugin for josm. Correlates pictures with GPS tracks, or import Exif geotagged pictures." />42 <attribute name="Plugin-Early" value="false" />43 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>44 <attribute name="Plugin-Mainversion" value="1180"/>45 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>46 </manifest>47 </jar>48 </target>49 <target name="compile" depends="init">50 <echo message="creating ${plugin.jar}"/>51 <javac srcdir="src" classpath="${josm}" destdir="build">52 <compilerarg value="-Xlint:deprecation"/>53 </javac>54 </target>55 <target name="init">56 <mkdir dir="${plugin.build.dir}" />57 50 </target> 58 51 <target name="clean"> 59 <delete dir="${plugin.build.dir}" 60 <delete file="${plugin.jar}" 52 <delete dir="${plugin.build.dir}"/> 53 <delete file="${plugin.jar}"/> 61 54 </target> 62 55 <target name="install" depends="dist"> 56 <property environment="env"/> 57 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 58 <and> 59 <os family="windows"/> 60 </and> 61 </condition> 63 62 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 64 63 </target> -
applications/editors/josm/plugins/cadastre-fr/build.xml
r13785 r14003 1 1 <project name="cadastre-fr" 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"> 13 <include name="**/*.java" /> 12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 14 15 </javac> 15 16 </target> 16 17 <target name="dist" depends="compile"> 17 <target name="dist" depends="compile,revision"> 18 18 <copy todir="${plugin.build.dir}/images"> 19 19 <fileset dir="images"/> 20 20 </copy> 21 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 22 <manifest> 23 <attribute name="Author" value="Pieren"/> 24 <attribute name="Plugin-Class" value="cadastre_fr.CadastrePlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="A special handler for the french land registry WMS server."/> 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/FR:JOSM/Fr:Plugin/Cadastre"/> 28 <attribute name="Plugin-Mainversion" value="1465"/> 29 <attribute name="Plugin-Stage" value="60"/> 30 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 31 </manifest> 32 </jar> 33 </target> 34 <target name="revision"> 21 35 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 22 36 <env key="LANG" value="C"/> … … 26 40 </exec> 27 41 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 28 <delete file="REVISION"/> 29 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 30 <manifest> 31 <attribute name="Plugin-Class" value="cadastre_fr.CadastrePlugin"/> 32 <attribute name="Plugin-Description" value="A special handler for the french land registry WMS server"/> 33 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 34 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 35 <attribute name="Plugin-Stage" value="60"/> 36 <attribute name="Plugin-Mainversion" value="1280" /> 37 <attribute name="Author" value="Pieren <pieren3@gmail.com>"/> 38 </manifest> 39 </jar> 42 <delete file="REVISION"/> 40 43 </target> 41 44 <target name="clean"> 42 <delete dir="${plugin.build.dir}" /> 43 <delete file="${plugin.jar}" /> 45 <delete dir="${plugin.build.dir}"/> 46 <delete file="${plugin.jar}"/> 47 </target> 48 <target name="install" depends="dist"> 49 <property environment="env"/> 50 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 51 <and> 52 <os family="windows"/> 53 </and> 54 </condition> 55 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 44 56 </target> 45 57 </project> -
applications/editors/josm/plugins/colorscheme/build.xml
r12780 r14003 1 1 <project name="colorscheme" default="dist" basedir="."> 2 <!-- compilation properties --> 3 <property name="josm.build.dir" value="../../core"/> 4 <property name="josm.home.dir" value="${user.home}/.josm"/> 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 <property name="plugin.description" value="Allows the user to create different color schemes and to switch between them. Just change the colors and create a new scheme. Used to switch to a white background with matching colors for better visibility in bright sunlight. See dialog in JOSM's preferences and 'Map Settings' (strange but true :-) (V${plugin.version})."/> 11 <property name="plugin.class" value="at.dallermassl.josm.plugin.colorscheme.ColorSchemePlugin"/> 12 <!-- update site meta data --> 13 <property name="plugin.site.file" value="josm-site.xml"/> 14 <property name="plugin.site.description" value="Josm's ColorScheme Plugin Update Site"/> 15 <property name="plugin.site.url" value="http://www.tegmento.org/~cdaller/josm/colorscheme/"/> 16 <property name="plugin.site.upload.target" value="cdaller@www.tegmento.org:public_html/josm/colorscheme/"/> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 17 6 <property name="ant.build.javac.target" value="1.5"/> 18 <target name="dist" depends="compile, site"> 7 <target name="init"> 8 <mkdir dir="${plugin.build.dir}"/> 9 </target> 10 <target name="compile" depends="init"> 19 11 <echo message="creating ${plugin.jar}"/> 20 <!-- images --> 21 <!-- 22 <copy todir="${plugin.build.dir}/images"> 23 <fileset dir="src/images" /> 24 </copy> 25 --> 26 <!-- copy configuration xml files --> 12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 15 </javac> 16 </target> 17 <target name="dist" depends="compile,revision"> 27 18 <copy todir="${plugin.build.dir}"> 28 19 <fileset dir="src"> … … 30 21 </fileset> 31 22 </copy> 23 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 24 <manifest> 25 <attribute name="Author" value="Christof Dallermassl"/> 26 <attribute name="Plugin-Class" value="at.dallermassl.josm.plugin.colorscheme.ColorSchemePlugin" /> 27 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 28 <attribute name="Plugin-Description" value="Allows the user to create different color schemes and to switch between them. Just change the colors and create a new scheme. Used to switch to a white background with matching colors for better visibility in bright sunlight. See dialog in JOSM's preferences and 'Map Settings' (strange but true :-)" /> 29 <attribute name="Plugin-Mainversion" value="1180"/> 30 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 31 </manifest> 32 </jar> 33 </target> 34 <target name="revision"> 32 35 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 33 36 <env key="LANG" value="C"/> … … 38 41 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 39 42 <delete file="REVISION"/> 40 <!-- create jar file -->41 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">42 <manifest>43 <attribute name="Plugin-Class" value="${plugin.class}" />44 <attribute name="Plugin-Description" value="${plugin.description}" />45 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>46 <attribute name="Plugin-Mainversion" value="1180"/>47 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>48 </manifest>49 </jar>50 43 </target> 51 <target name="compile" depends="init"> 52 <mkdir dir="${plugin.build.dir}"/> 53 <javac srcdir="src" destdir="${plugin.build.dir}" debug="true" source="1.5" target="1.5"> 54 <classpath> 55 <pathelement path="${josm.build.dir}/build"/> 56 <fileset dir="${josm.build.dir}/lib"> 57 <include name="**/*.jar"/> 58 </fileset> 59 </classpath> 60 </javac> 44 <target name="clean"> 45 <delete dir="${plugin.build.dir}"/> 46 <delete file="${plugin.jar}"/> 61 47 </target> 62 48 <target name="install" depends="dist"> 63 <copy file="${plugin.jar}" todir="${josm.home.dir}/plugins" /> 64 </target> 65 <target name="init"> 66 <echo>java version: ${java.version}</echo> 67 </target> 68 <target name="clean"> 69 <delete dir="${plugin.site.file}" /> 70 <delete dir="${plugin.build.dir}" /> 71 <delete file="${plugin.jar}" /> 72 </target> 73 <!-- write site description for the given plugin so josm will accept it --> 74 <target name="site"> 75 <echo message="creating site description in ${plugin.site.file}"/> 76 <echo file="${plugin.site.file}"><!-- plugins available on this site --> 77 <plugins> 78 <plugin id="${ant.project.name}" version="${plugin.version}"> 79 <name>${ant.project.name}</name> 80 <description>${plugin.description}</description> 81 <resource>${plugin.site.url}${plugin.jar}</resource> 82 </plugin> 83 </plugins> 84 </echo> 85 </target> 86 <!-- write site description for the given plugin (not implemented in JOSM as full version yet!) --> 87 <target name="site-full-donotuse"> 88 <echo message="creating site description in ${plugin.site.file}"/> 89 <echo file="${plugin.site.file}"><?xml version="1.0"?> 90 <site version="1.0"> 91 <!-- meta data of site --> 92 <site-info> 93 <site-name>${plugin.site.description}</site-name> 94 <site-url>${plugin.site.url}</site-url> 95 </site-info> 96 97 <!-- plugins available on this site --> 98 <plugins> 99 <plugin id="${ant.project.name}" version="${plugin.version}"> 100 <name>${ant.project.name}</name> 101 <description>${plugin.description}</description> 102 <resources> 103 <resource src="${plugin.site.url}${plugin.jar}" 104 target="${josm.home.dir}/plugins/${plugin.jar}"/> 105 </resources> 106 </plugin> 107 </plugins> 108 </site> 109 </echo> 110 </target> 111 <!-- upload the site description and the jar file via ssh --> 112 <target name="upload" depends="dist,site"> 113 <echo message="uploading jar and site description to ${plugin.site.upload.target}"/> 114 <exec executable="scp"> 115 <arg value="${plugin.jar}"/> 116 <arg value="${plugin.site.file}"/> 117 <arg value="${plugin.site.upload.target}"/> 118 </exec> 49 <property environment="env"/> 50 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 51 <and> 52 <os family="windows"/> 53 </and> 54 </condition> 55 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 119 56 </target> 120 57 </project> -
applications/editors/josm/plugins/globalsat/build.xml
r12780 r14003 1 1 <project name="globalsat" default="dist" basedir="."> 2 <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) --> 3 <property environment="env"/> 4 <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm"> 5 <and> 6 <os family="windows"/> 7 </and> 8 </condition> 9 <!-- compilation properties --> 10 <property name="josm.build.dir" value="../../core"/> 11 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 12 <property name="josm" location="../../core/dist/josm-custom.jar" /> 13 <property name="RXTX" location="./libs/RXTXcomm.jar" /> 14 <property name="plugin.build.dir" value="build"/> 15 <property name="plugin.dist.dir" value="../../dist"/> 16 <property name="plugin.name" value="${ant.project.name}"/> 17 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 18 6 <property name="ant.build.javac.target" value="1.5"/> 19 <path id="classpath"> 20 <fileset id="RXTX" file="${RXTX}"/> 21 <fileset file="${josm}"/> 22 </path> 23 <target name="dist" depends="compile"> 24 <unjar dest="build"> 25 <fileset refid="RXTX" /> 26 </unjar> 27 <!-- images --> 28 <copy todir="build/images"> 29 <fileset dir="images" /> 7 <property name="RXTX" location="./libs/RXTXcomm.jar"/> 8 <target name="init"> 9 <mkdir dir="${plugin.build.dir}"/> 10 </target> 11 <target name="compile" depends="init"> 12 <echo message="creating ${plugin.jar}"/> 13 <javac srcdir="src" debug="false" destdir="${plugin.build.dir}"> 14 <compilerarg value="-Xlint:deprecation"/> 15 <compilerarg value="-Xlint:unchecked"/> 16 <classpath> 17 <pathelement location="${josm}"/> 18 <pathelement location="${RXTX}"/> 19 </classpath> 20 </javac> 21 </target> 22 <target name="dist" depends="compile,revision"> 23 <unjar dest="${plugin.build.dir}" src="${RXTX}"/> 24 <copy todir="${plugin.build.dir}/images"> 25 <fileset dir="images"/> 30 26 </copy> 27 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 28 <manifest> 29 <attribute name="Author" value="Raphael Mack"/> 30 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.globalsat.GlobalsatPlugin"/> 31 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 32 <attribute name="Plugin-Description" value="Download GPS points from Globalsat dg100 data logger directly in JOSM."/> 33 <attribute name="Plugin-Link" value="http://www.raphael-mack.de/josm-globalsat-gpx-import-plugin/"/> 34 <attribute name="Plugin-Mainversion" value="1465"/> 35 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 36 </manifest> 37 </jar> 38 </target> 39 <target name="revision"> 31 40 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 32 41 <env key="LANG" value="C"/> … … 37 46 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 38 47 <delete file="REVISION"/> 39 <jar destfile="${plugin.jar}" basedir="build">40 <manifest>41 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.globalsat.GlobalsatPlugin" />42 <attribute name="Plugin-Description" value="Provide a dialog to read stored tracks from a Globalsat DG100 datalogger into a GPX-layer. Depends on installed rxtx library." />43 <attribute name="Plugin-Author" value="ramack@raphael-mack.de" />44 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>45 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>46 <attribute name="Plugin-Mainversion" value="1180"/>47 </manifest>48 </jar>49 </target>50 <target name="compile" depends="init">51 <echo message="creating ${plugin.jar}"/>52 <javac srcdir="src" classpathref="classpath" destdir="build">53 <compilerarg value="-Xlint:deprecation"/>54 </javac>55 </target>56 <target name="init">57 <mkdir dir="${plugin.build.dir}" />58 48 </target> 59 49 <target name="clean"> 60 <delete dir="${plugin.build.dir}" 61 <delete file="${plugin.jar}" 50 <delete dir="${plugin.build.dir}"/> 51 <delete file="${plugin.jar}"/> 62 52 </target> 63 53 <target name="install" depends="dist"> 54 <property environment="env"/> 55 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 56 <and> 57 <os family="windows"/> 58 </and> 59 </condition> 64 60 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 65 61 </target> -
applications/editors/josm/plugins/imagewaypoint/build.xml
r12780 r14003 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 <target name="dist" depends="compile"> 11 <copy todir="build/images"> 12 <fileset dir="images" /> 1 <project name="ImageWayPoint" default="dist" basedir="."> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 6 <property name="ant.build.javac.target" value="1.5"/> 7 <target name="init"> 8 <mkdir dir="${plugin.build.dir}"/> 9 </target> 10 <target name="compile" depends="init"> 11 <echo message="creating ${plugin.jar}"/> 12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 15 </javac> 16 </target> 17 <target name="dist" depends="compile,revision"> 18 <copy todir="${plugin.build.dir}/images"> 19 <fileset dir="images"/> 13 20 </copy> 21 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 22 <manifest> 23 <attribute name="Author" value="Flint"/> 24 <attribute name="Plugin-Class" value="org.insignificant.josm.plugins.imagewaypoint.ImageWayPointPlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="Another plugin to match images to the waypoints in a GPX file. A match is made when the 'name', 'cmt' or 'desc' attribute of a waypoint tag matches the filename of an image."/> 27 <attribute name="Plugin-Early" value="false"/> 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"> 14 34 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 15 35 <env key="LANG" value="C"/> … … 20 40 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 21 41 <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 42 </target> 45 43 <target name="clean"> 46 <delete dir="build" /> 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}"/> 47 55 </target> 48 56 </project> -
applications/editors/josm/plugins/lakewalker/build.xml
r12780 r14003 1 1 <project name="lakewalker" default="dist" basedir="."> 2 <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) --> 3 <property environment="env"/> 4 <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm"> 5 <and> 6 <os family="windows"/> 7 </and> 8 </condition> 9 <!-- compilation properties --> 10 <property name="josm.build.dir" value="../../core"/> 11 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 12 <property name="josm" location="../../core/dist/josm-custom.jar" /> 13 <property name="plugin.build.dir" value="build"/> 14 <property name="plugin.dist.dir" value="../../dist"/> 15 <property name="plugin.name" value="${ant.project.name}"/> 16 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 17 <property name="josm" location="../../core/dist/josm-custom.jar" /> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 18 6 <property name="ant.build.javac.target" value="1.5"/> 19 7 <target name="init"> … … 22 10 <target name="compile" depends="init"> 23 11 <echo message="creating ${plugin.jar}"/> 24 < mkdir dir="build"></mkdir>25 <javac srcdir="src" classpath="${josm}" destdir="build" debug="true">26 < include name="**/*.java"/>12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 27 15 </javac> 28 <mkdir dir="build/images"></mkdir> 29 <copy todir="build"> 30 <fileset dir="${plugin.build.dir}" casesensitive="yes"> 31 <filename name="**/*.class"/> 32 </fileset> 16 </target> 17 <target name="dist" depends="compile,revision"> 18 <copy todir="${plugin.build.dir}/images"> 19 <fileset dir="images"/> 33 20 </copy> 34 <copy todir="build/images"> 35 <fileset dir="images" casesensitive="yes"> 36 <filename name="**/*.png"/> 37 </fileset> 38 </copy> 21 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 22 <manifest> 23 <attribute name="Author" value="Brent Easton, Jason Reid"/> 24 <attribute name="Main-Class" value="org.openstreetmap.josm.plugins.lakewalker.LakewalkerApp"/> 25 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.lakewalker.LakewalkerPlugin" /> 26 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 27 <attribute name="Plugin-Description" value="Helps vectorizing WMS images." /> 28 <attribute name="Plugin-Mainversion" value="1465"/> 29 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 30 </manifest> 31 </jar> 39 32 </target> 40 <target name=" dist" depends="compile">33 <target name="revision"> 41 34 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 42 35 <env key="LANG" value="C"/> … … 47 40 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 48 41 <delete file="REVISION"/> 49 <jar destfile="${plugin.jar}" basedir="build">50 <manifest>51 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.lakewalker.LakewalkerPlugin" />52 <attribute name="Plugin-Description" value="Interface to Lakewalker module" />53 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>54 <attribute name="Plugin-Mainversion" value="1180"/>55 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>56 <attribute name="Author" value="Brent Easton <b.easton@uws.edu.au>, Jason Reid <jrreid@ucalgary.ca>"/>57 <attribute name="Main-Class" value="org.openstreetmap.josm.plugins.lakewalker.LakewalkerApp"/>58 </manifest>59 </jar>60 42 </target> 61 43 <target name="clean"> 62 <delete dir="${plugin.build.dir}" 63 <delete file="${plugin.jar}" 44 <delete dir="${plugin.build.dir}"/> 45 <delete file="${plugin.jar}"/> 64 46 </target> 65 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> 66 54 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 67 <mkdir dir="${josm.plugins.dir}/Lakewalker/IR1"></mkdir>68 <mkdir dir="${josm.plugins.dir}/Lakewalker/IR2"></mkdir>69 <mkdir dir="${josm.plugins.dir}/Lakewalker/IR3"></mkdir>70 55 </target> 71 56 </project> -
applications/editors/josm/plugins/livegps/build.xml
r12780 r14003 1 1 <project name="livegps" default="dist" basedir="."> 2 <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) --> 3 <property environment="env"/> 4 <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm"> 5 <and> 6 <os family="windows"/> 7 </and> 8 </condition> 9 <!-- compilation properties --> 10 <!--<property name="josm.build.dir" value="../../JOSM/"/> --> 11 <property name="josm.build.dir" value="../../core/"/> 12 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 13 <property name="josm" location="../../core/dist/josm-custom.jar" /> 14 <property name="plugin.build.dir" value="build"/> 15 <property name="plugin.dist.dir" value="../../dist"/> 16 <property name="plugin.name" value="${ant.project.name}"/> 17 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 18 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 19 <property name="livegpsplugin.jar" value="${josm.home.dir}/plugins/livegps.jar"/> 20 <!-- plugin meta data (enter new version number if anything changed!) --> 21 <property name="plugin.description" value="Allow live GPS feed from a gpsd server (V${plugin.version})."/> 22 <property name="plugin.stage" value="50"/> 23 <property name="plugin.class" value="livegps.LiveGpsPlugin"/> 24 <!-- update site meta data --> 25 <property name="plugin.site.file" value="josm-site.xml"/> 26 <property name="plugin.site.description" value="Josm's LiveGps Update Site"/> 27 <property name="plugin.site.url" value="http://www.tegmento.org/~cdaller/josm/livegps/"/> 28 <property name="plugin.site.upload.target" value="cdaller@www.tegmento.org:public_html/josm/livegps/"/> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 29 6 <property name="ant.build.javac.target" value="1.5"/> 30 7 <target name="init"> 31 8 <mkdir dir="${plugin.build.dir}"/> 32 9 </target> 33 <target name="dist" depends="compile"> 34 <!-- images --> 10 <target name="compile" depends="init"> 11 <echo message="creating ${plugin.jar}"/> 12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 15 </javac> 16 </target> 17 <target name="dist" depends="compile,revision"> 35 18 <copy todir="${plugin.build.dir}/images"> 36 <fileset dir="images" 19 <fileset dir="images"/> 37 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="livegps.LiveGpsPlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="Support live GPS input (moving dot) through a connection to gpsd server."/> 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/LiveGPS"/> 28 <attribute name="Plugin-Mainversion" value="1465"/> 29 <attribute name="Plugin-Stage" value="50"/> 30 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 31 </manifest> 32 </jar> 33 </target> 34 <target name="revision"> 38 35 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 39 36 <env key="LANG" value="C"/> … … 44 41 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 45 42 <delete file="REVISION"/> 46 <!-- create jar file -->47 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">48 <manifest>49 <attribute name="Plugin-Class" value="${plugin.class}" />50 <attribute name="Plugin-Description" value="${plugin.description}" />51 <attribute name="Plugin-Mainversion" value="1180" />52 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>53 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>54 <!--attribute name="Plugin-Dependencies" value="org.eigenheimstrasse.josm" /-->55 <attribute name="Plugin-Stage" value="${plugin.stage}" />56 </manifest>57 </jar>58 43 </target> 59 <target name="compile" depends="init"> 60 <javac srcdir="livegps" destdir="${plugin.build.dir}" debug="true" source="1.5" target="1.5"> 61 <compilerarg value="-Xlint:deprecation"/> 62 <classpath> 63 <pathelement path="${josm.build.dir}/build"/> 64 <fileset dir="${josm.build.dir}/lib"> 65 <include name="../core/build/josm.jar"/> 66 <include name="**/*.jar"/> 67 </fileset> 68 <pathelement location="${plugin.jar}"/> 69 </classpath> 70 </javac> 44 <target name="clean"> 45 <delete dir="${plugin.build.dir}"/> 46 <delete file="${plugin.jar}"/> 71 47 </target> 72 48 <target name="install" depends="dist"> 49 <property environment="env"/> 50 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 51 <and> 52 <os family="windows"/> 53 </and> 54 </condition> 73 55 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 74 <copy file="liveGPS.conf" todir="${josm.plugins.dir}/livegps/" />75 </target>76 <target name="clean">77 <delete dir="${plugin.build.dir}" />78 <delete file="${plugin.jar}" />79 56 </target> 80 57 </project> -
applications/editors/josm/plugins/measurement/build.xml
r12780 r14003 1 1 <project name="measurement" default="dist" basedir="."> 2 <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) --> 3 <property environment="env"/> 4 <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm"> 5 <and> 6 <os family="windows"/> 7 </and> 8 </condition> 9 <!-- compilation properties --> 10 <property name="josm.build.dir" value="../../core"/> 11 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 12 <property name="josm" location="../../core/dist/josm-custom.jar" /> 13 <property name="plugin.build.dir" value="build"/> 14 <property name="plugin.dist.dir" value="../../dist"/> 15 <property name="plugin.name" value="${ant.project.name}"/> 16 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 17 6 <property name="ant.build.javac.target" value="1.5"/> 18 <target name="dist" depends="compile"> 19 <!-- images --> 20 <copy todir="build/images"> 21 <fileset dir="images" /> 7 <target name="init"> 8 <mkdir dir="${plugin.build.dir}"/> 9 </target> 10 <target name="compile" depends="init"> 11 <echo message="creating ${plugin.jar}"/> 12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 15 </javac> 16 </target> 17 <target name="dist" depends="compile,revision"> 18 <copy todir="${plugin.build.dir}/images"> 19 <fileset dir="images"/> 22 20 </copy> 21 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 22 <manifest> 23 <attribute name="Author" value="Raphael Mack, Reza Mohammadi"/> 24 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.measurement.MeasurementPlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="Provide a measurement dialog and a layer to measure length and angle of segments, area surrounded by a (simple) closed way and create measurement paths (which also can be imported from a gps layer)."/> 27 <attribute name="Plugin-Mainversion" value="1465"/> 28 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 29 </manifest> 30 </jar> 31 </target> 32 <target name="revision"> 23 33 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 24 34 <env key="LANG" value="C"/> … … 29 39 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 30 40 <delete file="REVISION"/> 31 <jar destfile="${plugin.jar}" basedir="build">32 <manifest>33 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.measurement.MeasurementPlugin" />34 <attribute name="Plugin-Description" value="Provide a measurement dialog and a layer to measure length and angle of segments and create measurement paths (which also can be imported from a gps layer)" />35 <attribute name="Plugin-Author" value="mail@raphael-mack.de" />36 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>37 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>38 <attribute name="Plugin-Mainversion" value="1180" />39 </manifest>40 </jar>41 </target>42 <target name="compile" depends="init">43 <echo message="creating ${plugin.jar}"/>44 <javac srcdir="src" classpath="${josm}" destdir="build">45 <compilerarg value="-Xlint:deprecation"/>46 </javac>47 </target>48 <target name="init">49 <mkdir dir="${plugin.build.dir}" />50 41 </target> 51 42 <target name="clean"> 52 <delete dir="${plugin.build.dir}" 53 <delete file="${plugin.jar}" 43 <delete dir="${plugin.build.dir}"/> 44 <delete file="${plugin.jar}"/> 54 45 </target> 55 46 <target name="install" depends="dist"> 47 <property environment="env"/> 48 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 49 <and> 50 <os family="windows"/> 51 </and> 52 </condition> 56 53 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 57 54 </target> -
applications/editors/josm/plugins/nearclick/build.xml
r12781 r14003 1 1 <project name="nearclick" default="dist" basedir="."> 2 <!-- compilation properties --> 3 <property name="josm.build.dir" value="../../core"/> 4 <property name="josm.home.dir" value="${user.home}/.josm"/> 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 <!-- There's no josm.jar in the svn, so point "josm" to a local copy of your JOSM binary --> 11 <property name="josm" location="../../core/dist/josm-custom.jar" /> 12 <!-- target directory to place the plugin in --> 13 <!-- Windows has a different home directory scheme then unix/linux --> 14 <!-- I don't know an automatic way to find it with ant :-(, if you know, please fix --> 15 <!--<property name="plugins" location="${user.home}/.josm/plugins" ></property>--> 16 <property name="plugins" location="${user.home}/Application Data/JOSM/plugins" ></property> 17 <!-- you should not need to modify anything below this! --> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 18 6 <property name="ant.build.javac.target" value="1.5"/> 19 7 <target name="init"> 20 <mkdir dir=" build"></mkdir>8 <mkdir dir="${plugin.build.dir}"/> 21 9 </target> 22 10 <target name="compile" depends="init"> 23 11 <echo message="creating ${plugin.jar}"/> 24 <javac srcdir="src" target="1.5" classpath="${josm}" destdir="build" debug="true"> 25 <include name="**/*.java" /> 12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 26 15 </javac> 27 16 </target> 28 <target name="dist" depends="compile"> 29 <!-- define the version of the jar file --> 17 <target name="dist" depends="compile,revision"> 18 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 19 <manifest> 20 <attribute name="Author" value="Imi, David Earl"/> 21 <attribute name="Plugin-Class" value="nearclick.NearClickPlugin"/> 22 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 23 <attribute name="Plugin-Description" value="Simulates a click when you do a small and short drag. This is usefull for tablet pens, when you have problems just clicking the tablet without the mouse moving (general Java - tablet problem)."/> 24 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Nearclick"/> 25 <attribute name="Plugin-Mainversion" value="1465"/> 26 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 27 </manifest> 28 </jar> 29 </target> 30 <target name="revision"> 30 31 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 31 32 <env key="LANG" value="C"/> … … 35 36 </exec> 36 37 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 37 <!-- delete intermediate file -->38 38 <delete file="REVISION"/> 39 <jar destfile="${plugin.jar}" basedir="build">40 <manifest>41 <attribute name="Plugin-Class" value="nearclick.NearClickPlugin" />42 <attribute name="Plugin-Description" value="Simulates a click when you do a small and short drag. This is usefull for tablet pens, when you have problems just clicking the tablet without the mouse moving (general Java - tablet problem)." />43 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>44 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>45 <attribute name="Plugin-Mainversion" value="1180" />46 </manifest>47 </jar>48 39 </target> 49 40 <target name="clean"> 50 <delete dir="${plugin.build.dir}" /> 51 <delete file="${plugin.jar}" /> 52 </target> 53 <target name="clean_install"> 54 <delete file="${plugins}/nearclick.jar" /> 41 <delete dir="${plugin.build.dir}"/> 42 <delete file="${plugin.jar}"/> 55 43 </target> 56 44 <target name="install" depends="dist"> 57 <copy file="${plugin.jar}" todir="${plugins}"/> 45 <property environment="env"/> 46 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 47 <and> 48 <os family="windows"/> 49 </and> 50 </condition> 51 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 58 52 </target> 59 53 </project> -
applications/editors/josm/plugins/openstreetbugs/build.xml
r12780 r14003 1 1 <project name="openstreetbugs" default="dist" basedir="."> 2 <!-- the path to JOSM source code (project directory) --> 3 <property name="josm.base.dir" value="../../core" /> 4 <property name="josm.dist.dir" value="../../dist" /> 5 <!--a osm file, which will be loaded, when running the test target --> 6 <property name="osmfile" value="/tmp/hoe.osm" /> 7 <!-- compilation properties --> 8 <property name="josm.build.dir" value="${josm.base.dir}/build" /> 9 <property name="josm.home.dir" value="${user.home}/.josm" /> 10 <property name="josm" location="${josm.base.dir}/dist/josm-custom.jar" /> 11 <property name="lib.dir" value="lib" /> 12 <property name="plugin.build.dir" value="build" /> 13 <property name="plugin.name" value="${ant.project.name}" /> 14 <property name="plugin.jar" value="${plugin.build.dir}/${plugin.name}.jar" /> 15 <property name="ant.build.javac.target" value="1.5" /> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 6 <property name="ant.build.javac.target" value="1.5"/> 16 7 <target name="init"> 17 <mkdir dir="${plugin.build.dir}" 8 <mkdir dir="${plugin.build.dir}"/> 18 9 </target> 19 10 <target name="compile" depends="init"> 20 <echo message="creating ${plugin.jar}" /> 21 <javac srcdir="src" classpath="${josm}" destdir="${plugin.build.dir}" debug="true"> 22 <include name="**/*.java" /> 11 <echo message="creating ${plugin.jar}"/> 12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 23 15 </javac> 24 16 </target> 25 <target name="dist" depends="clean, compile"> 26 <!-- copy images to jar --> 17 <target name="dist" depends="compile,revision"> 27 18 <copy todir="${plugin.build.dir}/images"> 28 <fileset dir="images" 19 <fileset dir="images"/> 29 20 </copy> 21 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 22 <manifest> 23 <attribute name="Author" value="Henrik Niehaus"/> 24 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.osb.OsbPlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs"/> 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/OpenStreetBugs"/> 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"> 30 34 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 31 35 <env key="LANG" value="C"/> … … 36 40 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 37 41 <delete file="REVISION"/> 38 <!-- create the jar file -->39 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">40 <manifest>41 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.osb.OsbPlugin" />42 <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs" />43 <attribute name="Plugin-Date" value="${version.entry.commit.date}" />44 <attribute name="Plugin-Version" value="${version.entry.commit.revision}" />45 <attribute name="Plugin-Mainversion" value="1180"/>46 <attribute name="Author" value="Henrik Niehaus" />47 </manifest>48 </jar>49 <copy todir="${josm.dist.dir}" file="${plugin.jar}" />50 42 </target> 51 <!-- clean target -->52 43 <target name="clean"> 53 <delete dir="build" /> 44 <delete dir="${plugin.build.dir}"/> 45 <delete file="${plugin.jar}"/> 54 46 </target> 55 47 <target name="install" depends="dist"> 56 <condition property="isWindows"> 57 <os family="windows" /> 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> 58 53 </condition> 59 <condition property="isUnix"> 60 <os family="unix" /> 61 </condition> 62 <antcall target="install_win" /> 63 <antcall target="install_linux" /> 64 </target> 65 <target name="install_win" if="isWindows"> 66 <property environment="env"/> 67 <copy file="${plugin.jar}" todir="${env.APPDATA}/JOSM/plugins" /> 68 </target> 69 <target name="install_linux" if="isUnix"> 70 <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins" /> 71 </target> 72 <target name="test" depends="install"> 73 <java jar="${josm}" fork="true"> 74 <arg value="${osmfile}" /> 75 <jvmarg value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" /> 76 </java> 54 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 77 55 </target> 78 56 </project> -
applications/editors/josm/plugins/openvisible/build.xml
r12780 r14003 1 1 <project name="openvisible" default="dist" basedir="."> 2 <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) --> 3 <property environment="env"/> 4 <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm"> 5 <and> 6 <os family="windows"/> 7 </and> 8 </condition> 9 <!-- compilation properties --> 10 <property name="josm.build.dir" value="../../core"/> 11 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 12 <property name="plugin.build.dir" value="build"/> 13 <property name="plugin.dist.dir" value="../../dist"/> 14 <property name="plugin.name" value="${ant.project.name}"/> 15 <property name="plugin.jar" value="${plugin.name}.jar"/> 16 <property name="plugin.description" value="Allows opening gpx/osm files that intersect the currently visible screen area (V${plugin.version})."/> 17 <property name="plugin.stage" value="50"/> 18 <property name="plugin.class" value="at.dallermassl.josm.plugin.openvisible.OpenVisiblePlugin"/> 19 <!-- update site meta data --> 20 <property name="plugin.site.file" value="josm-site.xml"/> 21 <property name="plugin.site.description" value="Josm's OpenVisible Update Site"/> 22 <property name="plugin.site.url" value="http://www.tegmento.org/~cdaller/josm/${ant.project.name}/"/> 23 <property name="plugin.site.upload.target" value="cdaller@www.tegmento.org:public_html/josm/${ant.project.name}/"/> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 24 6 <property name="ant.build.javac.target" value="1.5"/> 25 <target name="dist" depends="compile,site"> 26 <!-- images --> 7 <target name="init"> 8 <mkdir dir="${plugin.build.dir}"/> 9 </target> 10 <target name="compile" depends="init"> 11 <echo message="creating ${plugin.jar}"/> 12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 15 </javac> 16 </target> 17 <target name="dist" depends="compile,revision"> 27 18 <copy todir="${plugin.build.dir}/images"> 28 <fileset dir="images" 19 <fileset dir="images"/> 29 20 </copy> 30 <!-- copy configuration xml files 31 <copy todir="${plugin.build.dir}"> 32 <fileset dir="src"> 33 <include name="*.xml"/> 34 </fileset> 35 </copy> 36 --> 37 <mkdir dir="${plugin.dist.dir}"/> 21 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 22 <manifest> 23 <attribute name="Author" value="Christof Dallermassl"/> 24 <attribute name="Plugin-Class" value="at.dallermassl.josm.plugin.openvisible.OpenVisiblePlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Dependencies" value="jgrapht-jdk1.5"/> 27 <attribute name="Plugin-Description" value="Allows opening gpx/osm files that intersect the currently visible screen area"/> 28 <attribute name="Plugin-Mainversion" value="1465"/> 29 <attribute name="Plugin-Stage" value="50"/> 30 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 31 </manifest> 32 </jar> 33 </target> 34 <target name="revision"> 38 35 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 39 36 <env key="LANG" value="C"/> … … 44 41 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 45 42 <delete file="REVISION"/> 46 <!-- create jar file -->47 <jar destfile="${plugin.dist.dir}/${plugin.jar}" basedir="${plugin.build.dir}">48 <manifest>49 <attribute name="Plugin-Class" value="${plugin.class}" />50 <attribute name="Plugin-Description" value="${plugin.description}" />51 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>52 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>53 <attribute name="Plugin-Mainversion" value="1180" />54 <attribute name="Plugin-Dependencies" value="jgrapht-jdk1.5" />55 <attribute name="Plugin-Stage" value="${plugin.stage}" />56 </manifest>57 </jar>58 43 </target> 59 <target name="compile" depends="init"> 60 <echo message="creating ${plugin.jar}"/> 61 <mkdir dir="${plugin.build.dir}"/> 62 <javac srcdir="src" destdir="${plugin.build.dir}" debug="true" source="1.5" target="1.5"> 63 <classpath> 64 <pathelement path="${josm.build.dir}/build"/> 65 <fileset dir="${josm.build.dir}/lib"> 66 <include name="**/*.jar"/> 67 </fileset> 68 <!-- 69 <fileset dir="lib"> 70 <include name="**/*.jar"/> 71 </fileset> 72 --> 73 </classpath> 74 </javac> 44 <target name="clean"> 45 <delete dir="${plugin.build.dir}"/> 46 <delete file="${plugin.jar}"/> 75 47 </target> 76 48 <target name="install" depends="dist"> 77 <copy file="${plugin.dist.dir}/${plugin.jar}" todir="${josm.plugins.dir}"/> 78 <!-- 79 <copy todir="${josm.home.dir}/plugins"> 80 <fileset dir="lib"> 81 <include name="**/*.jar"/> 82 </fileset> 83 </copy> 84 --> 85 </target> 86 <target name="init"> 87 <echo>java version: ${java.version}</echo> 88 </target> 89 <!-- write site description for the given plugin so josm will accept it --> 90 <target name="site"> 91 <echo message="creating site description in ${plugin.site.file}"/> 92 <echo file="${plugin.site.file}"><!-- plugins available on this site --> 93 <plugins> 94 <plugin id="${ant.project.name}" version="${plugin.version}"> 95 <name>${ant.project.name}</name> 96 <description>${plugin.description}</description> 97 <resource>${plugin.site.url}${plugin.jar}</resource> 98 </plugin> 99 </plugins> 100 </echo> 101 </target> 102 <!-- write site description for the given plugin (not implemented in JOSM as full version yet!) --> 103 <target name="site-full-donotuse"> 104 <echo message="creating site description in ${plugin.site.file}"/> 105 <echo file="${plugin.site.file}"><?xml version="1.0"?> 106 <site version="1.0"> 107 <!-- meta data of site --> 108 <site-info> 109 <site-name>${plugin.site.description}</site-name> 110 <site-url>${plugin.site.url}</site-url> 111 </site-info> 112 113 <!-- plugins available on this site --> 114 <plugins> 115 <plugin id="${ant.project.name}" version="${plugin.version}"> 116 <name>${ant.project.name}</name> 117 <description>${plugin.description}</description> 118 <resources> 119 <resource src="${plugin.site.url}${plugin.jar}" 120 target="${josm.home.dir}/plugins/${plugin.jar}"/> 121 </resources> 122 </plugin> 123 </plugins> 124 </site> 125 </echo> 126 </target> 127 <!-- upload the site description and the jar file via ssh --> 128 <target name="upload" depends="dist,site"> 129 <echo message="uploading jar and site description to ${plugin.site.upload.target}"/> 130 <exec executable="scp"> 131 <arg value="${plugin.dist.dir}/${plugin.jar}"/> 132 <arg value="${plugin.site.file}"/> 133 <arg value="${plugin.site.upload.target}"/> 134 </exec> 135 </target> 136 <target name="clean"> 137 <delete dir="${plugin.build.dir}" /> 138 <delete dir="${plugin.site.file}" /> 139 <delete file="${plugin.dist.dir}/${plugin.jar}" /> 49 <property environment="env"/> 50 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 51 <and> 52 <os family="windows"/> 53 </and> 54 </condition> 55 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 140 56 </target> 141 57 </project> -
applications/editors/josm/plugins/osmarender/build.xml
r12780 r14003 1 1 <project name="osmarender" default="install" basedir="."> 2 <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) --> 3 <property environment="env"/> 4 <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm"> 5 <and> 6 <os family="windows"/> 7 </and> 8 </condition> 9 <!-- compilation properties --> 10 <property name="josm.build.dir" value="../../core"/> 11 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 12 <property name="josm" location="../../core/dist/josm-custom.jar" /> 13 <property name="plugin.build.dir" value="build"/> 14 <property name="plugin.dist.dir" value="../../dist"/> 15 <property name="plugin.name" value="${ant.project.name}"/> 16 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 17 <property name="josm" location="../../core/dist/josm-custom.jar" /> 18 <property name="stylesheets" location="./stylesheets" /> 19 <property name="xslt" location="./xslt" /> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 20 6 <property name="ant.build.javac.target" value="1.5"/> 21 <target name="compile"> 7 <property name="stylesheets" location="./stylesheets"/> 8 <property name="xslt" location="./xslt"/> 9 <target name="init"> 10 <mkdir dir="${plugin.build.dir}"/> 11 </target> 12 <target name="compile" depends="init"> 22 13 <echo message="creating ${plugin.jar}"/> 23 <mkdir dir="${plugin.build.dir}"></mkdir> 24 <mkdir dir="${plugin.dist.dir}"></mkdir> 25 <javac srcdir="src" debug="true" classpath="${josm}" destdir="${plugin.build.dir}"> 26 <include name="**/*.java" /> 14 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 15 <compilerarg value="-Xlint:deprecation"/> 16 <compilerarg value="-Xlint:unchecked"/> 27 17 </javac> 28 18 </target> 29 <target name="dist" depends="compile">19 <target name="dist" depends="compile,revision"> 30 20 <copy todir="${plugin.build.dir}" file="${xslt}/osmarender.xsl"/> 31 <copy tofile="${plugin.build.dir}/osm-map-features.xml" 32 file="${stylesheets}/osm-map-features-z17.xml"/> 33 <exec append="false" output="REVISION" executable="perl" failifexecutionfails="false"> 21 <copy tofile="${plugin.build.dir}/osm-map-features.xml" file="${stylesheets}/osm-map-features-z17.xml"/> 22 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 23 <manifest> 24 <attribute name="Author" value="80n"/> 25 <attribute name="Plugin-Class" value="OsmarenderPlugin"/> 26 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 27 <attribute name="Plugin-Description" value="Launches FireFox to display the current visible screen as a nice SVG image."/> 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"> 34 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 34 35 <env key="LANG" value="C"/> 35 <arg value=" ../getrevision.pl"/>36 <arg value=" xslt"/>37 <arg value=" stylesheets"/>36 <arg value="info"/> 37 <arg value="--xml"/> 38 <arg value="."/> 38 39 </exec> 39 40 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 40 41 <delete file="REVISION"/> 41 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">42 <manifest>43 <attribute name="Plugin-Class" value="OsmarenderPlugin" />44 <attribute name="Plugin-Description" value="Launches FireFox to display the current visible screen as a nice SVG image" />45 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>46 <attribute name="Plugin-Mainversion" value="1180"/>47 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>48 </manifest>49 </jar>50 42 </target> 51 43 <target name="clean"> 52 <delete dir="${plugin.build.dir}" 53 <delete file="${plugin.jar}" 44 <delete dir="${plugin.build.dir}"/> 45 <delete file="${plugin.jar}"/> 54 46 </target> 55 <target name="install" depends="compile,dist"> 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> 56 54 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 57 55 </target> -
applications/editors/josm/plugins/plastic_laf/build.xml
r12781 r14003 1 1 <project name="plastic_laf" default="dist" basedir="."> 2 <!-- compilation properties --> 3 <property name="josm.build.dir" value="../../core"/> 4 <property name="josm.home.dir" value="${user.home}/.josm"/> 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"/> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 10 6 <property name="ant.build.javac.target" value="1.5"/> 11 <target name="dist"> 7 <target name="init"> 8 <mkdir dir="${plugin.build.dir}"/> 9 </target> 10 <target name="compile" depends="init"> 12 11 <echo message="creating ${plugin.jar}"/> 13 < unjar dest="${plugin.build.dir}" src="lib/looks-2.0.4.jar" />14 <javac srcdir="src" destdir="${plugin.build.dir}">15 < include name="**/*.java"/>12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 16 15 </javac> 17 <!-- define the version of the jar file --> 16 </target> 17 <target name="dist" depends="compile,revision"> 18 <unjar dest="${plugin.build.dir}" src="lib/looks-2.2.1.jar"/> 19 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 20 <manifest> 21 <attribute name="Author" value="Imi"/> 22 <attribute name="Plugin-Class" value="plastic_laf.Plugin"/> 23 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 24 <attribute name="Plugin-Description" value="The great JGoodies Plastic Look and Feel."/> 25 <attribute name="Plugin-Early" value="true"/> 26 <attribute name="Plugin-Link" value="http://www.jgoodies.com/"/> 27 <attribute name="Plugin-Mainversion" value="1465"/> 28 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 29 </manifest> 30 </jar> 31 </target> 32 <target name="revision"> 18 33 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 19 34 <env key="LANG" value="C"/> … … 23 38 </exec> 24 39 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 25 <!-- delete intermediate file -->26 40 <delete file="REVISION"/> 27 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">28 <manifest>29 <attribute name="Plugin-Class" value="plastic_laf.Plugin" />30 <attribute name="Plugin-Description" value="The great JGoodies Plastic Look and Feel" />31 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>32 <attribute name="Plugin-Early" value="true" />33 <attribute name="Plugin-Mainversion" value="1180" />34 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>35 </manifest>36 </jar>37 41 </target> 38 42 <target name="clean"> 39 <delete dir="${plugin.build.dir}" /> 40 <delete file="${plugin.jar}" /> 43 <delete dir="${plugin.build.dir}"/> 44 <delete file="${plugin.jar}"/> 45 </target> 46 <target name="install" depends="dist"> 47 <property environment="env"/> 48 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 49 <and> 50 <os family="windows"/> 51 </and> 52 </condition> 53 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 41 54 </target> 42 55 </project> -
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> -
applications/editors/josm/plugins/slippymap/build.xml
r12780 r14003 1 1 <project name="slippymap" default="dist" basedir="."> 2 <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) --> 3 <property environment="env"/> 4 <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm"> 5 <and> 6 <os family="windows"/> 7 </and> 8 </condition> 9 <!-- compilation properties --> 10 <property name="josm.build.dir" value="../../core"/> 11 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 12 <property name="josm" location="../../core/dist/josm-custom.jar" /> 13 <property name="plugin.build.dir" value="build"/> 14 <property name="plugin.dist.dir" value="../../dist"/> 15 <property name="plugin.name" value="${ant.project.name}"/> 16 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 17 6 <property name="ant.build.javac.target" value="1.5"/> 18 <target name="dist" depends="compile"> 19 <!-- images --> 20 <copy todir="build/images"> 21 <fileset dir="images" /> 7 <target name="init"> 8 <mkdir dir="${plugin.build.dir}"/> 9 </target> 10 <target name="compile" depends="init"> 11 <echo message="creating ${plugin.jar}"/> 12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 15 </javac> 16 </target> 17 <target name="dist" depends="compile,revision"> 18 <copy todir="${plugin.build.dir}/images"> 19 <fileset dir="images"/> 22 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.slippymap.SlippyMapPlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="Displays a slippy map grid in JOSM. Can load tiles from slippy map as background and request updates."/> 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/SlippyMap"/> 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"> 23 34 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 24 35 <env key="LANG" value="C"/> … … 29 40 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 30 41 <delete file="REVISION"/> 31 <!-- create josm-custom.jar -->32 <jar destfile="${plugin.jar}" basedir="build">33 <manifest>34 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.slippymap.SlippyMapPlugin" />35 <attribute name="Plugin-Description" value="Displays a slippy map tile grid, and tile status info" />36 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>37 <attribute name="Plugin-Mainversion" value="1180"/>38 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>39 </manifest>40 </jar>41 </target>42 <target name="compile" depends="init">43 <echo message="creating ${plugin.jar}"/>44 <javac srcdir="src" classpath="../../core/dist/josm-custom.jar" destdir="build">45 <compilerarg value="-Xlint:deprecation"/>46 </javac>47 </target>48 <target name="init">49 <mkdir dir="${plugin.build.dir}" />50 42 </target> 51 43 <target name="clean"> 52 <delete dir="${plugin.build.dir}" 53 <delete file="${plugin.jar}" 44 <delete dir="${plugin.build.dir}"/> 45 <delete file="${plugin.jar}"/> 54 46 </target> 55 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> 56 54 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 57 55 </target> -
applications/editors/josm/plugins/surveyor/build.xml
r13332 r14003 1 1 <project name="surveyor" 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"/> … … 11 11 <target name="compile" depends="init"> 12 12 <echo message="creating ${plugin.jar}"/> 13 <javac srcdir="src" de stdir="${plugin.build.dir}" debug="true">13 <javac srcdir="src" debug="false" destdir="${plugin.build.dir}"> 14 14 <compilerarg value="-Xlint:deprecation"/> 15 15 <compilerarg value="-Xlint:unchecked"/> … … 20 20 </javac> 21 21 </target> 22 <target name="dist" depends="compile"> 22 <target name="dist" depends="compile,revision"> 23 <copy todir="${plugin.build.dir}/"> 24 <fileset dir="resources"> 25 <include name="*.xml"/> 26 <include name="audio/*"/> 27 </fileset> 28 </copy> 29 <copy todir="${plugin.build.dir}/images"> 30 <fileset dir="images"/> 31 </copy> 32 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 33 <manifest> 34 <attribute name="Author" value="Christof Dallermassl"/> 35 <attribute name="Plugin-Class" value="at.dallermassl.josm.plugin.surveyor.SurveyorPlugin"/> 36 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 37 <attribute name="Plugin-Description" value="Allow adding markers/nodes on current gps positions."/> 38 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Surveyor"/> 39 <attribute name="Plugin-Mainversion" value="1326"/> 40 <attribute name="Plugin-Requires" value="livegps"/> 41 <attribute name="Plugin-Stage" value="60"/> 42 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 43 </manifest> 44 </jar> 45 </target> 46 <target name="revision"> 23 47 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 24 48 <env key="LANG" value="C"/> … … 29 53 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 30 54 <delete file="REVISION"/> 31 <copy todir="${plugin.build.dir}/">32 <fileset dir="resources">33 <include name="*.xml"/>34 <include name="audio/*"/>35 </fileset>36 </copy>37 <copy todir="${plugin.build.dir}/images" >38 <fileset dir="images" />39 </copy>40 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">41 <manifest>42 <attribute name="Plugin-Class" value="at.dallermassl.josm.plugin.surveyor.SurveyorPlugin" />43 <attribute name="Plugin-Description" value="Allow adding markers/nodes on current gps positions." />44 <attribute name="Plugin-Stage" value="60" />45 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>46 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>47 <attribute name="Plugin-Mainversion" value="1326" />48 <attribute name="Plugin-Requires" value="livegps" />49 </manifest>50 </jar>51 55 </target> 52 56 <target name="clean"> 53 <delete dir="${plugin.build.dir}" /> 54 <delete file="${plugin.jar}" /> 57 <delete dir="${plugin.build.dir}"/> 58 <delete file="${plugin.jar}"/> 59 </target> 60 <target name="install" depends="dist"> 61 <property environment="env"/> 62 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 63 <and> 64 <os family="windows"/> 65 </and> 66 </condition> 67 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 55 68 </target> 56 69 </project> -
applications/editors/josm/plugins/tagging-preset-tester/build.xml
r13620 r14003 1 1 <project name="tagging-preset-tester" 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" destdir="${plugin.build.dir}" classpath="${josm}">12 <javac srcdir="src" classpath="${josm}" debug="false" destdir="${plugin.build.dir}"> 13 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 14 15 </javac> 15 16 </target> 16 <target name="dist" depends="compile ">17 <copy todir="${plugin.build.dir}/images" 18 <fileset dir="images" 17 <target name="dist" depends="compile,revision"> 18 <copy todir="${plugin.build.dir}/images"> 19 <fileset dir="images"/> 19 20 </copy> 21 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 22 <manifest> 23 <attribute name="Author" value="Imi"/> 24 <attribute name="Main-Class" value="org.openstreetmap.josm.plugins.taggingpresettester.TaggingPresetTester"/> 25 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.taggingpresettester.TaggingPresetTesterAction"/> 26 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 27 <attribute name="Plugin-Description" value="Adds a tagging preset tester to the help menu, which helps you developing of tagging presets (quick preview of the dialog that will popup). You can start the jar-file as standalone as well."/> 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"> 20 34 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 21 35 <env key="LANG" value="C"/> … … 26 40 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 27 41 <delete file="REVISION"/> 28 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">29 <manifest>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="Make the Tagging Preset Tester tool available in the help menu." />33 <attribute name="Main-Class" value="org.openstreetmap.josm.plugins.taggingpresettester.TaggingPresetTester" />34 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.taggingpresettester.TaggingPresetTesterAction" />35 <attribute name="Plugin-Mainversion" value="1364" />36 </manifest>37 </jar>38 42 </target> 39 43 <target name="clean"> 40 <delete dir="${plugin.build.dir}" /> 41 <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}"/> 42 55 </target> 43 56 </project> -
applications/editors/josm/plugins/tcxplugin/build.xml
r12780 r14003 1 1 <project name="tcx-support" default="dist" basedir="."> 2 <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) --> 3 <property environment="env"/> 4 <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm"> 5 <and> 6 <os family="windows"/> 7 </and> 8 </condition> 9 <!-- compilation properties --> 10 <property name="josm.build.dir" value="../../core"/> 11 <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/> 12 <property name="josm" location="../../core/dist/josm-custom.jar" /> 13 <property name="plugin.build.dir" value="build"/> 14 <property name="plugin.dist.dir" value="../../dist"/> 15 <property name="plugin.name" value="${ant.project.name}"/> 16 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 17 <property name="livegpsplugin.jar" value="../../dist/livegps.jar"/> 18 <property name="plugin.description" value="Adds support for TCX files."/> 19 <property name="plugin.stage" value="100"/> 20 <property name="plugin.class" value="org.openstreetmap.josm.plugins.TcxPlugin"/> 21 <!-- update site meta data --> 22 <property name="plugin.site.file" value="josm-site.xml"/> 23 <property name="plugin.site.description" value=""/> 24 <property name="plugin.site.url" value=""/> 25 <property name="plugin.site.upload.target" value=""/> 2 <property name="josm" location="../../core/dist/josm-custom.jar"/> 3 <property name="plugin.dist.dir" value="../../dist"/> 4 <property name="plugin.build.dir" value="build"/> 5 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 26 6 <property name="ant.build.javac.target" value="1.5"/> 27 <!-- All jar files necessary to run only JOSM (no tests) --> 28 <fileset id="josm_required_libs" dir="lib"></fileset> 29 <target name="dist" depends="compile,site"> 30 <!-- jars --> 31 <unjar dest="build"> 32 <fileset refid="josm_required_libs" /> 7 <target name="init"> 8 <mkdir dir="${plugin.build.dir}"/> 9 </target> 10 <target name="compile" depends="init"> 11 <echo message="creating ${plugin.jar}"/> 12 <javac srcdir="src" debug="false" destdir="${plugin.build.dir}"> 13 <compilerarg value="-Xlint:deprecation"/> 14 <compilerarg value="-Xlint:unchecked"/> 15 <classpath> 16 <pathelement location="${josm}"/> 17 <fileset dir="lib"> 18 <include name="**/*.jar"/> 19 </fileset> 20 </classpath> 21 </javac> 22 </target> 23 <target name="dist" depends="compile,revision"> 24 <unjar dest="${plugin.build.dir}"> 25 <fileset dir="lib"/> 33 26 </unjar> 34 <!-- images --> 35 <copy todir="build/images"> 36 <fileset dir="images" /> 27 <copy todir="${plugin.build.dir}/images"> 28 <fileset dir="images"/> 37 29 </copy> 30 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 31 <manifest> 32 <attribute name="Author" value="Adrian Stabiszewski"/> 33 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.TcxPlugin"/> 34 <attribute name="Plugin-Description" value="Directly load TCX files from JOSM."/> 35 <attribute name="Plugin-Stage" value="100"/> 36 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 37 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 38 <attribute name="Plugin-Mainversion" value="1465"/> 39 </manifest> 40 </jar> 41 </target> 42 <target name="revision"> 38 43 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 39 44 <env key="LANG" value="C"/> … … 44 49 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 45 50 <delete file="REVISION"/> 46 <!-- create jar file -->47 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">48 <manifest>49 <attribute name="Plugin-Class" value="${plugin.class}" />50 <attribute name="Plugin-Description" value="${plugin.description}" />51 <attribute name="Plugin-Stage" value="${plugin.stage}" />52 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>53 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>54 <attribute name="Plugin-Mainversion" value="1180" />55 <!-- <attribute name="Class-Path" value="lib/jaxb-api.jar;lib/jaxb-impl.jar" />-->56 </manifest>57 </jar>58 51 </target> 59 <target name="compile" depends="init"> 60 <echo message="creating ${plugin.jar}"/> 61 <mkdir dir="${plugin.build.dir}"/> 62 <javac srcdir="src" destdir="${plugin.build.dir}" debug="true" source="1.5" target="1.5"> 63 <classpath> 64 <pathelement path="${josm.build.dir}/build"/> 65 <fileset dir="${josm.build.dir}/lib"> 66 <include name="**/*.jar"/> 67 </fileset> 68 <fileset dir="./lib"> 69 <include name="**/*.jar"/> 70 </fileset> 71 </classpath> 72 </javac> 52 <target name="clean"> 53 <delete dir="${plugin.build.dir}"/> 54 <delete file="${plugin.jar}"/> 73 55 </target> 74 56 <target name="install" depends="dist"> 57 <property environment="env"/> 58 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 59 <and> 60 <os family="windows"/> 61 </and> 62 </condition> 75 63 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 76 64 </target> 77 <target name="init">78 <echo>java version: ${java.version}</echo>79 </target>80 <target name="clean">81 <delete dir="${plugin.build.dir}" />82 <delete dir="${plugin.site.file}" />83 <delete file="${plugin.jar}" />84 </target>85 <!-- write site description for the given plugin so josm will accept it -->86 <target name="site">87 <echo message="creating site description in ${plugin.site.file}"/>88 <echo file="${plugin.site.file}"><!-- plugins available on this site -->89 <plugins>90 <plugin id="${ant.project.name}" version="${plugin.version}">91 <name>${ant.project.name}</name>92 <description>${plugin.description}</description>93 <resource>${plugin.site.url}${plugin.jar}</resource>94 </plugin>95 </plugins>96 </echo>97 </target>98 <!-- write site description for the given plugin (not implemented in JOSM as full version yet!) -->99 <target name="site-full-donotuse">100 <echo message="creating site description in ${plugin.site.file}"/>101 <echo file="${plugin.site.file}"><?xml version="1.0"?>102 <site version="1.0">103 <!-- meta data of site -->104 <site-info>105 <site-name>${plugin.site.description}</site-name>106 <site-url>${plugin.site.url}</site-url>107 </site-info>108 109 <!-- plugins available on this site -->110 <plugins>111 <plugin id="${ant.project.name}" version="${plugin.version}">112 <name>${ant.project.name}</name>113 <description>${plugin.description}</description>114 <resources>115 <resource src="${plugin.site.url}${plugin.jar}"116 target="${josm.home.dir}/plugins/${plugin.jar}"/>117 </resources>118 </plugin>119 </plugins>120 </site>121 </echo>122 </target>123 <!-- upload the site description and the jar file via ssh -->124 <target name="upload" depends="dist,site">125 <echo message="uploading jar and site description to ${plugin.site.upload.target}"/>126 <exec executable="scp">127 <arg value="${plugin.jar}"/>128 <arg value="${plugin.site.file}"/>129 <arg value="${plugin.site.upload.target}"/>130 </exec>131 </target>132 65 </project> -
applications/editors/josm/plugins/terracer/build.xml
r13587 r14003 1 1 <project name="terracer" 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="${plugin.build.dir}">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="Matt Amos"/> 24 <attribute name="Plugin-Class" value="terracer.TerracerPlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="Make terraced houses out of single blocks."/> 27 <attribute name="Plugin-Mainversion" value="1465"/> 28 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 29 </manifest> 30 </jar> 31 </target> 32 <target name="revision"> 22 33 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 23 34 <env key="LANG" value="C"/> … … 28 39 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 29 40 <delete file="REVISION"/> 30 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">31 <manifest>32 <attribute name="Plugin-Class" value="terracer.TerracerPlugin" />33 <attribute name="Plugin-Description" value="Easy creation of individual terraced houses." />34 <attribute name="Plugin-Version" value="${version.entry.commit.revision}" />35 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>36 <attribute name="Plugin-Mainversion" value="1280" />37 </manifest>38 </jar>39 41 </target> 40 42 <target name="clean"> 41 <delete dir="${plugin.build.dir}" /> 42 <delete file="${plugin.jar}" /> 43 <delete dir="${plugin.build.dir}"/> 44 <delete file="${plugin.jar}"/> 45 </target> 46 <target name="install" depends="dist"> 47 <property environment="env"/> 48 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 49 <and> 50 <os family="windows"/> 51 </and> 52 </condition> 53 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 43 54 </target> 44 55 </project> -
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> -
applications/editors/josm/plugins/utilsplugin/build.xml
r13723 r14003 1 1 <project name="utilsplugin" 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}" de stdir="${plugin.build.dir}" debug="true">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 15 </javac> 16 16 </target> 17 <target name="dist" depends="compile ">17 <target name="dist" depends="compile,revision"> 18 18 <copy todir="${plugin.build.dir}/images"> 19 19 <fileset dir="images"/> 20 20 </copy> 21 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 22 <manifest> 23 <attribute name="Author" value="Martijn van Oosterhout"/> 24 <attribute name="Plugin-Class" value="UtilsPlugin.UtilsPlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="Several utilities that make your life easier: e.g. simplify way, join areas, jump to position."/> 27 <attribute name="Plugin-Mainversion" value="1465"/> 28 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 29 </manifest> 30 </jar> 31 </target> 32 <target name="revision"> 21 33 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 22 34 <env key="LANG" value="C"/> … … 27 39 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 28 40 <delete file="REVISION"/> 29 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">30 <manifest>31 <attribute name="Plugin-Class" value="UtilsPlugin.UtilsPlugin"/>32 <attribute name="Plugin-Description" value="Useful JOSM utilities"/>33 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>34 <attribute name="Plugin-Mainversion" value="1373"/>35 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>36 <attribute name="Author" value="Martijn van Oosterhout"/>37 </manifest>38 </jar>39 41 </target> 40 42 <target name="clean"> 41 <delete dir="${plugin.build.dir}" /> 42 <delete file="${plugin.jar}" /> 43 <delete dir="${plugin.build.dir}"/> 44 <delete file="${plugin.jar}"/> 45 </target> 46 <target name="install" depends="dist"> 47 <property environment="env"/> 48 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 49 <and> 50 <os family="windows"/> 51 </and> 52 </condition> 53 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 43 54 </target> 44 55 </project> -
applications/editors/josm/plugins/validator/build.xml
r13332 r14003 1 1 <project name="validator" 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="${plugin.build.dir}" 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="Francisco R. Santos"/> 24 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.validator.OSMValidatorPlugin"/> 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 <attribute name="Plugin-Description" value="An OSM data validator. It checks for problems in data, and provides fixes for the common ones. Spellcheck integrated for tag names."/> 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Validator"/> 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.validator.OSMValidatorPlugin"/>33 <attribute name="Plugin-Description" value="A OSM data validator"/>34 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>35 <attribute name="Plugin-Mainversion" value="1200"/>36 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>37 <attribute name="Author" value="Francisco R. Santos"/>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> -
applications/editors/josm/plugins/wmsplugin/build.xml
r13584 r14003 1 1 <project name="wmsplugin" 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="${plugin.build.dir}">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}/resources"> 20 19 <fileset dir="resources"/> 21 20 </copy> 22 <copy todir="${plugin.build.dir}/images" 23 <fileset dir="images" 21 <copy todir="${plugin.build.dir}/images"> 22 <fileset dir="images"/> 24 23 </copy> 24 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 25 <manifest> 26 <attribute name="Author" value="Tim Waters, Petr Dlouhý"/> 27 <attribute name="Plugin-Class" value="wmsplugin.WMSPlugin"/> 28 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 29 <attribute name="Plugin-Description" value="Display georeferenced images as background in JOSM (WMS servers, Yahoo, ...)."/> 30 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WMSPlugin"/> 31 <attribute name="Plugin-Mainversion" value="1465"/> 32 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 33 <attribute name="de.Plugin-Link" value="http://wiki.openstreetmap.org/wiki/DE:JOSM/Plugins/WMSPlugin"/> 34 </manifest> 35 </jar> 36 </target> 37 <target name="revision"> 25 38 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 26 39 <env key="LANG" value="C"/> … … 31 44 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 32 45 <delete file="REVISION"/> 33 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">34 <manifest>35 <attribute name="Plugin-Class" value="wmsplugin.WMSPlugin" />36 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>37 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>38 <attribute name="Plugin-Description" value="Allows external WMS resources to be displayed." />39 <attribute name="Plugin-Mainversion" value="1379" />40 </manifest>41 </jar>42 46 </target> 43 47 <target name="clean"> 44 <delete dir="${plugin.build.dir}" /> 45 <delete file="${plugin.jar}" /> 48 <delete dir="${plugin.build.dir}"/> 49 <delete file="${plugin.jar}"/> 50 </target> 51 <target name="install" depends="dist"> 52 <property environment="env"/> 53 <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> 54 <and> 55 <os family="windows"/> 56 </and> 57 </condition> 58 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 46 59 </target> 47 60 </project>
Note:
See TracChangeset
for help on using the changeset viewer.