Index: src/main/java/org/castor/xmlctf/compiler/SunJavaCompiler.java
===================================================================
--- src/main/java/org/castor/xmlctf/compiler/SunJavaCompiler.java (revision 7075)
+++ src/main/java/org/castor/xmlctf/compiler/SunJavaCompiler.java (working copy)
@@ -161,7 +161,13 @@
args.add(_javaVersion);
}
args.add("-classpath");
- args.add(System.getProperty("java.class.path") + ";" + destDir.getAbsolutePath());
+
+ String classPathOverride = System.getProperty("xmlctf.classpath.override");
+ if (classPathOverride != null) {
+ args.add(classPathOverride + ";" + destDir.getAbsolutePath());
+ } else {
+ args.add(System.getProperty("java.class.path") + ";" + destDir.getAbsolutePath());
+ }
args.add("-d");
args.add(destDir.getAbsolutePath());
args.add("-sourcepath");
Index: pom.xml
===================================================================
--- pom.xml (revision 7075)
+++ pom.xml (working copy)
@@ -29,9 +29,9 @@
1.4
1.4
-
+
@@ -43,6 +43,25 @@
src/main/resources/META-INF/MANIFEST.MF
+
+
+
+ org.codehaus.castor
+ maven-plugins
+
+
+ test
+
+
+ ./tests/MasterTestSuite
+ false
+ false
+
+
+ xmlctf-run-text
+
+
+
@@ -58,7 +77,7 @@
org.apache.maven.plugins
maven-source-plugin
-
+
jar
@@ -85,7 +104,7 @@
org.codehaus.castor
castor-codegen
- 1.1.1-SNAPSHOT
+ 1.1.3-SNAPSHOT
@@ -98,7 +117,14 @@
junit
junit
3.8.2
-
+
+
+
+
+ oro
+ oro
+ 2.0.8
+