You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by br...@apache.org on 2005/03/17 00:17:38 UTC
cvs commit: maven-components/maven-mboot2/src/main/java/compile JavacCompiler.java
brett 2005/03/16 15:17:38
Modified: maven-mboot2/src/main/java/compile JavacCompiler.java
Log:
make debug bootstrap work
Revision Changes Path
1.3 +6 -1 maven-components/maven-mboot2/src/main/java/compile/JavacCompiler.java
Index: JavacCompiler.java
===================================================================
RCS file: /home/cvs/maven-components/maven-mboot2/src/main/java/compile/JavacCompiler.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- JavacCompiler.java 9 Jan 2005 22:38:43 -0000 1.2
+++ JavacCompiler.java 16 Mar 2005 23:17:38 -0000 1.3
@@ -69,6 +69,11 @@
args.add( getClasspathString( config.getClasspathEntries() ) );
+ if ( config.isDebug() )
+ {
+ args.add( "-g" );
+ }
+
Iterator it = compilerOptions.entrySet().iterator();
while ( it.hasNext() )
@@ -184,4 +189,4 @@
{
return "Sun Javac Compiler";
}
-}
\ No newline at end of file
+}