cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-1992) cxf tools should honor "java.home" property to search javac for compiling generated java beans.
Date Mon, 19 Jan 2009 07:35:59 GMT

     [ https://issues.apache.org/jira/browse/CXF-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Forrest Xia updated CXF-1992:
-----------------------------

    Attachment: cxf-1992.patch

a patch to honor java.home to use the javac in it. Please review and help commit. thanks!

> 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
>
>         Attachments: cxf-1992.patch
>
>
> 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.


Mime
View raw message