Ahh, I think the docs need updating (oops, looks like someone did it under my feet!)
I'll try that when I get a chance. -warner ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Turbine Maven Users List" <[EMAIL PROTECTED]> Sent: Thursday, October 31, 2002 9:55 PM Subject: Re: war task - copy files > "Warner Onstine" <[EMAIL PROTECTED]> wrote on 30/10/2002 01:01:02 > PM: > > > Any ideas on why this isn't working? > > Can you post up the <resources> section of your project.xml? For example, > Maven uses this: > <resources> > <includes> > <include>*.xsd</include> > <include>*.dtd</include> > <include>*.mod</include> > <include>log4j.properties</include> > </includes> > </resources> > > > -warner > > > > ----- Original Message ----- > > From: "Warner Onstine" <[EMAIL PROTECTED]> > > To: "Turbine Maven Users List" <[EMAIL PROTECTED]> > > Sent: Wednesday, October 23, 2002 10:19 PM > > Subject: Re: war task - copy files > > > > > > > Ok, > > > Having some problems with the initial java task. > > > > > > I have specified both a <jarResources> and a <resources> element in my > POM > > > as the docs > > <resources> is correct. > > > > > > > (http://jakarta.apache.org/turbine/maven/reference/plugins/java/properties.h > > > tml - jar section and > > This one would be right. > > > > http://jakarta.apache.org/turbine/maven/reference/project-descriptor.html#bu > > > ild - jarResources section) are unclear and contradictory (one has to > be > > > right, which one? ). > > This doc is out of date. > > > > However, my files are not included in the resultant output classes > > directory > > > (as is my assumption by looking at the java plugin). I also duplicated > the > > > check and patternset build from the java plug-in and added it to the > war > > > plugin. Then I added a <j:if> check within the war goal's embedded > > <classes> > > > declaration and added the fileset that I copied from the java plugin. > > > > > > But, I think my issue lies with the java plugin not copying over the > > > resources at all. > > > > > > My directory structure looks like this: > > > src/ > > > java > > > org > > > zoe > > > szapp.... > > > templates > > > org > > > zoe > > > szapp.... > > > > > > where templates houses my Tapestry html, page, application and jwc > files > > > relative to my classes structure. I have specified src/templates as > the > > > jarResources.basedir. > > > > -- > dIon Gillard, Multitask Consulting > Work: http://www.multitask.com.au > Developers: http://adslgateway.multitask.com.au/developers > > > > -- > To unsubscribe, e-mail: <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org> > > -- To unsubscribe, e-mail: <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>
