Is there a reason we can't use the <resources> element to do this? -- dIon Gillard, Multitask Consulting
[EMAIL PROTECTED] wrote on 04/04/2004 07:19:14 AM: > dgraham 2004/04/03 13:19:14 > > Modified: validator maven.xml > Log: > Simplified copying validator dtd files. > > Revision Changes Path > 1.5 +9 -11 jakarta-commons/validator/maven.xml > > Index: maven.xml > =================================================================== > RCS file: /home/cvs/jakarta-commons/validator/maven.xml,v > retrieving revision 1.4 > retrieving revision 1.5 > diff -u -r1.4 -r1.5 > --- maven.xml 29 Feb 2004 09:48:28 -0000 1.4 > +++ maven.xml 3 Apr 2004 21:19:14 -0000 1.5 > @@ -13,6 +13,7 @@ > See the License for the specific language governing permissions and > limitations under the License. > --> > + > <project default="java:jar"> > > <preGoal name="xdoc:jelly-transform"> > @@ -21,25 +22,22 @@ > > <postGoal name="java:compile"> > > - <copy todir="${maven.build.dir}/classes/"> > + <copy todir="${maven.build.dir}/classes/"> > <fileset dir="${pom.build.sourceDirectory}" > excludes="**/*.java"/> > </copy> > > - <copy todir="${maven.build.dir} > /classes/org/apache/commons/validator/resources/" > - file="${basedir}/conf/share/validator_1_0.dtd"/> > - > - <copy todir="${maven.build.dir} > /classes/org/apache/commons/validator/resources/" > - file="${basedir}/conf/share/validator_1_0_1.dtd"/> > - > - <copy todir="${maven.build.dir} > /classes/org/apache/commons/validator/resources/" > - file="${basedir}/conf/share/validator_1_1.dtd"/> > + <copy todir="${maven.build.dir} > /classes/org/apache/commons/validator/resources/"> > + <fileset dir="${basedir}/conf/share" > + includes="validator*.dtd"/> > + </copy> > > - <copy todir="${maven.build.dir}/classes/"> > + <copy todir="${maven.build.dir}/classes/"> > <fileset dir="${javascript.home}" > includes="**/*.js"/> > </copy> > > </postGoal> > > -</project> > \ No newline at end of file > +</project> > + > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >