Any ideas on why this isn't working? -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 > (http://jakarta.apache.org/turbine/maven/reference/plugins/java/properties.h > tml - jar section and > 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? ). > > 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. > > Any help is greatly appreciated. If I can actually get the jarResources > copied over I think I can get the war plug-in to do the same thing. > > -warner > > ----- Original Message ----- > From: "Warner Onstine" <[EMAIL PROTECTED]> > To: "Turbine Maven Users List" <[EMAIL PROTECTED]> > Sent: Wednesday, October 23, 2002 7:39 PM > Subject: Re: war task - copy files > > > > Thanks dIon! If I get this working I'll provide a diff for others. > > > > -warner > > > > ----- Original Message ----- > > From: <[EMAIL PROTECTED]> > > To: "Turbine Maven Users List" <[EMAIL PROTECTED]> > > Sent: Wednesday, October 23, 2002 10:33 AM > > Subject: Re: war task - copy files > > > > > > > The java plugin's jar:resources should do it.....See > > > > http://jakarta.apache.org/turbine/maven/reference/plugins/java/goals.html > > > for more info > > > -- > > > dIon Gillard, Multitask Consulting > > > Work: http://www.multitask.com.au > > > Developers: http://adslgateway.multitask.com.au/developers > > > > > > > > > "Warner Onstine" <[EMAIL PROTECTED]> wrote on 22/10/2002 > 01:38:28 > > > PM: > > > > > > > Would it be possible to do it with a pre-war task, I couldn't tell if > it > > > > would (my guess is no), is there a plug-in I could look at to get an > > > idea of > > > > how to do this (I really need it ;-). > > > > > > > > -warner > > > > > > > > ----- Original Message ----- > > > > From: <[EMAIL PROTECTED]> > > > > To: "Turbine Maven Users List" <[EMAIL PROTECTED]> > > > > Sent: Monday, October 21, 2002 8:00 PM > > > > Subject: Re: war task - copy files > > > > > > > > > > > > > I don't think it's possible in the current war task, but it does > need > > > to > > > > > be fixed..... > > > > > -- > > > > > dIon Gillard, Multitask Consulting > > > > > Work: http://www.multitask.com.au > > > > > Developers: http://adslgateway.multitask.com.au/developers > > > > > > > > > > > > > > > "Warner Onstine" <[EMAIL PROTECTED]> wrote on 22/10/2002 > > > 11:47:28 > > > > > AM: > > > > > > > > > > > I need to copy files into the classes directory of the built war, > > > what > > > > > is > > > > > > the best way to do this? This used to be accomplished with a > > > > > jarResources > > > > > > element in the POM, but this doesn't work anymore with the current > > > war > > > > > task. > > > > > > > > > > > > -warner > > > > > > > > > > > > +warner onstine+ > > > > > > > > > > > > > > > > > > -- > > > > > > To unsubscribe, e-mail: <mailto:turbine-maven-user- > > > > > > [EMAIL PROTECTED]> > > > > > > For additional commands, e-mail: <mailto:turbine-maven-user- > > > > > > [EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > ForwardSourceID:NT000838CA > > > > > > > > > > -- > > > > > 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- > > > > [EMAIL PROTECTED]> > > > > For additional commands, e-mail: <mailto:turbine-maven-user- > > > > [EMAIL PROTECTED]> > > > > > > > > > > > ForwardSourceID:NT0008396A > > > > > > -- > > > 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> > > > > > > > -- > 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>
