cxf tools should honor "java.home" property to search javac for compiling
generated java beans.
-----------------------------------------------------------------------------------------------
Key: CXF-1992
URL: https://issues.apache.org/jira/browse/CXF-1992
Project: CXF
Issue Type: Bug
Affects Versions: 2.1.3
Environment: jdk 1.6
ubuntu 8.04
Reporter: Forrest Xia
Fix For: 2.1.4
When I am using cxf tools to generate web service artifacts, if choosing to
compile generated java beans, my system initially shown me a error msg like
this:
"Syntax error, annotations are only available if source level is 5.0"
After studying for a while, found out it's caused by incorrect javac used for
compilation.
Current cxf tooling Compiler.java assume to use the "javac" on the PATH
variable, it doesn't honor JAVA_HOME setting when setted for excuting cxf tools.
I think it might be better to check to use "javac" in the JAVA_HOME path, then
use the one in the PATH variable.
Make sense?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.