Changeset 9765 in josm
- Timestamp:
- 2016-02-09T13:25:35+01:00 (9 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r9749 r9765 9 9 ** 10 10 --> 11 <project xmlns:as="antlib:org.codehaus.mojo.animal_sniffer" name="josm" default="dist" basedir="." xmlns:jacoco="antlib:org.jacoco.ant"> 12 <property name="test.dir" location="test"/> 13 <property name="src.dir" location="src"/> 14 <property name="build.dir" location="build"/> 15 <property name="javacc.home" location="tools"/> 16 <property name="mapcss.dir" location="${src.dir}/org/openstreetmap/josm/gui/mappaint/mapcss"/> 17 <property name="epsg.output" location="data/projection/custom-epsg"/> 18 <property name="groovy.jar" location="tools/groovy-all-2.4.6-SNAPSHOT.jar"/> 19 <!-- build parameter: compression level (ant -Dclevel=N) 20 N ranges from 0 (no compression) to 9 (maximum compression) 21 default: 9 --> 22 <condition property="clevel" value="${clevel}" else="9"> 23 <isset property="clevel"/> 24 </condition> 25 <!-- For Java9-specific stuff --> 26 <condition property="isJava9"> 27 <equals arg1="${ant.java.version}" arg2="1.9" /> 28 </condition> 11 <project xmlns:as="antlib:org.codehaus.mojo.animal_sniffer" name="josm" default="dist" xmlns:jacoco="antlib:org.jacoco.ant"> 12 <target name="init-properties"> 13 <!-- Load properties in a target and not at top level, so this build file can be 14 imported from an IDE ant file (Netbeans) without messing up IDE properties. 15 When imported from another file, ${basedir} will point to the parent directory 16 of the importing ant file. Use ${base.dir} instead, which is always the parent 17 directory of this file. --> 18 <dirname property="base.dir" file="${ant.file.josm}"/> 19 <property name="test.dir" location="${base.dir}/test"/> 20 <property name="src.dir" location="${base.dir}/src"/> 21 <property name="build.dir" location="${base.dir}/build"/> 22 <property name="dist.dir" location="${base.dir}/dist"/> 23 <property name="javacc.home" location="${base.dir}/tools"/> 24 <property name="mapcss.dir" location="${src.dir}/org/openstreetmap/josm/gui/mappaint/mapcss"/> 25 <property name="proj-build.dir" location="${base.dir}/build2"/> 26 <property name="epsg.output" location="${base.dir}/data/projection/custom-epsg"/> 27 <property name="groovy.jar" location="${base.dir}/tools/groovy-all-2.4.6-SNAPSHOT.jar"/> 28 <!-- build parameter: compression level (ant -Dclevel=N) 29 N ranges from 0 (no compression) to 9 (maximum compression) 30 default: 9 --> 31 <condition property="clevel" value="${clevel}" else="9"> 32 <isset property="clevel"/> 33 </condition> 34 <!-- For Java9-specific stuff --> 35 <condition property="isJava9"> 36 <equals arg1="${ant.java.version}" arg2="1.9" /> 37 </condition> 38 </target> 29 39 30 40 <!-- … … 39 49 ** Initializes the REVISION.XML file from SVN information 40 50 --> 41 <target name="init-svn-revision-xml" >42 <exec append="false" output=" REVISION.XML" executable="svn" failifexecutionfails="false" resultproperty="svn.info.result">51 <target name="init-svn-revision-xml" depends="init-properties"> 52 <exec append="false" output="${base.dir}/REVISION.XML" executable="svn" dir="${base.dir}" failifexecutionfails="false" resultproperty="svn.info.result"> 43 53 <env key="LANG" value="C"/> 44 54 <arg value="info"/> … … 53 63 ** Initializes the REVISION.XML file from git information 54 64 --> 55 <target name="init-git-revision-xml" unless="svn.info.success" >56 <exec append="false" output=" REVISION.XML" executable="git" failifexecutionfails="false">65 <target name="init-git-revision-xml" unless="svn.info.success" depends="init-properties"> 66 <exec append="false" output="${base.dir}/REVISION.XML" executable="git" dir="${base.dir}" failifexecutionfails="false"> 57 67 <arg value="log"/> 58 68 <arg value="-1"/> … … 66 76 <arg value="HEAD"/> 67 77 </exec> 68 <replaceregexp file=" REVISION.XML" flags="s"78 <replaceregexp file="${base.dir}/REVISION.XML" flags="s" 69 79 match=".*git-svn-id: [^@]*@([0-9]+).*(\d{4}-\d{2}-\d{2}.\d{2}\:\d{2}\:\d{2}\s*[+-]\d{2}:?\d{2})\s*$" 70 80 replace="<info><entry><commit revision="\1"><date>\2</date></commit></entry></info>"/> … … 73 83 ** Creates the REVISION file to be included in the distribution 74 84 --> 75 <target name="create-revision" depends="init- svn-revision-xml,init-git-revision-xml">85 <target name="create-revision" depends="init-properties,init-svn-revision-xml,init-git-revision-xml"> 76 86 <property name="revision.dir" value="${build.dir}"/> 77 <xmlproperty file=" REVISION.XML" prefix="version" keepRoot="false" collapseAttributes="true"/>78 <delete file=" REVISION.XML"/>87 <xmlproperty file="${base.dir}/REVISION.XML" prefix="version" keepRoot="false" collapseAttributes="true"/> 88 <delete file="${base.dir}/REVISION.XML"/> 79 89 <tstamp> 80 90 <format property="build.tstamp" pattern="yyyy-MM-dd HH:mm:ss"/> … … 94 104 ** Check internal XML files against their XSD 95 105 --> 96 <target name="check-schemas" unless="check-schemas.notRequired" >106 <target name="check-schemas" unless="check-schemas.notRequired" depends="init-properties"> 97 107 <schemavalidate file="data/defaultpresets.xml" > 98 108 <schema namespace="http://josm.openstreetmap.de/tagging-preset-1.0" file="data/tagging-preset.xsd" /> … … 108 118 <copy file="LICENSE" todir="build"/> 109 119 <!-- create josm-custom.jar --> 110 <delete file=" dist/josm-custom.jar"/>111 <jar destfile=" dist/josm-custom.jar" basedir="build" level="${clevel}">120 <delete file="${dist.dir}/josm-custom.jar"/> 121 <jar destfile="${dist.dir}/josm-custom.jar" basedir="${build.dir}" level="${clevel}"> 112 122 <!-- add attribute excludes="**/*BZip2*,**/*Bzip2*" to create a non-bzip2 supporting jar --> 113 123 <manifest> … … 126 136 </target> 127 137 <!-- Mac OS X target --> 128 <target name="mac" >138 <target name="mac" depends="init-properties"> 129 139 <!-- Using https://bitbucket.org/infinitekind/appbundler to create mac application bundle --> 130 140 <taskdef name="bundleapp" classname="com.oracle.appbundler.AppBundlerTask" classpath="tools/appbundler-1.0ea.jar"/> … … 156 166 <option value="-Dcom.apple.smallTabs=true"/> 157 167 </bundleapp> 158 168 159 169 <!-- appbundler lacks the possibility of defining our own keys or using a template, so update the .plist manually --> 160 170 <taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask" classpath="tools/xmltask.jar"/> 161 171 162 172 <xmltask source="${bundle.outdir}/JOSM.app/Contents/Info.plist" dest="${bundle.outdir}/JOSM.app/Contents/Info.plist" indent="false"> 163 173 <!-- remove empty CFBundleDocumentTypes definition --> … … 166 176 <insert position="before" path="/plist/dict/key[1]" file="macosx/JOSM.app/Contents/Info.plist_template.xml" /> 167 177 </xmltask> 168 178 169 179 <!-- create ZIP file with MacOS X application bundle --> 170 180 <zip destfile="${bundle.outdir}/josm-custom-macosx.zip" update="true"> … … 175 185 <target name="distmac" depends="dist"> 176 186 <antcall target="mac"> 177 <param name="bundle.outdir" value=" dist"/>178 <param name="bundle.jar" value=" dist/josm-custom.jar"/>187 <param name="bundle.outdir" value="${dist.dir}"/> 188 <param name="bundle.jar" value="${dist.dir}/josm-custom.jar"/> 179 189 </antcall> 180 190 </target> … … 226 236 </javac> 227 237 <!-- JMapViewer --> 228 <javac sourcepath="" srcdir="${src.dir}" excludes="com/**,oauth/**,org/apache/commons/**,org/glassfish/**,org/openstreetmap/gui/jmapviewer/Demo.java,org/openstreetmap/josm/**,JOSM.java,gnu/**" 238 <javac sourcepath="" srcdir="${src.dir}" excludes="com/**,oauth/**,org/apache/commons/**,org/glassfish/**,org/openstreetmap/gui/jmapviewer/Demo.java,org/openstreetmap/josm/**,JOSM.java,gnu/**" 229 239 destdir="build" target="1.7" source="1.7" debug="on" includeantruntime="false" createMissingPackageInfoClass="false" encoding="UTF-8"> 230 240 <compilerarg value="-Xlint:cast"/> … … 243 253 </javac> 244 254 <!-- JOSM --> 245 <javac sourcepath="" srcdir="${src.dir}" excludes="com/**,oauth/**,org/apache/commons/**,org/glassfish/**,org/openstreetmap/gui/jmapviewer/Demo.java" 255 <javac sourcepath="" srcdir="${src.dir}" excludes="com/**,oauth/**,org/apache/commons/**,org/glassfish/**,org/openstreetmap/gui/jmapviewer/Demo.java" 246 256 destdir="build" target="1.7" source="1.7" debug="on" includeantruntime="false" createMissingPackageInfoClass="false" encoding="UTF-8"> 247 257 <compilerarg value="-Xlint:cast"/> … … 264 274 </copy> 265 275 </target> 266 <target name="init" >276 <target name="init" depends="init-properties"> 267 277 <uptodate property="javacc.notRequired" targetfile="${mapcss.dir}/parsergen/MapCSSParser.java" > 268 278 <srcfiles dir="${mapcss.dir}" includes="MapCSSParser.jj"/> 269 279 </uptodate> 270 <mkdir dir=" build"/>271 <mkdir dir=" dist"/>272 </target> 273 <target name="javadoc" >274 <javadoc destdir="javadoc" 280 <mkdir dir="${build.dir}"/> 281 <mkdir dir="${dist.dir}"/> 282 </target> 283 <target name="javadoc" depends="init-properties"> 284 <javadoc destdir="javadoc" 275 285 sourcepath="${src.dir}" 276 encoding="UTF-8" 286 encoding="UTF-8" 277 287 packagenames="org.openstreetmap.josm.*,org.openstreetmap.gui.jmapviewer.*" 278 288 excludepackagenames="org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.*" … … 287 297 </javadoc> 288 298 </target> 289 <target name="clean" >290 <delete dir=" build"/>291 <delete dir=" build2"/>292 <delete dir=" dist"/>299 <target name="clean" depends="init-properties"> 300 <delete dir="${build.dir}"/> 301 <delete dir="${proj-build.dir}"/> 302 <delete dir="${dist.dir}"/> 293 303 <delete dir="${mapcss.dir}/parsergen"/> 294 304 <delete file="${src.dir}/org/w3/_2001/xmlschema/Adapter1.java"/> … … 300 310 <include name="**/*.jar"/> 301 311 </fileset> 302 <pathelement path=" dist/josm-custom.jar"/>312 <pathelement path="${dist.dir}/josm-custom.jar"/> 303 313 <pathelement path="${groovy.jar}"/> 304 314 <pathelement path="tools/findbugs/annotations.jar"/> … … 312 322 </sequential> 313 323 </macrodef> 314 <target name="test-init" >324 <target name="test-init" depends="init-properties"> 315 325 <mkdir dir="${test.dir}/build"/> 316 326 <mkdir dir="${test.dir}/build/unit"/> … … 323 333 <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" classpath="tools/jacocoant.jar" /> 324 334 </target> 325 <target name="test-clean" >335 <target name="test-clean" depends="init-properties"> 326 336 <delete dir="${test.dir}/build"/> 327 337 <delete dir="${test.dir}/report"/> … … 527 537 <tokenfilter> 528 538 <replaceregex pattern="\|$" replace="" flags="gi"/> 529 </tokenfilter> 539 </tokenfilter> 530 540 </filterchain> 531 541 </loadresource> … … 547 557 <as:build-signatures destfile="${dir}/api.sig"> 548 558 <path> 549 <fileset file=" dist/josm-custom-optimized.jar"/>559 <fileset file="${dist.dir}/josm-custom-optimized.jar"/> 550 560 <fileset file="${java.home}/lib/rt.jar"/> 551 561 <fileset file="${java.home}/lib/jce.jar"/> … … 594 604 <sequential> 595 605 <echo message="Generating Taginfo for type @{type} to @{output}"/> 596 <groovy src="${taginfoextract}" classpath=" dist/josm-custom.jar">606 <groovy src="${taginfoextract}" classpath="${dist.dir}/josm-custom.jar"> 597 607 <arg value="-t"/> 598 608 <arg value="@{type}"/> … … 616 626 </target> 617 627 618 <target name="imageryindex" >628 <target name="imageryindex" depends="init-properties"> 619 629 <taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy" classpath="${groovy.jar};tools/commons-cli-1.3.1.jar"/> 620 630 <echo message="Checking editor imagery difference"/> 621 <groovy src="scripts/sync_editor_imagery_index.groovy" classpath=" dist/josm-custom.jar">631 <groovy src="scripts/sync_editor_imagery_index.groovy" classpath="${dist.dir}/josm-custom.jar"> 622 632 <arg value="-nomissingeii"/> 623 633 </groovy> … … 640 650 </target> 641 651 642 <target name="checkstyle" >643 <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties" 652 <target name="checkstyle" depends="init-properties"> 653 <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties" 644 654 classpath="tools/checkstyle/checkstyle-6.15-all.jar"/> 645 655 <checkstyle config="tools/checkstyle/josm_checks.xml"> 646 <fileset dir="${base dir}/src/org/openstreetmap/josm" includes="**/*.java"656 <fileset dir="${base.dir}/src/org/openstreetmap/josm" includes="**/*.java" 647 657 excludes="gui/mappaint/mapcss/parsergen/*.java"/> 648 <fileset dir="${base dir}/test" includes="**/*.java"/>658 <fileset dir="${base.dir}/test" includes="**/*.java"/> 649 659 <formatter type="xml" toFile="checkstyle-josm.xml"/> 650 660 </checkstyle> … … 654 664 <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="tools/findbugs/findbugs-ant.jar"/> 655 665 <path id="findbugs-classpath"> 656 <fileset dir=" tools/findbugs/">666 <fileset dir="${base.dir}/tools/findbugs/"> 657 667 <include name="*.jar"/> 658 668 </fileset> … … 666 676 effort="max" 667 677 > 668 <sourcePath path="${base dir}/src" />669 <class location="${ basedir}/dist/josm-custom.jar" />678 <sourcePath path="${base.dir}/src" /> 679 <class location="${dist.dir}/josm-custom.jar" /> 670 680 </findbugs> 671 681 </target> 672 682 <target name="run" depends="dist"> 673 <java jar=" dist/josm-custom.jar" fork="true">683 <java jar="${dist.dir}/josm-custom.jar" fork="true"> 674 684 <arg value="--set=expert=true"/> 675 685 <arg value="--set=remotecontrol.enabled=true"/> … … 678 688 </java> 679 689 </target> 680 <!-- compile build script for generating projection list --> 681 <target name="epsg-compile" depends="compile"> 682 <mkdir dir="build2"/> 683 <javac sourcepath="" srcdir="scripts" failonerror="true" 684 destdir="build2" target="1.7" source="1.7" debug="on" includeantruntime="false" createMissingPackageInfoClass="false" encoding="UTF-8" classpath="build"> 690 <!-- 691 ** Compile build script for generating projection list. 692 --> 693 <target name="epsg-compile"> 694 <property name="proj-classpath" location="${build.dir}"/> 695 <mkdir dir="${proj-build.dir}"/> 696 <javac sourcepath="" srcdir="${base.dir}/scripts" failonerror="true" 697 destdir="${proj-build.dir}" target="1.7" source="1.7" debug="on" 698 includeantruntime="false" createMissingPackageInfoClass="false" 699 encoding="UTF-8" classpath="${proj-classpath}"> 685 700 </javac> 686 701 </target> 687 <!-- generate projection list --> 702 <!-- 703 ** generate projection list. 704 --> 688 705 <target name="epsg" depends="epsg-compile"> 689 706 <touch file="${epsg.output}"/> … … 691 708 <sysproperty key="java.awt.headless" value="true"/> 692 709 <classpath> 693 <pathelement path=" ."/>694 <pathelement path=" build"/>695 <pathelement path=" build2"/>710 <pathelement path="${base.dir}"/> 711 <pathelement path="${proj-classpath}"/> 712 <pathelement path="${proj-build.dir}"/> 696 713 </classpath> 697 <arg value="${base dir}"/>714 <arg value="${base.dir}"/> 698 715 </java> 699 716 </target> -
trunk/netbeans/nbbuild.xml
r8529 r9765 8 8 <!-- You can turn off the Compile on Save (or Deploy on Save) setting --> 9 9 <!-- in the project's Project Properties dialog box.--> 10 <project name="josm " default="default" basedir=".">10 <project name="josmnb" default="default" basedir="."> 11 11 <description>Builds, tests, and runs the project josm.</description> 12 12 13 <property name="javacc.home" location="../tools"/> 14 <property name="mapcss.dir" location="../src/org/openstreetmap/josm/gui/mappaint/mapcss"/> 15 <!-- For Windows-specific stuff --> 16 <condition property="isWindows"> 17 <os family="Windows"/> 18 </condition> 13 <import file="nbproject/build-impl.xml" as="nbimpl"/> 19 14 20 <import file="nbproject/build-impl.xml"/> 15 <import file="../build.xml" as="josmbase"/> <!-- import the main JOSM ant file --> 16 21 17 <!-- 22 18 23 There exist several targets which are by default empty and which can be 24 used for execution of your tasks. These targets are usually executed 25 before and after some main targets. They are: 19 There exist several targets which are by default empty and which can be 20 used for execution of your tasks. These targets are usually executed 21 before and after some main targets. They are: 26 22 27 23 -pre-init: called before initialization of project properties … … 49 45 </target> 50 46 51 For list of available properties check the imported 52 nbproject/build-impl.xml file. 47 For list of available properties check the imported 48 nbproject/build-impl.xml file. 53 49 54 50 55 51 Another way to customize the build is by overriding existing main targets. 56 The targets of interest are: 52 The targets of interest are: 57 53 58 54 -init-macrodef-javac: defines macro for javac compilation … … 60 56 -init-macrodef-debug: defines macro for class debugging 61 57 -init-macrodef-java: defines macro for class execution 62 -do-jar-with-manifest: JAR building (if you are using a manifest) 63 -do-jar-without-manifest: JAR building (if you are not using a manifest) 64 run: execution of project 58 -do-jar: JAR building 59 run: execution of project 65 60 -javadoc-build: Javadoc generation 66 61 test-report: JUnit report generation … … 74 69 </target> 75 70 76 Notice that the overridden target depends on the jar target and not only on 77 the compile target as the regular run target does. Again, for a list of available 71 Notice that the overridden target depends on the jar target and not only on 72 the compile target as the regular run target does. Again, for a list of available 78 73 properties which you can use, check the target you are overriding in the 79 nbproject/build-impl.xml file. 74 nbproject/build-impl.xml file. 80 75 81 76 --> 82 83 <target name="-post-compile">84 <!-- create the REVISION file to be included in the distribution -->85 <exec append="false" output="REVISION.XML" executable="svn" dir=".." failifexecutionfails="false">86 <env key="LANG" value="C"/>87 <arg value="info"/>88 <arg value="--xml"/>89 <arg value="."/>90 </exec>91 <xmlproperty file="REVISION.XML" prefix="version" keepRoot="false" collapseAttributes="true"/>92 <delete file="REVISION.XML" />93 <tstamp>94 <format property="build.tstamp" pattern="yyyy-MM-dd HH:mm:ss"/>95 </tstamp>96 77 97 <property name="version.entry.commit.revision" value="UNKNOWN"/> 98 <echo file="${build.classes.dir}/REVISION"> 99 # automatically generated by JOSM build.xml - do not edit 100 Revision: ${version.entry.commit.revision} 101 Is-Local-Build: true 102 Build-Date: ${build.tstamp} 103 </echo> 104 </target> 78 <!-- 79 ** Copy resource file required on classpath. 80 --> 81 <target name="copy-josm-resources"> 82 <copy file="../CONTRIBUTION" todir="${build.classes.dir}"/> 83 <copy file="../README" todir="${build.classes.dir}"/> 84 <copy file="../LICENSE" todir="${build.classes.dir}"/> 85 <copy file="../gpl-2.0.txt" todir="${build.classes.dir}" /> 86 <copy file="../gpl-3.0.txt" todir="${build.classes.dir}" /> 87 <copy todir="${build.classes.dir}/images"><fileset dir="../images"/></copy> 88 <copy todir="${build.classes.dir}/data"><fileset dir="../data"/></copy> 89 <copy todir="${build.classes.dir}/styles"><fileset dir="../styles"/></copy> 90 <copy todir="${build.classes.dir}/org/openstreetmap/gui/jmapviewer/images"> 91 <fileset dir="../src/org/openstreetmap/gui/jmapviewer/images"/> 92 </copy> 93 </target> 105 94 106 <target name="check-javacc"> 107 <uptodate property="javacc.notRequired" targetfile="${mapcss.dir}/parsergen/MapCSSParser.java" > 108 <srcfiles dir="${mapcss.dir}" includes="MapCSSParser.jj"/> 109 </uptodate> 110 </target> 111 <target name="javacc" depends="check-javacc" unless="javacc.notRequired"> 112 <mkdir dir="${mapcss.dir}/parsergen"/> 113 <exec append="false" executable="java" failifexecutionfails="true"> 114 <arg value="-cp"/> 115 <arg value="${javacc.home}/javacc.jar"/> 116 <arg value="javacc"/> 117 <arg value="-DEBUG_PARSER=false"/> 118 <arg value="-DEBUG_TOKEN_MANAGER=false"/> 119 <arg value="-JDK_VERSION=1.7"/> 120 <arg value="-GRAMMAR_ENCODING=UTF-8"/> 121 <arg value="-OUTPUT_DIRECTORY=${mapcss.dir}/parsergen"/> 122 <arg value="${mapcss.dir}/MapCSSParser.jj"/> 123 </exec> 95 <!-- 96 ** Customize some properties used by the main JOSM ant file. 97 --> 98 <target name="set-josmbase-properties" depends="-init-project"> 99 <property name="revision.dir" value="${build.classes.dir}"/> 100 <property name="proj-build.dir" location="${build.dir}/build2"/> 101 <property name="proj-classpath" location="${build.classes.dir}"/> 124 102 </target> 125 <target name="-pre-compile" depends="javacc"> 126 <!-- <javacc target="${mapcss.dir}/MapCSSParser.jj" javacchome="${javacc.home}" outputdirectory="${mapcss.dir}/parsergen"/>--> 127 </target> 103 104 <!-- 105 ** Make sure properties are loaded in the right order. 106 ** E.g. ${build.dir} is set both by Netbeans and by the main JOSM ant file. 107 ** Load the Netbeans properties first, which makes the values permanent. 108 --> 109 <target name="init-josmbase" depends="-init-project, set-josmbase-properties, josmbase.init-properties"/> 110 111 <target name="-pre-compile" depends="init-josmbase, josmbase.javacc"/> 112 113 <target name="-post-compile" depends="init-josmbase, josmbase.epsg, josmbase.create-revision, copy-josm-resources"/> 114 128 115 </project> -
trunk/netbeans/nbproject/genfiles.properties
r7937 r9765 1 nbbuild.xml.data.CRC32= 2a1d79422 nbbuild.xml.script.CRC32= cf6b78f33 nbbuild.xml.stylesheet.CRC32= 28e38971@1.38.2.451 nbbuild.xml.data.CRC32=34ed5462 2 nbbuild.xml.script.CRC32=148a2ea3 3 nbbuild.xml.stylesheet.CRC32=8064a381@1.75.2.48 4 4 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 5 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 nbproject/build-impl.xml.data.CRC32= e047155d7 nbproject/build-impl.xml.script.CRC32= 634455368 nbproject/build-impl.xml.stylesheet.CRC32= 5a01deb7@1.68.1.466 nbproject/build-impl.xml.data.CRC32=f36994fb 7 nbproject/build-impl.xml.script.CRC32=05416174 8 nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 -
trunk/netbeans/nbproject/private/config.properties
r7937 r9765 1 config=local_preferences -
trunk/netbeans/nbproject/project.properties
r8277 r9765 1 annotation.processing.enabled= false1 annotation.processing.enabled=true 2 2 annotation.processing.enabled.in.editor=false 3 3 annotation.processing.processors.list= … … 24 24 debug.test.classpath=\ 25 25 ${run.test.classpath} 26 # Files in build.classes.dir which should be excluded from distribution jar 27 dist.archive.excludes= 26 28 # This directory is removed when the project is cleaned: 27 29 dist.dir=dist … … 29 31 dist.javadoc.dir=${dist.dir}/javadoc 30 32 endorsed.classpath= 31 excludes=org/apache/commons/compress/compressors/CompressorStreamFactory.java,org/apache/commons/jcs/admin/servlet/**,org/apache/commons/jcs/auxiliary/disk/jdbc/**,org/apache/commons/jcs/auxiliary/remote/http/**,org/apache/commons/jcs/auxiliary/remote/server/RemoteCacheStartupServlet.java,org/apache/commons/jcs/utils/servlet/**,org/apache/commons/logging/impl/AvalonLogger.java,org/apache/commons/logging/impl/Jdk13LumberjackLogger.java,org/apache/commons/logging/impl/Log4JLogger.java,org/apache/commons/logging/impl/LogKitLogger.java,org/apache/commons/logging/impl/ServletContextCleaner.java 33 excludes=org/apache/commons/compress/compressors/lzma/**,org/apache/commons/compress/compressors/xz/**,org/apache/commons/compress/compressors/CompressorStreamFactory.java,org/apache/commons/compress/compressors/deflate/**,org/apache/commons/compress/compressors/gzip/**,org/apache/commons/compress/compressors/lzw/**,org/apache/commons/compress/compressors/pack200/**,org/apache/commons/compress/compressors/snappy/**,org/apache/commons/compress/compressors/z/**,org/apache/commons/jcs/admin/servlet/**,org/apache/commons/jcs/auxiliary/disk/jdbc/**,org/apache/commons/jcs/auxiliary/remote/http/**,org/apache/commons/jcs/auxiliary/remote/server/RemoteCacheStartupServlet.java,org/apache/commons/jcs/utils/servlet/**,org/apache/commons/logging/impl/AvalonLogger.java,org/apache/commons/logging/impl/Jdk13LumberjackLogger.java,org/apache/commons/logging/impl/Log4JLogger.java,org/apache/commons/logging/impl/LogKitLogger.java,org/apache/commons/logging/impl/ServletContextCleaner.java,org/openstreetmap/gui/jmapviewer/Demo.java 34 file.reference.commons-collections-3.2.jar=../test/lib/unitils-core/commons-collections-3.2.jar 35 file.reference.commons-lang-2.3.jar=../test/lib/unitils-core/commons-lang-2.3.jar 36 file.reference.commons-logging-1.1.jar=../test/lib/unitils-core/commons-logging-1.1.jar 32 37 file.reference.core-src=../src 33 file.reference.core=.. 38 file.reference.debug-1.0.jar=../test/lib/fest/debug-1.0.jar 39 file.reference.equalsverifier-1.7.6.jar=../test/lib/equalsverifier-1.7.6.jar 40 file.reference.fest-assert-1.0.jar=../test/lib/fest/fest-assert-1.0.jar 41 file.reference.fest-reflect-1.1.jar=../test/lib/fest/fest-reflect-1.1.jar 42 file.reference.fest-swing-1.1.jar=../test/lib/fest/fest-swing-1.1.jar 43 file.reference.fest-util-1.0.jar=../test/lib/fest/fest-util-1.0.jar 44 file.reference.findbugs.jar=../tools/findbugs/findbugs.jar 45 file.reference.hamcrest-core-1.3.jar=../test/lib/junit/hamcrest-core-1.3.jar 46 file.reference.jcip-annotations-1.0.jar=../test/lib/fest/jcip-annotations-1.0.jar 47 file.reference.jfcunit.jar=../test/lib/jfcunit.jar 48 file.reference.junit-4.12.jar=../test/lib/junit/junit-4.12.jar 49 file.reference.MRJToolkitStubs-1.0.jar=../test/lib/fest/MRJToolkitStubs-1.0.jar 50 file.reference.ognl-2.6.9.jar=../test/lib/unitils-core/ognl-2.6.9.jar 51 file.reference.test-functional=../test/functional 52 file.reference.test-performance=../test/performance 34 53 file.reference.test-unit=../test/unit 35 includes=org/apache/commons/compress/compressors/*.java,org/apache/commons/compress/compressors/bzip2/*.java,org/apache/commons/codec/**/*.java,org/glassfish/**/*.java,org/jdesktop/**/*.java,org/openstreetmap/**/*.java,org/w3/**/*.java,gnu/**/*.java,javax/**/*.java,oauth/**/*.java,com/**/*.java,org/apache/commons/logging/**/*.java,org/apache/commons/jcs/**/*.java,images/**,org/openstreetmap/gui/**/*.png,data/**,styles/**,LICENSE,README,CONTRIBUTION,gpl-2.0.txt,gpl-3.0.txt 36 jar.archive.disabled=${jnlp.enabled} 54 file.reference.unitils-core-3.4.2.jar=../test/lib/unitils-core/unitils-core-3.4.2.jar 55 includes=**/*.java 37 56 jar.compress=false 38 jar.index=${jnlp.enabled}39 57 javac.classpath= 40 58 # Space-separated list of extra javac options 41 javac.compilerargs=-Xlint:unchecked -Xlint:cast -Xlint:dep-ann -Xlint:divzero -Xlint:empty -Xlint:finally -Xlint:overrides -Xlint:static -Xlint:try -Xlint:deprecation 59 javac.compilerargs=-Xlint:unchecked -Xlint:cast -Xlint:dep-ann -Xlint:divzero -Xlint:empty -Xlint:finally -Xlint:overrides -Xlint:static -Xlint:try -Xlint:deprecation 42 60 javac.deprecation=true 43 61 javac.processorpath=\ … … 48 66 ${javac.classpath}:\ 49 67 ${build.classes.dir}:\ 50 ${libs.junit.classpath}:\ 51 ${libs.junit_4.classpath} 68 ${file.reference.junit-4.12.jar}:\ 69 ${file.reference.equalsverifier-1.7.6.jar}:\ 70 ${file.reference.jfcunit.jar}:\ 71 ${file.reference.hamcrest-core-1.3.jar}:\ 72 ${file.reference.MRJToolkitStubs-1.0.jar}:\ 73 ${file.reference.debug-1.0.jar}:\ 74 ${file.reference.fest-assert-1.0.jar}:\ 75 ${file.reference.fest-reflect-1.1.jar}:\ 76 ${file.reference.fest-swing-1.1.jar}:\ 77 ${file.reference.fest-util-1.0.jar}:\ 78 ${file.reference.jcip-annotations-1.0.jar}:\ 79 ${file.reference.commons-collections-3.2.jar}:\ 80 ${file.reference.commons-lang-2.3.jar}:\ 81 ${file.reference.commons-logging-1.1.jar}:\ 82 ${file.reference.ognl-2.6.9.jar}:\ 83 ${file.reference.unitils-core-3.4.2.jar}:\ 84 ${file.reference.findbugs.jar} 52 85 javac.test.processorpath=\ 53 86 ${javac.test.classpath} … … 63 96 javadoc.version=false 64 97 javadoc.windowtitle= 65 jnlp.codebase.type=no.codebase66 jnlp.descriptor=application67 jnlp.enabled=false68 jnlp.mixed.code=default69 jnlp.offline-allowed=false70 jnlp.signed=false71 jnlp.signing=72 jnlp.signing.alias=73 jnlp.signing.keystore=74 98 main.class=org.openstreetmap.josm.gui.MainApplication 75 99 manifest.file=manifest.mf … … 84 108 ${build.test.classes.dir} 85 109 source.encoding=UTF-8 86 src.core.dir=${file.reference.core}87 110 src.dir=${file.reference.core-src} 111 test.functional.dir=${file.reference.test-functional} 112 test.performance.dir=${file.reference.test-performance} 88 113 test.unit.dir=${file.reference.test-unit} -
trunk/netbeans/nbproject/project.xml
r7937 r9765 7 7 <source-roots> 8 8 <root id="src.dir"/> 9 <root id="src.core.dir"/>10 9 </source-roots> 11 10 <test-roots> 12 <root id="test.unit.dir"/> 11 <root id="test.unit.dir" name="Unit Tests"/> 12 <root id="test.functional.dir" name="Functional Tests"/> 13 <root id="test.performance.dir" name="Performance Tests"/> 13 14 </test-roots> 14 15 </data>
Note:
See TracChangeset
for help on using the changeset viewer.