]> source.dussan.org Git - aspectj.git/commitdiff
sick and tired of checking these classes out of CVS and hacking debug ON. The only...
authoraclement <aclement>
Wed, 17 May 2006 15:49:37 +0000 (15:49 +0000)
committeraclement <aclement>
Wed, 17 May 2006 15:49:37 +0000 (15:49 +0000)
org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java
org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java
run-all-junit-tests/RunTheseBeforeYouCommitTests_NODEBUG.launch [new file with mode: 0644]

index 83150456c837738689e8ae317533e7c5f7510e03..2a8ef08885a68946cdcb58d1eb9ad53b55d0a300 100644 (file)
@@ -80,7 +80,7 @@ public class Ajc {
        private int incrementalStage = 10;
        private boolean shouldEmptySandbox = true;
        private AjcCommandController controller;
-       private static boolean verbose = false;//System.getProperty("org.aspectj.tools.ajc.Ajc.verbose","false").equals("true");
+       private static boolean verbose = System.getProperty("org.aspectj.tools.ajc.Ajc.verbose","true").equals("true");
 
        /**
         * Constructs a new Ajc instance, with a new AspectJ compiler
index f656a1c2104a9b488f00bd9472962f1d3d53aa51..f06fb12945168e090da92238e40a61222c16055f 100644 (file)
@@ -92,7 +92,7 @@ public class AjcTestCase extends TestCase {
        public final static PrintStream out = System.out;
        private final static DelegatingOutputStream delegatingErr;
        private final static DelegatingOutputStream delegatingOut;
-       public final static boolean DEFAULT_VERBOSE = false;//getBoolean("org.aspectj.tools.ajc.AjcTestCase.verbose",false); 
+       public final static boolean DEFAULT_VERBOSE = getBoolean("org.aspectj.tools.ajc.AjcTestCase.verbose",true); 
        public final static boolean DEFAULT_ERR_VERBOSE = getBoolean("org.aspectj.tools.ajc.AjcTestCase.verbose.err",DEFAULT_VERBOSE); 
        public final static boolean DEFAULT_OUT_VERBOSE = getBoolean("org.aspectj.tools.ajc.AjcTestCase.verbose.out",DEFAULT_VERBOSE); 
 
diff --git a/run-all-junit-tests/RunTheseBeforeYouCommitTests_NODEBUG.launch b/run-all-junit-tests/RunTheseBeforeYouCommitTests_NODEBUG.launch
new file mode 100644 (file)
index 0000000..9d3722a
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<launchConfiguration type="org.eclipse.jdt.junit.launchconfig">
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="RunTheseBeforeYouCommitTests"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="run-all-junit-tests"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dorg.aspectj.tools.ajc.Ajc.verbose=false -Dorg.aspectj.tools.ajc.AjcTestCase.verbose=false"/>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+</launchConfiguration>