When using GroovyWS (which uses CXF 2.0.5) I get an error in the DynamicClientFactory:
javac: invalid flag: C:/DOCUME~1/USER/LOCALS~1/Temp/[EMAIL PROTECTED] You can look at my post here for more information: http://www.nabble.com/GroovyWS---invalid-flag-td19108767.html I've upgraded to CXF 2.0.8 and I still get the same error. I've tracked it down to this piece of code in DynamicClientFactory: static boolean compileJavaSrc(Path classPath, Path srcPath, String dest) { String[] srcList = srcPath.list(); String[] javacCommand = new String[srcList.length + 7]; javacCommand[0] = "javac"; javacCommand[1] = "-classpath"; javacCommand[2] = classPath.toString(); javacCommand[3] = "-d"; ... There is no check to see if the classpath is empty. If it is, then the resulting javac call looks like this: "javac -classpath -d ..." and it treats -d as the classpath instead of a flag. Perhaps the classpath flag should be omitted if the classpath is empty? Or, could a warning be thrown if the classpath is not optional? Thanks, Peter -- View this message in context: http://www.nabble.com/Javac---invalid-flag-tp19162293p19162293.html Sent from the cxf-user mailing list archive at Nabble.com.
