bodewig 2005/01/11 06:05:01
Modified: src/main/org/apache/tools/ant/types CommandlineJava.java
Log:
Path is a ProjectComponent - use it for logging
Revision Changes Path
1.61 +3 -7
ant/src/main/org/apache/tools/ant/types/CommandlineJava.java
Index: CommandlineJava.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/types/CommandlineJava.java,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- CommandlineJava.java 22 Nov 2004 09:23:36 -0000 1.60
+++ CommandlineJava.java 11 Jan 2005 14:05:01 -0000 1.61
@@ -1,5 +1,5 @@
/*
- * Copyright 2000-2004 The Apache Software Foundation
+ * Copyright 2000-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -625,20 +625,16 @@
if (bootclasspath != null
&& bootclasspath.toString().trim().length() > 0) {
- /*
- * XXX - need to log something, but there is no ProjectComponent
- * around to log to.
- */
if (!bootclasspath.toString()
.equals(bootclasspath.concatSystemClasspath("ignore")
.toString())) {
if (log) {
- System.out.println("Ignoring bootclasspath as "
+ bootclasspath.log("Ignoring bootclasspath as "
+ "build.sysclasspath has been set.");
}
} else if (vmVersion.startsWith("1.1")) {
if (log) {
- System.out.println("Ignoring bootclasspath as "
+ bootclasspath.log("Ignoring bootclasspath as "
+ "the target VM doesn't support
it.");
}
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]