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

Hadrian Zbarcea resolved CAMEL-3234.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.0

Patch applied at rev: 1022811. Thanks again Dan.

> -Psetup.eclipse with Java6 doesn't use proper dependencies or JRE level
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-3234
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3234
>             Project: Apache Camel
>          Issue Type: Bug
>            Reporter: Daniel Kulp
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.5.0
>
>         Attachments: camel-eclipse.patch
>
>
> If you use -Psetup.eclipse or eclipse:eclipse to setup the projects, it sets 
> the execution environment to J2SE-1.5.  HOWEVER, if using Java6, it doesn't 
> include many of the dependencies that are required for Java 5, like JAXB and 
> activation and such.
> I'm attaching a patch that, when you use -Psetup.eclipse, changes the 
> compiler plugin to 1.6 when using 1.6 ONLY for that profile.   This, in 
> effect, sets the execution environment to workspace default (which will 
> likely be 1.6 if using 1.6) and thus things build.   The projects then import 
> correctly and build.
> FYI: this was taken from CXF's build system.  :-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to