You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by ch...@gmail.com on 2010/06/05 03:30:02 UTC

exclude persistence.xml

Hi,

Is there a way for OpenEJB to skip the persistence module file during  
classpath scanning?

I've tried with: "openejb.deployments.classpath.exclude=..." but without  
success...

Thanks

Christian

Re: exclude persistence.xml

Posted by Christian Bourque <ch...@gmail.com>.
Thanks a lot Jean-Louis!

Christian

On Tue, Jun 8, 2010 at 10:45 AM, Jean-Louis MONTEIRO <
jean-louis.monteiro@atosorigin.com> wrote:

>
> Hi Christian,
>
> That should work, but to also filter out jars that do contain descriptors,
> set the openejb.deployments.classpath.filter.descriptors property to true.
> The default is false.
>
> Hope it helps.
> Jean-Louis
>
>
> Christian Bourque wrote:
> >
> > Hi,
> >
> > Is there a way for OpenEJB to skip the persistence module file during
> > classpath scanning?
> >
> > I've tried with: "openejb.deployments.classpath.exclude=..." but without
> > success...
> >
> > Thanks
> >
> > Christian
> >
> >
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/exclude-persistence-xml-tp2243942p2247515.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: exclude persistence.xml

Posted by Jean-Louis MONTEIRO <je...@atosorigin.com>.
Hi Christian,

That should work, but to also filter out jars that do contain descriptors,
set the openejb.deployments.classpath.filter.descriptors property to true.
The default is false.

Hope it helps.
Jean-Louis


Christian Bourque wrote:
> 
> Hi,
> 
> Is there a way for OpenEJB to skip the persistence module file during  
> classpath scanning?
> 
> I've tried with: "openejb.deployments.classpath.exclude=..." but without  
> success...
> 
> Thanks
> 
> Christian
> 
> 

-- 
View this message in context: http://openejb.979440.n4.nabble.com/exclude-persistence-xml-tp2243942p2247515.html
Sent from the OpenEJB User mailing list archive at Nabble.com.