conor 2003/08/08 07:33:03
Modified: src/main/org/apache/tools/ant/taskdefs/compilers Jvc.java
Log:
Don't include ext dir for microsoft jvc when java runtime is excluded.
PR: 18055
Revision Changes Path
1.17 +5 -3
ant/src/main/org/apache/tools/ant/taskdefs/compilers/Jvc.java
Index: Jvc.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/compilers/Jvc.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -w -u -r1.16 -r1.17
--- Jvc.java 19 Jul 2003 08:11:01 -0000 1.16
+++ Jvc.java 8 Aug 2003 14:33:03 -0000 1.17
@@ -89,9 +89,11 @@
classpath.append(bootclasspath);
}
+ if (includeJavaRuntime) {
// jvc doesn't support an extension dir (-extdir)
// so we'll emulate it for compatibility and convenience.
classpath.addExtdirs(extdirs);
+ }
classpath.append(getCompileClasspath());
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]