Can you run the "javac" from the console where you start the build of CXF ?
CXF tools need javac to compile the generated source files.
Please add the javac's directory into the PATH environment variable.

Willem

Miroslav Nachev wrote:
Hi,

When I try to build trunk CXF project with tests in
[INFO] ------------------------------------------------------------------------
   [INFO] Building Apache CXF Command Line Tools WSDLTo Test
   [INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------

I have the following error:
Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest
[ERROR] IOException during exec() of compiler "javac". Check your path environment variable. [ERROR] IOException during exec() of compiler "javac". Check your path environment variable. [ERROR] IOException during exec() of compiler "javac". Check your path environment variable. Tests run: 6, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.906 sec <<< FAILURE! testHelloWorldExternalBindingFile(org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest) Time elapsed: 1.062 sec <<< ERROR! org.apache.cxf.tools.common.ToolException: Failed to compile generated code at org.apache.cxf.tools.common.ClassUtils.compile(ClassUtils.java:138) at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:216) at org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest.testHelloWorldExternalBindingFile(CodeGenOptionTest.java:104)
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.172 sec
Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenTest
[ERROR] IOException during exec() of compiler "javac". Check your path environment variable.
...
[ERROR] IOException during exec() of compiler "javac". Check your path environment variable.

Any help or/and suggestions?


Regards,
Miro.



Reply via email to