Re: [hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages

2013-04-04 Thread Gunnar Morling
2013/4/4 Hardy Ferentschik > > On 4 Jan 2013, at 11:39 PM, Gunnar Morling wrote: > > > Hi, > > > > 2013/4/3 Hardy Ferentschik > > Or probably more something like that: > > > > > > > > > > > > > > > > > > > > in module.xml that is. > > > > Filterin

Re: [hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages

2013-04-04 Thread Hardy Ferentschik
On 4 Jan 2013, at 11:39 PM, Gunnar Morling wrote: > Hi, > > 2013/4/3 Hardy Ferentschik > Or probably more something like that: > > > > > > > > > > in module.xml that is. > > Filtering/excluding paths from the resource root effectively makes th

Re: [hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages

2013-04-04 Thread Gunnar Morling
Hi, 2013/4/3 Hardy Ferentschik > Or probably more something like that: > > > > > > > > > > in module.xml that is. > Filtering/excluding paths from the resource root effectively makes these classes unavailable. Doing so gives me NoClassDefFoundErro

Re: [hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages

2013-04-03 Thread Hardy Ferentschik
I shall for ever be indebted to you :-) --hardy On 3 Apr 2013, at 19:47, Emmanuel Bernard wrote: > > > On 3 avr. 2013, at 18:11, Hardy Ferentschik wrote: >> Or why not just rename the packages to _private ;-) (only over my dead body >> btw) > > That's why I did fight the fight. I fear

Re: [hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages

2013-04-03 Thread Emmanuel Bernard
On 3 avr. 2013, at 18:11, Hardy Ferentschik wrote: > Or why not just rename the packages to _private ;-) (only over my dead body > btw) That's why I did fight the fight. I feared for your life ;) ___ hibernate-dev mailing list hibernate-dev@lists.jbo

Re: [hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages

2013-04-03 Thread Hardy Ferentschik
Or probably more something like that: in module.xml that is. --Hardy On 3 Jan 2013, at 6:12 PM, Hardy Ferentschik wrote: > Something like this should work: > > > > > > On 3 Jan 2013, at 6:03 PM, Gunnar Morling wrote: > >> Do you ha

Re: [hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages

2013-04-03 Thread Hardy Ferentschik
Something like this should work: On 3 Jan 2013, at 6:03 PM, Gunnar Morling wrote: > Do you have some details or an example how this is done? > > For HV, we consider everything under org.hibernate.validator.internal as > private (and e.g. handle it like this in the OSGi manifest),

Re: [hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages

2013-04-03 Thread Hardy Ferentschik
On 3 Jan 2013, at 5:58 PM, Emmanuel Bernard wrote: > I did not know that JBoss AS modules let you define a glob of excluded > (private) packages. Not sure if we use that in our HSearch (and other) > modules, but we should :) I don't think we do yet, but given the latest discussion on AS dev I t

Re: [hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages

2013-04-03 Thread Gunnar Morling
Do you have some details or an example how this is done? For HV, we consider everything under org.hibernate.validator.internal as private (and e.g. handle it like this in the OSGi manifest), so it would make sense to do the same for the AS module. --Gunnar 2013/4/3 Emmanuel Bernard > I did no

[hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages

2013-04-03 Thread Emmanuel Bernard
I did not know that JBoss AS modules let you define a glob of excluded (private) packages. Not sure if we use that in our HSearch (and other) modules, but we should :) Emmanuel ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jb