Problem solved: On 5/8/05, Kent R. Spillner <[EMAIL PROTECTED]> wrote: > > > > - - - -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, FL- > > On May 8, 2005, at 5:09 PM, FL wrote: > > > I'm afraid I don't understand. Where should the line be? > > > > > > Doh; sorry. I should have been more clear. > > > > I've done the following > > <mkdir dir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/ > > dbcp" /> > > > > <move todir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/ > > dbcp"> > > <fileset dir="${tomcat-dbcp.home}/src/java/org/ > > apache/commons"/> > > <fileset dir="${tomcat-dbcp.home}/src/java/org/apache/commons/"> > > <include name="**/*.java" /> > > </fileset> > > </move> > > > > > > > > > > > > You're on the right track, but you don't want to keep the first > <fileset>. >
An oversight... So, this: > > <mkdir dir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp" /> > <move todir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp"> > <fileset dir="${tomcat-dbcp.home}/src/java/org/apache/commons" /> > </move> > > Becomes this: > > <mkdir dir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp" /> > <move todir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp"> > <fileset dir="${tomcat-dbcp.home}/src/java/org/apache/commons"> > <include name="**/*.java" /> > </fileset> > </move> > > It's that first, empty <fileset> that is causing the problems; could > be a bug in ant? Aha: that works. I did try it that way (without the </fileset>) and the empty fileset did cause trouble. Thank you! Let me know if you need any more help with this! > > Best, > Kent > > - - - -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (Darwin) > > iD8DBQFCfpY62DzcNcFR0iwRAiqyAKCqT6Z0YsQ4Vpi5S8dIwey0VG+2FACdGjoA > ZjKLrS+tDz/dNuK7AuKBdLA= > =j1ji > - - - -----END PGP SIGNATURE----- > >