Changeset 7 in tmcsimulator-scriptbuilder for trunk/nbproject/build-impl.xml
- Timestamp:
- 07/25/2017 11:16:45 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
nbproject/build-impl.xml (modified) (20 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:ignore
set to
build
-
Property
svn:ignore
set to
-
trunk/nbproject/build-impl.xml
r4 r7 20 20 21 21 --> 22 <project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="ScriptBuilder -impl">22 <project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="ScriptBuilder_Repo-impl"> 23 23 <fail message="Please build using Ant 1.8.0 or higher."> 24 24 <condition> … … 47 47 <!-- The two properties below are usually overridden --> 48 48 <!-- by the active platform. Just a fallback. --> 49 <property name="default.javac.source" value="1. 6"/>50 <property name="default.javac.target" value="1. 6"/>49 <property name="default.javac.source" value="1.4"/> 50 <property name="default.javac.target" value="1.4"/> 51 51 </target> 52 52 <target depends="-pre-init,-init-private,-init-user" name="-init-project"> … … 77 77 <isset property="javac.profile"/> 78 78 <length length="0" string="${javac.profile}" when="greater"/> 79 <matches pattern=" ((1\.[89])|9)(\..*)?" string="${javac.source}"/>79 <matches pattern="1\.[89](\..*)?" string="${javac.source}"/> 80 80 </and> 81 81 </condition> 82 82 <condition property="do.archive"> 83 <or> 84 <not> 85 <istrue value="${jar.archive.disabled}"/> 86 </not> 87 <istrue value="${not.archive.disabled}"/> 88 </or> 83 <not> 84 <istrue value="${jar.archive.disabled}"/> 85 </not> 89 86 </condition> 90 87 <condition property="do.mkdist"> … … 157 154 <property name="source.encoding" value="${file.encoding}"/> 158 155 <property name="runtime.encoding" value="${source.encoding}"/> 159 <property name="manifest.encoding" value="${source.encoding}"/>160 156 <condition property="javadoc.encoding.used" value="${javadoc.encoding}"> 161 157 <and> … … 193 189 </and> 194 190 </condition> 195 <condition else="false" property="javac.fork"> 196 <or> 197 <istrue value="${jdkBug6558476}"/> 198 <istrue value="${javac.external.vm}"/> 199 </or> 200 </condition> 191 <property name="javac.fork" value="${jdkBug6558476}"/> 201 192 <property name="jar.index" value="false"/> 202 193 <property name="jar.index.metainf" value="${jar.index}"/> … … 224 215 <istrue value="${junit+testng.available}"/> 225 216 </condition> 226 <property name="java.failonerror" value="true"/>227 217 </target> 228 218 <target name="-post-init"> … … 451 441 </union> 452 442 <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/> 453 <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="ScriptBuilder " testname="TestNG tests" workingDir="${work.dir}">443 <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="ScriptBuilder_Repo" testname="TestNG tests" workingDir="${work.dir}"> 454 444 <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/> 455 445 <propertyset> … … 602 592 <isset property="test.method"/> 603 593 </condition> 604 <condition else="-suitename ScriptBuilder -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">594 <condition else="-suitename ScriptBuilder_Repo -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}"> 605 595 <matches pattern=".*\.xml" string="@{testClass}"/> 606 596 </condition> … … 701 691 <property environment="env"/> 702 692 <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/> 703 <java classname="@{classname}" dir="${profiler.info.dir}" f ailonerror="${java.failonerror}" fork="true" jvm="${profiler.info.jvm}">693 <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}"> 704 694 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> 705 695 <jvmarg value="${profiler.info.jvmargs.agent}"/> … … 776 766 <element name="customize" optional="true"/> 777 767 <sequential> 778 <java classname="@{classname}" dir="${work.dir}" f ailonerror="${java.failonerror}" fork="true">768 <java classname="@{classname}" dir="${work.dir}" fork="true"> 779 769 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> 780 770 <jvmarg line="${debug-args-line}"/> … … 803 793 <element name="customize" optional="true"/> 804 794 <sequential> 805 <java classname="@{classname}" dir="${work.dir}" f ailonerror="${java.failonerror}" fork="true">795 <java classname="@{classname}" dir="${work.dir}" fork="true"> 806 796 <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> 807 797 <jvmarg value="-Dfile.encoding=${runtime.encoding}"/> … … 842 832 </pathconvert> 843 833 <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/> 844 <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" manifestencoding="UTF-8"rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">834 <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}"> 845 835 <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/> 846 836 <manifest> … … 854 844 <target name="-init-presetdef-jar"> 855 845 <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1"> 856 <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}" manifestencoding="UTF-8">846 <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}"> 857 847 <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/> 858 848 </jar> … … 894 884 </target> 895 885 <target if="already.built.jar.${basedir}" name="-warn-already-built-jar"> 896 <echo level="warn" message="Cycle detected: ScriptBuilder was already built"/>886 <echo level="warn" message="Cycle detected: ScriptBuilder_Repo was already built"/> 897 887 </target> 898 888 <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps"> … … 977 967 <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest"> 978 968 <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/> 979 <copy encoding="${manifest.encoding}" file="${manifest.file}" outputencoding="UTF-8" tofile="${tmp.manifest.file}"/>969 <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/> 980 970 </target> 981 971 <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass"> 982 <manifest encoding="UTF-8"file="${tmp.manifest.file}" mode="update">972 <manifest file="${tmp.manifest.file}" mode="update"> 983 973 <attribute name="Main-Class" value="${main.class}"/> 984 974 </manifest> 985 975 </target> 986 976 <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile"> 987 <manifest encoding="UTF-8"file="${tmp.manifest.file}" mode="update">977 <manifest file="${tmp.manifest.file}" mode="update"> 988 978 <attribute name="Profile" value="${javac.profile}"/> 989 979 </manifest> … … 993 983 <mkdir dir="${build.classes.dir}/META-INF"/> 994 984 <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/> 995 <manifest encoding="UTF-8"file="${tmp.manifest.file}" mode="update">985 <manifest file="${tmp.manifest.file}" mode="update"> 996 986 <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/> 997 987 </manifest> … … 1188 1178 <fail unless="run.class">Must select one file in the IDE or set run.class</fail> 1189 1179 <startprofiler/> 1190 <antcal ltarget="run-test-with-main"/>1180 <antcal target="run-test-with-main"/> 1191 1181 </target> 1192 1182 <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent"> … … 1210 1200 </and> 1211 1201 </condition> 1212 <condition else="" property="bug5101868workaround" value="*.java"> 1213 <matches pattern="1\.[56](\..*)?" string="${java.version}"/> 1214 </condition> 1215 <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${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}"> 1202 <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}"> 1216 1203 <classpath> 1217 1204 <path path="${javac.classpath}"/> 1218 1205 </classpath> 1219 <fileset dir="${src.dir}" excludes=" ${bug5101868workaround},${excludes}" includes="${includes}">1206 <fileset dir="${src.dir}" excludes="*.java,${excludes}" includes="${includes}"> 1220 1207 <filename name="**/*.java"/> 1221 1208 </fileset> … … 1291 1278 </target> 1292 1279 <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run"> 1293 <j2seproject3:test includes="${includes}"testincludes="**/*Test.java"/>1280 <j2seproject3:test testincludes="**/*Test.java"/> 1294 1281 </target> 1295 1282 <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run"> … … 1379 1366 </target> 1380 1367 <target if="already.built.clean.${basedir}" name="-warn-already-built-clean"> 1381 <echo level="warn" message="Cycle detected: ScriptBuilder was already built"/>1368 <echo level="warn" message="Cycle detected: ScriptBuilder_Repo was already built"/> 1382 1369 </target> 1383 1370 <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
Note: See TracChangeset
for help on using the changeset viewer.
