sysout debugging the build: print weaving scheme
diff --git a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
index 05f3e17..1bcffa8 100644
--- a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
+++ b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
@@ -1735,6 +1735,7 @@
// decode command line arguments
try {
configure(argv);
+System.out.println("OT-Weaving: "+this.options.get(CompilerOptions.OPTION_WeavingScheme));
if (this.progress != null)
this.progress.begin(this.filenames == null ? 0 : this.filenames.length * this.maxRepetition);
if (this.proceed) {
@@ -2515,6 +2516,7 @@
continue;
}
if (currentArg.equals("-ot.weaving:otdre")) { //$NON-NLS-1$
+System.out.println(currentArg);
mode = DEFAULT;
this.options.put(
CompilerOptions.OPTION_WeavingScheme,
@@ -4290,6 +4292,7 @@
FileSystem environment = getLibraryAccess();
this.compilerOptions = new CompilerOptions(this.options);
+System.out.println("CompilerOptions.weavingScheme: "+this.compilerOptions.weavingScheme);
this.compilerOptions.performMethodsFullRecovery = false;
this.compilerOptions.performStatementsRecovery = false;
this.batchCompiler =