On Sat, 3 Jun 2006, Serge Emmanuel Pagop wrote: > Hi Kenney, > > here is my resources and my testResources configuration. Is that ok?
Looks fine, but: > > <resources> > <resource> > <directory>src/java/resources/META-INF</directory> > <includes> > <include>persistence.xml</include> > > </includes> > <targetPath>META-INF</targetPath> you could also just point to src/java/resources/ and set the includes to META-INF/persistence.xml and leave out the target path, OR even better: move src/java/resources to src/main/resources and drop the entire <resource>. > </resource> > </resources> > <testSourceDirectory>src/test/java</testSourceDirectory> ^^ this is the default, you can leave it out > <testResources> > <testResource> > <directory>src/test/resources</directory> Idem, this is the default. you can leave this out, unless you need to specify the <includes> because there are also files that need to be excluded. Btw, why do you have the testResources in the default location, but the main resources in src/java/resources? Btw, is the ClassCastException fixed now? -- Kenney > <includes> > > <include>default.persistence.properties</include> > <include>jndi.properties</include> > <include>embedded-jboss-beans.xml</include> > <include>ejb3-interceptors-aop.xml</include> > <include>log4j.xml</include> > <include>security-beans.xml</include> > <include>login-config.xml</include> > </includes> > </testResource> > </testResources> > > On 6/3/06, Serge Emmanuel Pagop <[EMAIL PROTECTED]> wrote: > > > > > > > > On 6/3/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote: > > > > > On Sat, 3 Jun 2006, Serge Emmanuel Pagop wrote: > > > > Just out of curiosity, where are your java sources located in this > > structure? src/java/main/java/ ? > > > > -- Kenney > > > > no, my java sources is locates in this directory src/main/java > > > > > > > -- > ---------------------------------- > Serge Emmanuel Pagop > Java EE Consultant and Trainer > E-Mail: [EMAIL PROTECTED] > Skype-Name: sisepago > Cell : +49-172-8552687 > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]