Changeset 38
- Timestamp:
- Mar 20, 2012, 2:58:13 PM (13 years ago)
- Location:
- trunk/fmgVen/nbproject
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fmgVen/nbproject/build-impl.xml
r37 r38 80 80 </target> 81 81 <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-init-macrodef-property" name="-do-init"> 82 <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/>83 <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/>84 <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/>85 <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/>86 <condition property="platform.javac" value="${platform.home}/bin/javac">87 <equals arg1="${platform.javac.tmp}" arg2="$${platforms.${platform.active}.javac}"/>88 </condition>89 <property name="platform.javac" value="${platform.javac.tmp}"/>90 <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/>91 <condition property="platform.java" value="${platform.home}/bin/java">92 <equals arg1="${platform.java.tmp}" arg2="$${platforms.${platform.active}.java}"/>93 </condition>94 <property name="platform.java" value="${platform.java.tmp}"/>95 <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/>96 <condition property="platform.javadoc" value="${platform.home}/bin/javadoc">97 <equals arg1="${platform.javadoc.tmp}" arg2="$${platforms.${platform.active}.javadoc}"/>98 </condition>99 <property name="platform.javadoc" value="${platform.javadoc.tmp}"/>100 <condition property="platform.invalid" value="true">101 <or>102 <contains string="${platform.javac}" substring="$${platforms."/>103 <contains string="${platform.java}" substring="$${platforms."/>104 <contains string="${platform.javadoc}" substring="$${platforms."/>105 </or>106 </condition>107 <fail unless="platform.home">Must set platform.home</fail>108 <fail unless="platform.bootcp">Must set platform.bootcp</fail>109 <fail unless="platform.java">Must set platform.java</fail>110 <fail unless="platform.javac">Must set platform.javac</fail>111 <fail if="platform.invalid">112 The J2SE Platform is not correctly set up.113 Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files.114 Either open the project in the IDE and setup the Platform with the same name or add it manually.115 For example like this:116 ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file)117 or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used)118 </fail>119 82 <available file="${manifest.file}" property="manifest.available"/> 120 83 <condition property="splashscreen.available"> … … 250 213 <length length="0" string="${endorsed.classpath}" when="greater"/> 251 214 </condition> 215 <condition else="false" property="jdkBug6558476"> 216 <and> 217 <matches pattern="1\.[56]" string="${java.specification.version}"/> 218 <not> 219 <os family="unix"/> 220 </not> 221 </and> 222 </condition> 223 <property name="javac.fork" value="${jdkBug6558476}"/> 252 224 <property name="jar.index" value="false"/> 253 225 <property name="jar.index.metainf" value="${jar.index}"/> … … 297 269 <mkdir dir="${empty.dir}"/> 298 270 <mkdir dir="@{apgeneratedsrcdir}"/> 299 <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">271 <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}"> 300 272 <src> 301 273 <dirset dir="@{gensrcdir}" erroronmissingdir="false"> … … 336 308 <property location="${build.dir}/empty" name="empty.dir"/> 337 309 <mkdir dir="${empty.dir}"/> 338 <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">310 <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}"> 339 311 <src> 340 312 <dirset dir="@{gensrcdir}" erroronmissingdir="false"> … … 393 365 <sequential> 394 366 <property name="junit.forkmode" value="perTest"/> 395 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" jvm="${platform.java}"showoutput="true" tempdir="${build.dir}">367 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}"> 396 368 <batchtest todir="${build.test.results.dir}"> 397 369 <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}"> … … 470 442 <path path="@{classpath}"/> 471 443 </classpath> 472 <bootclasspath>473 <path path="${platform.bootcp}"/>474 </bootclasspath>475 444 </nbjpdastart> 476 445 </sequential> … … 488 457 </target> 489 458 <target name="-init-debug-args"> 490 <exec executable="${platform.java}" outputproperty="version-output"> 491 <arg value="-version"/> 492 </exec> 459 <property name="version-output" value="java version "${ant.java.version}"/> 493 460 <condition property="have-jdk-older-than-1.4"> 494 461 <or> … … 515 482 <element name="customize" optional="true"/> 516 483 <sequential> 517 <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">484 <java classname="@{classname}" dir="${work.dir}" fork="true"> 518 485 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> 519 486 <jvmarg line="${debug-args-line}"/> … … 540 507 <element name="customize" optional="true"/> 541 508 <sequential> 542 <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">509 <java classname="@{classname}" dir="${work.dir}" fork="true"> 543 510 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> 544 511 <jvmarg value="-Dfile.encoding=${runtime.encoding}"/> … … 723 690 <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/> 724 691 </pathconvert> 725 <echo level="info"> ${platform.java}-cp "${run.classpath.with.dist.jar}" ${main.class}</echo>692 <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo> 726 693 </target> 727 694 <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available"> … … 750 717 <echo level="info">To run this application from the command line without Ant, try:</echo> 751 718 <property location="${dist.jar}" name="dist.jar.resolved"/> 752 <echo level="info"> ${platform.java}-jar "${dist.jar.resolved}"</echo>719 <echo level="info">java -jar "${dist.jar.resolved}"</echo> 753 720 </target> 754 721 <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest"> … … 908 875 </and> 909 876 </condition> 910 <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" executable="${platform.javadoc}"failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">877 <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}"> 911 878 <classpath> 912 879 <path path="${javac.classpath}"/> -
trunk/fmgVen/nbproject/genfiles.properties
r37 r38 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= 31e5c25b7 nbproject/build-impl.xml.script.CRC32= 74d9d8818 nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50. 1.466 nbproject/build-impl.xml.data.CRC32=6b84a8b1 7 nbproject/build-impl.xml.script.CRC32=84e2f99a 8 nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50.2.46 -
trunk/fmgVen/nbproject/project.properties
r37 r38 55 55 meta.inf.dir=${src.dir}/META-INF 56 56 mkdist.disabled=true 57 platform.active= JDK_1.557 platform.active=default_platform 58 58 run.classpath=\ 59 59 ${javac.classpath}:\ -
trunk/fmgVen/nbproject/project.xml
r26 r38 6 6 <name>fmgVen</name> 7 7 <minimum-ant-version>1.6.5</minimum-ant-version> 8 <explicit-platform explicit-source-supported="true"/>9 8 <source-roots> 10 9 <root id="src.dir"/>
Note: See TracChangeset
for help on using the changeset viewer.