Changeset 9133 in josm for trunk/build.xml
- Timestamp:
- 2015-12-15T15:45:37+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r9079 r9133 15 15 <property name="javacc.home" location="tools"/> 16 16 <property name="mapcss.dir" location="${src.dir}/org/openstreetmap/josm/gui/mappaint/mapcss"/> 17 <property name="epsg.output" location="data/projection/custom-epsg"/> 17 18 <property name="groovy.jar" location="tools/groovy-all-2.4.5.jar"/> 18 19 <!-- build parameter: compression level (ant -Dclevel=N) … … 101 102 ** Main target that builds JOSM and checks XML against schemas 102 103 --> 103 <target name="dist" depends="compile,create-revision,check-schemas ">104 <target name="dist" depends="compile,create-revision,check-schemas,epsg"> 104 105 <echo>Revision ${version.entry.commit.revision}</echo> 105 106 <copy file="CONTRIBUTION" todir="build"/> … … 287 288 <target name="clean"> 288 289 <delete dir="build"/> 290 <delete dir="build2"/> 289 291 <delete dir="dist"/> 290 292 <delete dir="${mapcss.dir}/parsergen"/> 291 293 <delete file="${src.dir}/org/w3/_2001/xmlschema/Adapter1.java"/> 292 294 <delete dir="${src.dir}/org/openstreetmap/josm/data/imagery/types"/> 295 <delete file="${epsg.output}"/> 293 296 </target> 294 297 <path id="test.classpath"> … … 640 643 </java> 641 644 </target> 645 <!-- compile build script for generating projection list --> 646 <target name="epsg-compile" depends="compile"> 647 <mkdir dir="build2"/> 648 <javac sourcepath="" srcdir="scripts" 649 destdir="build2" target="1.7" source="1.7" debug="on" includeantruntime="false" createMissingPackageInfoClass="false" encoding="UTF-8" classpath="build"> 650 </javac> 651 </target> 652 <!-- generate projection list --> 653 <target name="epsg" depends="epsg-compile"> 654 <touch file="${epsg.output}"/> 655 <java classname="BuildProjectionDefinitions"> 656 <classpath> 657 <pathelement path="."/> 658 <pathelement path="build"/> 659 <pathelement path="build2"/> 660 </classpath> 661 </java> 662 </target> 642 663 </project>
Note:
See TracChangeset
for help on using the changeset viewer.