[ 
http://jira.codehaus.org/browse/MOPENJPA-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg resolved MOPENJPA-5.
----------------------------------

    Resolution: Fixed

> add a config property to disable the tempClassLoader for the enhancement step
> -----------------------------------------------------------------------------
>
>                 Key: MOPENJPA-5
>                 URL: http://jira.codehaus.org/browse/MOPENJPA-5
>             Project: Maven 2.x OpenJPA Plugin
>          Issue Type: New Feature
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>
> The PCEnhancer uses a temporary classloader by default, which causes problems 
> if any @Entity references definitions from a depending artifact like in the 
> following example:
> {noformat} 
> --+- pom.xml
>   |-api/pom.xml
>   |   \- public interface MyEntityInterface {
>   |         public static enum MessageChannel { MMS, SMS };
>   \-impl/pom.xml
>       \- @Entity public class MyEntityImpl {
>             private MessageChannel channel;
> {noformat} 
> In this case the PCEnhancer fails since the enum 'MessageChannel' cannot be 
> found on the classpath.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to