Index: src/main/java/org/castor/xmlctf/compiler/SunJavaCompiler.java
===================================================================
--- src/main/java/org/castor/xmlctf/compiler/SunJavaCompiler.java (Revision 7074)
+++ src/main/java/org/castor/xmlctf/compiler/SunJavaCompiler.java (Arbeitskopie)
@@ -161,7 +161,11 @@
args.add(_javaVersion);
}
args.add("-classpath");
- args.add(System.getProperty("java.class.path") + ";" + destDir.getAbsolutePath());
+ if (System.getProperty("xmlctf.class.path") != null) {
+ args.add(System.getProperty("xmlctf.class.path") + ";" + 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 7074)
+++ pom.xml (Arbeitskopie)
@@ -66,6 +66,42 @@
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ant
+ ant-antlr
+ 1.6.5
+
+
+ antlr
+ antlrall
+ 2.7.4
+
+
+
+
@@ -85,7 +121,7 @@
org.codehaus.castor
castor-codegen
- 1.1.1-SNAPSHOT
+ 1.1.3-SNAPSHOT