I 've created a new issue for it. BTW, thanks Mike.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 28, 2002 3:19 AM To: Turbine Maven Users List Subject: Re: j2ee:ear I'm investigating this one now.... I'd be nice if bug reports got filed, though, to help me and others out with keeping track of priorities. Also, samples showing the error save me a lot of time :) -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers: http://adslgateway.multitask.com.au/developers [EMAIL PROTECTED] wrote on 28/09/2002 01:56:01 AM: > > Hi Grace, > > Didn't work for me either, but have now written my own goal in maven.xml > which does everything I want anyway. The key tag is > > <deploy:copy-deps todir="${dist.assemble.dir}/WEB-INF/lib"/> > > Which copies all the dependencies to the assembly directory. It's only a > few lines to make up the rest of the distribution like this (which I'm sure > could be optimised!) > > <project xmlns:deploy="deploy"> > <goal name="pa-build-dist" prereqs="java:jar"> > <property name="dist.dir" value="${maven.build.dir}/dist" /> > <property name="dist.assemble.dir" value=" > ${maven.build.dir}/assemble" /> > <mkdir dir="${dist.dir}" /> > <mkdir dir="${dist.assemble.dir}" /> > > <move file="${maven.build.dir}/${maven.final.name}.jar" > tofile="${dist.assemble.dir}/pa.jar" /> > <move file="${dist.assemble.dir}/pa.jar" > todir="${dist.assemble.dir}/WEB-INF/lib" /> > <deploy:copy-deps todir="${dist.assemble.dir}/WEB-INF/lib"/> > > <copy todir="${dist.assemble.dir}"> > <fileset dir="web"> > <include name="**/*.jsp" /> > <include name="**/*.html" /> > <include name="**/*.js" /> > <include name="**/*.gif" /> > <include name="**/*.jpg" /> > <include name="**/*.css" /> > <include name="**/*.dtd" /> > <include name="**/*.tld" /> > <include name="**/*.xml" /> > <include name="**/*.properties" /> > </fileset> > </copy> > > <war destfile="${dist.dir}/pa-dist.war" > webxml="${dist.assemble.dir}/WEB-INF/web.xml" > update="true" > basedir="${dist.assemble.dir}" /> > > <delete dir="${dist.assemble.dir}" /> > </goal> > </project> > > Hope this helps, > > Mike > > > > > > Grace Li <[EMAIL PROTECTED]> on 27/09/2002 16:34:17 > > Please respond to "Turbine Maven Users List" > <[EMAIL PROTECTED]> > > > > To: "Turbine-Maven-User (E-mail)" <[EMAIL PROTECTED]> > cc: > Subject: j2ee:ear > > > I 've added the lines below to <depedency> section in project.xml, but the > jars were still ignored by j2ee.ear > > <properties> > <ear.bundle.jar>true</ear.bundle.jar> > </properties> > > Maven version: HEAD built yesterday. > > Can anyone help a little? Thanks. > > GL > > > > > > > -- > To unsubscribe, e-mail: <mailto:turbine-maven-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:turbine-maven-user- > [EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
