Changeset 26 for trunk/fmgVen/nbproject
- Timestamp:
- Jan 2, 2011, 8:51:21 PM (14 years ago)
- Location:
- trunk/fmgVen/nbproject
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fmgVen/nbproject/build-impl.xml
r19 r26 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> 82 119 <available file="${manifest.file}" property="manifest.available"/> 83 120 <available file="${application.splash}" property="splashscreen.available"/> … … 199 236 <length length="0" string="${endorsed.classpath}" when="greater"/> 200 237 </condition> 201 <property name="javac.fork" value="false"/>202 238 <property name="jar.index" value="false"/> 203 239 <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/> … … 245 281 <mkdir dir="${empty.dir}"/> 246 282 <mkdir dir="@{apgeneratedsrcdir}"/> 247 <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}">283 <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}"> 248 284 <src> 249 285 <dirset dir="@{gensrcdir}" erroronmissingdir="false"> … … 284 320 <property location="${build.dir}/empty" name="empty.dir"/> 285 321 <mkdir dir="${empty.dir}"/> 286 <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}">322 <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}"> 287 323 <src> 288 324 <dirset dir="@{gensrcdir}" erroronmissingdir="false"> … … 335 371 <attribute default="**" name="testincludes"/> 336 372 <sequential> 337 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">373 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${platform.java}" showoutput="true" tempdir="${build.dir}"> 338 374 <batchtest todir="${build.test.results.dir}"> 339 375 <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}"> … … 366 402 <path path="@{classpath}"/> 367 403 </classpath> 404 <bootclasspath> 405 <path path="${platform.bootcp}"/> 406 </bootclasspath> 368 407 </nbjpdastart> 369 408 </sequential> … … 381 420 </target> 382 421 <target name="-init-debug-args"> 383 <property name="version-output" value="java version "${ant.java.version}"/> 422 <exec executable="${platform.java}" outputproperty="version-output"> 423 <arg value="-version"/> 424 </exec> 384 425 <condition property="have-jdk-older-than-1.4"> 385 426 <or> … … 406 447 <element name="customize" optional="true"/> 407 448 <sequential> 408 <java classname="@{classname}" dir="${work.dir}" fork="true" >449 <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}"> 409 450 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> 410 451 <jvmarg line="${debug-args-line}"/> … … 431 472 <element name="customize" optional="true"/> 432 473 <sequential> 433 <java classname="@{classname}" dir="${work.dir}" fork="true" >474 <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}"> 434 475 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> 435 476 <jvmarg value="-Dfile.encoding=${runtime.encoding}"/> … … 613 654 <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/> 614 655 </pathconvert> 615 <echo> java-cp "${run.classpath.with.dist.jar}" ${main.class}</echo>656 <echo>${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo> 616 657 </target> 617 658 <target depends="init,compile,-pre-pre-jar,-pre-jar,-init-macrodef-copylibs" if="do.archive+manifest.available+main.class+mkdist.available+splashscreen.available" name="-do-jar-with-libraries-and-splashscreen"> … … 627 668 <echo>To run this application from the command line without Ant, try:</echo> 628 669 <property location="${dist.jar}" name="dist.jar.resolved"/> 629 <echo> java-jar "${dist.jar.resolved}"</echo>670 <echo>${platform.java} -jar "${dist.jar.resolved}"</echo> 630 671 </target> 631 672 <target depends="init,compile,-pre-pre-jar,-pre-jar,-init-macrodef-copylibs" if="do.archive+manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries" unless="splashscreen.available"> … … 637 678 <echo>To run this application from the command line without Ant, try:</echo> 638 679 <property location="${dist.jar}" name="dist.jar.resolved"/> 639 <echo> java-jar "${dist.jar.resolved}"</echo>680 <echo>${platform.java} -jar "${dist.jar.resolved}"</echo> 640 681 </target> 641 682 <target name="-post-jar"> … … 715 756 <target depends="init" if="have.sources" name="-javadoc-build"> 716 757 <mkdir dir="${dist.javadoc.dir}"/> 717 <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}">758 <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}"> 718 759 <classpath> 719 760 <path path="${javac.classpath}"/> -
trunk/fmgVen/nbproject/genfiles.properties
r23 r26 1 build.xml.data.CRC32= 6b84a8b11 build.xml.data.CRC32=31e5c25b 2 2 build.xml.script.CRC32=a9b2e5a3 3 3 build.xml.stylesheet.CRC32=28e38971@1.38.1.45 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= 6b84a8b17 nbproject/build-impl.xml.script.CRC32= 494c2ca46 nbproject/build-impl.xml.data.CRC32=31e5c25b 7 nbproject/build-impl.xml.script.CRC32=68c11675 8 8 nbproject/build-impl.xml.stylesheet.CRC32=78c6a6ee@1.38.1.45 -
trunk/fmgVen/nbproject/project.properties
r24 r26 30 30 ${libs.Ven.classpath} 31 31 # Space-separated list of extra javac options 32 javac.compilerargs= -Xlint:deprecation32 javac.compilerargs= 33 33 javac.deprecation=false 34 34 javac.processorpath=\ … … 53 53 javadoc.windowtitle= 54 54 meta.inf.dir=${src.dir}/META-INF 55 platform.active= default_platform55 platform.active=JDK_1.4 56 56 run.classpath=\ 57 57 ${javac.classpath}:\ -
trunk/fmgVen/nbproject/project.xml
r23 r26 6 6 <name>fmgVen</name> 7 7 <minimum-ant-version>1.6.5</minimum-ant-version> 8 <explicit-platform explicit-source-supported="true"/> 8 9 <source-roots> 9 10 <root id="src.dir"/>
Note: See TracChangeset
for help on using the changeset viewer.