On Thu, Jul 31, 2008 at 10:15 AM, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
> > > On Thu, Jul 31, 2008 at 10:04 AM, Stephen Connolly < > [EMAIL PROTECTED]> wrote: > >> Have you tried using maven's default project layout? >> >> > Nope , but I've finally got it working.It seems just listing the files (as > shown below)I wish to excludes in successive <exclude> tags DOESN'T work : > > <webResources> > <resource> > <directory>src</directory> > <excludes> > <exclude>**/*.java</exclude> > <exclude>log4j.properties</exclude> > <exclude>manager.properties</exclude> > </excludes> > <includes> > <include>messages_en.properties</include> > </includes> > </resource> > </webResources> > > > BUT , a single <exclude> with all the file names separated by commas and > using the pattern matching string works.This is what I have and it works as > I wish it to.After re-reading the docs , it makes sense , but perhaps the > docs can be improved to explain this. > > > <warSourceExcludes>**/*.java,**/log4j.properties,**/manager.properties</warSourceExcludes> > > > > It looks like I had a moment of premature ululation!!!After deploying my war file and starting the application I was greeted by an error message saying my messages_en.properties could not be found.Upon checking the war I realized it the war plugin didn't include it in the war. So maven gurus , what am I missing here? -- "Don't take the name of root in vain." Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype : ejbengine Registered Linux user number 366042
