Changeset 15461 in osm for applications/editors/josm/plugins/czechaddress/build.xml
- Timestamp:
- 2009-06-01T17:24:35+02:00 (17 years ago)
- Location:
- applications/editors/josm/plugins/czechaddress
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/czechaddress
- Property svn:ignore
-
old new 1 1 build 2 .log.xsl.swp
-
- Property svn:ignore
-
applications/editors/josm/plugins/czechaddress/build.xml
r15203 r15461 26 26 <!-- compile the plugin --> 27 27 <javac srcdir="src" 28 sourcepath="" 28 29 classpath="${josm.jar}" 29 30 destdir="${plugin.build.dir}" 30 debug="true" />31 debug="true"> 31 32 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 handlingaddressnodes and buildings within Czech Republic."/>36 < attribute name="Plugin-Mainversion" value="1607"/>37 < attribute name="Plugin-Version" value="0.1.1"/>38 < attribute name="Plugin-Class" value="${plugin.basepackage}.CzechAddressPlugin"/>39 </ manifest>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> 40 41 41 <!-- include the images -->42 <copy todir="${plugin.build.dir}/images">43 <fileset dir="images"/>44 </copy>45 42 </target> 46 43 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 to66 <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>84 44 85 45 <!-- Before running "run" target, please "ant dist" the JOSM. --> 86 46 <target name="run" depends="compile"> 87 <java classname=" JOSM" fork="true">47 <java classname="org.openstreetmap.josm.plugins.czechaddress.intelligence.Reasoner"> 88 48 <jvmarg value="-Xmx1024m"/> 89 49 <jvmarg value="-Xdebug"/> … … 97 57 <pathelement path="${java.class.path}"/> 98 58 </classpath> 99 <!--<arg value="/home/radek/Desktop/Hustopeče.osm"/>-->100 59 </java> 60 <exec executable="xsltproc" output="log.html"> 61 <arg value="log.xsl"/> 62 <arg value="log.xml"/> 63 </exec> 101 64 </target> 102 65
Note:
See TracChangeset
for help on using the changeset viewer.
