作業部屋の使い方を試しています。
NetBeans IDE 8.0.2 -> 8.1
@@ -191,7 +191,12 @@ | ||
191 | 191 | </not> |
192 | 192 | </and> |
193 | 193 | </condition> |
194 | - <property name="javac.fork" value="${jdkBug6558476}"/> | |
194 | + <condition else="false" property="javac.fork"> | |
195 | + <or> | |
196 | + <istrue value="${jdkBug6558476}"/> | |
197 | + <istrue value="${javac.external.vm}"/> | |
198 | + </or> | |
199 | + </condition> | |
195 | 200 | <property name="jar.index" value="false"/> |
196 | 201 | <property name="jar.index.metainf" value="${jar.index}"/> |
197 | 202 | <property name="copylibs.rebase" value="true"/> |
@@ -217,6 +222,7 @@ | ||
217 | 222 | <condition else="" property="testng.debug.mode" value="-mixed"> |
218 | 223 | <istrue value="${junit+testng.available}"/> |
219 | 224 | </condition> |
225 | + <property name="java.failonerror" value="true"/> | |
220 | 226 | </target> |
221 | 227 | <target name="-post-init"> |
222 | 228 | <!-- Empty placeholder for easier customization. --> |
@@ -693,7 +699,7 @@ | ||
693 | 699 | <sequential> |
694 | 700 | <property environment="env"/> |
695 | 701 | <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/> |
696 | - <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}"> | |
702 | + <java classname="@{classname}" dir="${profiler.info.dir}" failonerror="${java.failonerror}" fork="true" jvm="${profiler.info.jvm}"> | |
697 | 703 | <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> |
698 | 704 | <jvmarg value="${profiler.info.jvmargs.agent}"/> |
699 | 705 | <jvmarg line="${profiler.info.jvmargs}"/> |
@@ -768,7 +774,7 @@ | ||
768 | 774 | <attribute default="${debug.classpath}" name="classpath"/> |
769 | 775 | <element name="customize" optional="true"/> |
770 | 776 | <sequential> |
771 | - <java classname="@{classname}" dir="${work.dir}" fork="true"> | |
777 | + <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true"> | |
772 | 778 | <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> |
773 | 779 | <jvmarg line="${debug-args-line}"/> |
774 | 780 | <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/> |
@@ -795,7 +801,7 @@ | ||
795 | 801 | <attribute default="jvm" name="jvm"/> |
796 | 802 | <element name="customize" optional="true"/> |
797 | 803 | <sequential> |
798 | - <java classname="@{classname}" dir="${work.dir}" fork="true"> | |
804 | + <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true"> | |
799 | 805 | <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> |
800 | 806 | <jvmarg value="-Dfile.encoding=${runtime.encoding}"/> |
801 | 807 | <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/> |