Changeset 5153 in osm for applications/editors/josm/plugins/osmarender/build.xml
- Timestamp:
- 2007-10-24T20:13:09+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/osmarender/build.xml
r5147 r5153 1 1 <project name="osmarender" default="install" basedir="."> 2 3 <!-- compilation properties --> 4 <property name="josm.build.dir" value="../../core"/> 5 <property name="josm.home.dir" value="${user.home}/.josm"/> 6 <property name="josm" location="../../core/dist/josm-custom.jar" /> 7 <property name="plugin.build.dir" value="build"/> 8 <property name="plugin.dist.dir" value="../dist"/> 9 <property name="plugin.name" value="${ant.project.name}"/> 10 <property name="plugin.jar" value="../dist/${plugin.name}.jar"/> 2 11 3 12 <property name="josm" location="../../core/dist/josm-custom.jar" /> … … 5 14 6 15 <target name="compile"> 7 <mkdir dir=" bin"></mkdir>8 <mkdir dir=" dist"></mkdir>9 <javac srcdir="src" debug="true" classpath="${josm}" destdir=" bin">16 <mkdir dir="${plugin.build.dir}"></mkdir> 17 <mkdir dir="${plugin.dist.dir}"></mkdir> 18 <javac srcdir="src" debug="true" classpath="${josm}" destdir="${plugin.build.dir}"> 10 19 <include name="**/*.java" /> 11 20 </javac> 12 21 </target> 13 22 14 <target name=" build" depends="compile">15 <copy todir=" bin" file="${rendering}/osmarender6/osmarender.xsl"/>16 <copy tofile=" bin/osm-map-features.xml"23 <target name="dist" depends="compile"> 24 <copy todir="${plugin.build.dir}" file="${rendering}/osmarender6/osmarender.xsl"/> 25 <copy tofile="${plugin.build.dir}/osm-map-features.xml" 17 26 file="${rendering}/osmarender5/osm-map-features-z17.xml"/> 18 <jar destfile=" dist/osmarender.jar" basedir="bin">27 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 19 28 <manifest> 20 29 <attribute name="Plugin-Class" value="OsmarenderPlugin" /> … … 25 34 26 35 <target name="clean"> 27 <delete dir=" bin" />28 <delete dir="dist" />36 <delete dir="${plugin.build.dir}" /> 37 <delete file="${plugin.jar}" /> 29 38 </target> 30 39 31 <target name="install" depends="compile, build" />40 <target name="install" depends="compile,dist" /> 32 41 33 42 </project>
Note:
See TracChangeset
for help on using the changeset viewer.