In fact, I used that format in the very beginning. But also failed.

Eric



----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Friday, November 21, 2003 11:19 AM
Subject: Re: NO properties were copied when building WAR !!!


> "Eric Chow" <[EMAIL PROTECTED]> wrote on 21/11/2003 01:56:39 PM:
> 
> > Hello,
> > 
> > Maven doesn't copy any properties to the WEB-INF/classes when creating 
> WAR.
> > 
> > But it works fine in WinXP.
> > 
> > 
> > Platform:
> > Win98 SE
> > JDK1.4.2
> > Maven-1.0rc1
> > 
> > <build>
> > <nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
> >     <sourceDirectory>src/java</sourceDirectory>
> >     <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
> > 
> >     <unitTest>
> >       <includes>
> >         <include>**/*Test.java</include>
> >       </includes>
> >       <excludes>
> >         <exclude>**/NaughtyTest.java</exclude>
> >       </excludes>
> >     </unitTest>
> > 
> >     <resources>
> >       <resource>
> >         <directory>${basedir}/src/conf</directory>
> >         <includes>
> >           <include name="*.properties"/>
> >           <include name="hibernate.cfg.xml"/>
> >         </includes>
> >       </resource>
> >     </resources>
> >   </build>
> 
> See http://maven.apache.org/reference/project-descriptor.html#includes
> 
> It's not clear, but the format for the <include> element is:
> 
>            <include>*.properties</include>
>            <include>hibernate.cfg.xml</include>
> Try that and let us know how it goes.
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://blogs.codehaus.org/people/dion/
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to