Changeset 15558 in osm for applications/editors/josm/plugins/czechaddress/build.xml
- Timestamp:
- 2009-06-03T01:31:58+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/czechaddress/build.xml
r15461 r15558 26 26 <!-- compile the plugin --> 27 27 <javac srcdir="src" 28 sourcepath=""29 28 classpath="${josm.jar}" 30 29 destdir="${plugin.build.dir}" 31 debug="true"> 30 debug="true"/> 32 31 33 <include name="**/Status*.java"/>34 <include name="**/StringUtils.java"/>35 < include name="**/NotNull*.java"/>36 < include name="**/addressdatabase/*.java"/>37 < include name="**/proposal*/*.java"/>38 < include name="**/intelligence/Reasoner*.java"/>39 < include name="**/intelligence/Match.java"/>40 </ javac>32 <!-- create the manifest --> 33 <manifest file="${plugin.build.dir}/${plugin.basepackage.dir}/MANIFEST.MF"> 34 <attribute name="Author" value="Radomír Černoch"/> 35 <attribute name="Plugin-Description" value="Creating and handling address nodes and buildings within Czech Republic."/> 36 <attribute name="Plugin-Mainversion" value="1607"/> 37 <attribute name="Plugin-Version" value="0.1.2"/> 38 <attribute name="Plugin-Class" value="${plugin.basepackage}.CzechAddressPlugin"/> 39 </manifest> 41 40 41 <!-- include the images --> 42 <copy todir="${plugin.build.dir}/images"> 43 <fileset dir="images"/> 44 </copy> 42 45 </target> 43 46 47 <target name="dist" 48 depends="compile" 49 description="Create the .jar file for distribution"> 50 <mkdir dir="${plugin.dist.dir}"/> 51 <jar destfile="${plugin.jar}" 52 basedir="${plugin.build.dir}" 53 manifest="${plugin.build.dir}/${plugin.basepackage.dir}/MANIFEST.MF"/> 54 </target> 55 56 <target name="doc" description="Create Javadoc API documentation"> 57 <ant antfile="build.xml" target="doc" dir="${josm.base}"/> 58 <mkdir dir="${plugin.javadoc.dir}"/> 59 <javadoc sourcepath="src" 60 packagenames="*" 61 destdir="${plugin.javadoc.dir}" 62 use="true" 63 charset="UTF-8"> 64 <doctitle><![CDATA[Czech Address JOSM plugin]]></doctitle> 65 <bottom><![CDATA[<i>Licenced under GPLv3. Bugreports should be sent to 66 <a href='mailto:radomir.cernoch@gmail.com'>Radomír Černoch</a></i>]]> 67 </bottom> 68 <!--<tag name="todo" scope="all" description="To do:"/>--> 69 <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/> 70 <link href="http://developer.java.sun.com/developer/products/xml/docs/api/"/> 71 <!--<link href="file://${user.home}/devel/core/doc"/>--> 72 </javadoc> 73 </target> 74 75 <target name="install" depends="dist"> 76 <property environment="env"/> 77 <condition property="josm.plugins.dir" 78 value="${env.APPDATA}/JOSM/plugins" 79 else="${user.home}/.josm/plugins"> 80 <and><os family="windows"/></and> 81 </condition> 82 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 83 </target> 44 84 45 85 <!-- Before running "run" target, please "ant dist" the JOSM. --> 46 86 <target name="run" depends="compile"> 47 <java classname=" org.openstreetmap.josm.plugins.czechaddress.intelligence.Reasoner">87 <java classname="JOSM" fork="true"> 48 88 <jvmarg value="-Xmx1024m"/> 49 89 <jvmarg value="-Xdebug"/> … … 57 97 <pathelement path="${java.class.path}"/> 58 98 </classpath> 99 <arg value="/home/radek/Desktop/Hustopeče.osm"/> 59 100 </java> 60 <exec executable="xsltproc" output="log.html">61 <arg value="log.xsl"/>62 <arg value="log.xml"/>63 </exec>64 101 </target> 65 102
Note:
See TracChangeset
for help on using the changeset viewer.
