Changeset 12 in tmcsimulator for trunk/IDE_metadata/NetBeans/TMCSim
- Timestamp:
- 04/21/2016 03:59:55 PM (10 years ago)
- Location:
- trunk/IDE_metadata/NetBeans/TMCSim
- Files:
-
- 5 edited
-
build.xml (modified) (4 diffs)
-
nbproject/build-impl.xml (modified) (16 diffs)
-
nbproject/genfiles.properties (modified) (1 diff)
-
nbproject/project.properties (modified) (1 diff)
-
nbproject/project.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE_metadata/NetBeans/TMCSim/build.xml
r7 r12 88 88 tmcsim/client/cadclientgui/**, tmcsim/cadmodels/**" 89 89 excludes="**/Test.class"> 90 <zipgroupfileset dir="dist/lib" includes="xercesImpl.jar"/> 90 91 <manifest> 91 92 <attribute name="Main-Class" value="tmcsim.cadsimulator.CADSimulator"/> … … 99 100 tmcsim/client/cadclientgui/**, tmcsim/interfaces/**" 100 101 excludes="**/Test.class"> 102 <zipgroupfileset dir="dist/lib" includes="xercesImpl.jar"/> 101 103 <manifest> 102 104 <attribute name="Main-Class" value="tmcsim.simulationmanager.SimulationManager"/> … … 109 111 includes="tmcsim/client/**, tmcsim/common/**, tmcsim/interfaces/**, 110 112 tmcsim/cadmodels/**"> 113 <zipgroupfileset dir="dist/lib" includes="xercesImpl.jar"/> 111 114 <manifest> 112 115 <attribute name="Main-Class" value="tmcsim.client.CADClient"/> … … 121 124 includes="tmcsim/paramicscommunicator/**, tmcsim/common/**" 122 125 excludes="**/Test.class"> 126 <zipgroupfileset dir="dist/lib" includes="xercesImpl.jar"/> 123 127 <manifest> 124 128 <attribute name="Main-Class" value="tmcsim.paramicscommunicator.ParamicsCommunicator"/> -
trunk/IDE_metadata/NetBeans/TMCSim/nbproject/build-impl.xml
r2 r12 55 55 </target> 56 56 <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init"> 57 <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/> 58 <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/> 59 <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/> 60 <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/> 61 <condition property="platform.javac" value="${platform.home}/bin/javac"> 62 <equals arg1="${platform.javac.tmp}" arg2="$${platforms.${platform.active}.javac}"/> 63 </condition> 64 <property name="platform.javac" value="${platform.javac.tmp}"/> 65 <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/> 66 <condition property="platform.java" value="${platform.home}/bin/java"> 67 <equals arg1="${platform.java.tmp}" arg2="$${platforms.${platform.active}.java}"/> 68 </condition> 69 <property name="platform.java" value="${platform.java.tmp}"/> 70 <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/> 71 <condition property="platform.javadoc" value="${platform.home}/bin/javadoc"> 72 <equals arg1="${platform.javadoc.tmp}" arg2="$${platforms.${platform.active}.javadoc}"/> 73 </condition> 74 <property name="platform.javadoc" value="${platform.javadoc.tmp}"/> 75 <condition property="platform.invalid" value="true"> 76 <or> 77 <contains string="${platform.javac}" substring="$${platforms."/> 78 <contains string="${platform.java}" substring="$${platforms."/> 79 <contains string="${platform.javadoc}" substring="$${platforms."/> 80 </or> 81 </condition> 82 <fail unless="platform.home">Must set platform.home</fail> 83 <fail unless="platform.bootcp">Must set platform.bootcp</fail> 84 <fail unless="platform.java">Must set platform.java</fail> 85 <fail unless="platform.javac">Must set platform.javac</fail> 86 <fail if="platform.invalid"> 87 The J2SE Platform is not correctly set up. 88 Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. 89 Either open the project in the IDE and setup the Platform with the same name or add it manually. 90 For example like this: 91 ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file) 92 or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) 93 </fail> 57 94 <available file="${manifest.file}" property="manifest.available"/> 58 95 <condition property="splashscreen.available"> … … 189 226 <length length="0" string="${endorsed.classpath}" when="greater"/> 190 227 </condition> 191 <condition else="false" property="jdkBug6558476">192 <and>193 <matches pattern="1\.[56]" string="${java.specification.version}"/>194 <not>195 <os family="unix"/>196 </not>197 </and>198 </condition>199 <property name="javac.fork" value="${jdkBug6558476}"/>200 228 <property name="jar.index" value="false"/> 201 229 <property name="jar.index.metainf" value="${jar.index}"/> … … 266 294 <mkdir dir="${empty.dir}"/> 267 295 <mkdir dir="@{apgeneratedsrcdir}"/> 268 <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}">296 <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}"> 269 297 <src> 270 298 <dirset dir="@{gensrcdir}" erroronmissingdir="false"> … … 305 333 <property location="${build.dir}/empty" name="empty.dir"/> 306 334 <mkdir dir="${empty.dir}"/> 307 <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}">335 <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}"> 308 336 <src> 309 337 <dirset dir="@{gensrcdir}" erroronmissingdir="false"> … … 385 413 <sequential> 386 414 <property name="junit.forkmode" value="perTest"/> 387 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">415 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" jvm="${platform.java}" showoutput="true" tempdir="${build.dir}"> 388 416 <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/> 389 417 <syspropertyset> … … 408 436 <sequential> 409 437 <property name="junit.forkmode" value="perTest"/> 410 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">438 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" jvm="${platform.java}" showoutput="true" tempdir="${build.dir}"> 411 439 <batchtest todir="${build.test.results.dir}"> 412 440 <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}"> … … 447 475 </union> 448 476 <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/> 449 <testng classfilesetref="test.set" failureProperty="tests.failed" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="TMCSim" testname="TestNG tests" workingDir="${work.dir}">477 <testng classfilesetref="test.set" failureProperty="tests.failed" jvm="${platform.java}" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="TMCSim" testname="TestNG tests" workingDir="${work.dir}"> 450 478 <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/> 451 479 <propertyset> … … 527 555 <sequential> 528 556 <property name="junit.forkmode" value="perTest"/> 529 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">557 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" jvm="${platform.java}" showoutput="true" tempdir="${build.dir}"> 530 558 <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/> 531 559 <syspropertyset> … … 552 580 <sequential> 553 581 <property name="junit.forkmode" value="perTest"/> 554 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">582 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" jvm="${platform.java}" showoutput="true" tempdir="${build.dir}"> 555 583 <batchtest todir="${build.test.results.dir}"> 556 584 <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}"> … … 732 760 <path path="@{classpath}"/> 733 761 </classpath> 762 <bootclasspath> 763 <path path="${platform.bootcp}"/> 764 </bootclasspath> 734 765 </nbjpdastart> 735 766 </sequential> … … 747 778 </target> 748 779 <target name="-init-debug-args"> 749 <property name="version-output" value="java version "${ant.java.version}"/> 780 <exec executable="${platform.java}" outputproperty="version-output"> 781 <arg value="-version"/> 782 </exec> 750 783 <condition property="have-jdk-older-than-1.4"> 751 784 <or> … … 772 805 <element name="customize" optional="true"/> 773 806 <sequential> 774 <java classname="@{classname}" dir="${work.dir}" fork="true" >807 <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}"> 775 808 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> 776 809 <jvmarg line="${debug-args-line}"/> … … 799 832 <element name="customize" optional="true"/> 800 833 <sequential> 801 <java classname="@{classname}" dir="${work.dir}" fork="true" >834 <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}"> 802 835 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> 803 836 <jvmarg value="-Dfile.encoding=${runtime.encoding}"/> … … 986 1019 <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/> 987 1020 </pathconvert> 988 <echo level="info"> java-cp "${run.classpath.with.dist.jar}" ${main.class}</echo>1021 <echo level="info">${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo> 989 1022 </target> 990 1023 <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available"> … … 1013 1046 <echo level="info">To run this application from the command line without Ant, try:</echo> 1014 1047 <property location="${dist.jar}" name="dist.jar.resolved"/> 1015 <echo level="info"> java-jar "${dist.jar.resolved}"</echo>1048 <echo level="info">${platform.java} -jar "${dist.jar.resolved}"</echo> 1016 1049 </target> 1017 1050 <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest"> … … 1204 1237 </and> 1205 1238 </condition> 1206 <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}">1239 <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}"> 1207 1240 <classpath> 1208 1241 <path path="${javac.classpath}"/> -
trunk/IDE_metadata/NetBeans/TMCSim/nbproject/genfiles.properties
r2 r12 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= 6c7221c67 nbproject/build-impl.xml.script.CRC32= b1dd34e86 nbproject/build-impl.xml.data.CRC32=e14f63c1 7 nbproject/build-impl.xml.script.CRC32=53f7f34a 8 8 nbproject/build-impl.xml.stylesheet.CRC32=c6d2a60f@1.56.1.46 -
trunk/IDE_metadata/NetBeans/TMCSim/nbproject/project.properties
r11 r12 67 67 meta.inf.dir=${src.dir}/META-INF 68 68 mkdist.disabled=false 69 platform.active= default_platform69 platform.active=JDK_1.7 70 70 run.classpath=\ 71 71 ${javac.classpath}:\ -
trunk/IDE_metadata/NetBeans/TMCSim/nbproject/project.xml
r2 r12 5 5 <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> 6 6 <name>TMCSim</name> 7 <explicit-platform explicit-source-supported="true"/> 7 8 <source-roots> 8 9 <root id="src.dir"/>
Note: See TracChangeset
for help on using the changeset viewer.
