You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2010/10/14 20:31:41 UTC

[jira] Updated: (CAMEL-3234) -Psetup.eclipse with Java6 doesn't use proper dependencies or JRE level

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

Daniel Kulp updated CAMEL-3234:
-------------------------------

    Attachment: camel-eclipse.patch

> -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
>         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.