Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 11505 invoked from network); 25 Jun 2004 22:12:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Jun 2004 22:12:06 -0000 Received: (qmail 81856 invoked by uid 500); 25 Jun 2004 22:12:13 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 81755 invoked by uid 500); 25 Jun 2004 22:12:10 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 81680 invoked by uid 99); 25 Jun 2004 22:12:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [207.115.107.230] (HELO hurricane.conveyor.com) (207.115.107.230) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 25 Jun 2004 15:12:05 -0700 Received: from [64.26.136.73] (helo=[192.168.0.157]) by hurricane.conveyor.com with esmtp (Exim 4.22) id 1Bdyv5-0001Rc-FW for user@ant.apache.org; Fri, 25 Jun 2004 18:11:39 -0400 Message-ID: <40DCA31B.2090103@magmic.com> Date: Fri, 25 Jun 2004 18:11:39 -0400 From: Jeffrey Bacon Organization: Magmic Inc. User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: stupid copy question References: <000801c45b01$0d9574d0$6401a8c0@u14917.ecpm.com> In-Reply-To: <000801c45b01$0d9574d0$6401a8c0@u14917.ecpm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N but if I'm copying a ${src.dir}/**/* will it create [toDir]/src for me and put the stuff there? -- Jeffrey Bacon jbacon@magmic.com Creative Developer http://www.magmic.com Mani G. Iyer wrote: > You need to create whatever you set in todir. The copy task will not create > the todir for you. HTH > mani > > -----Original Message----- > From: Jeffrey Bacon [mailto:jbacon@magmic.com] > Sent: Friday, June 25, 2004 6:03 PM > To: Ant Users List > Subject: Re: stupid copy question > > done. > > do I need to make the temp/src and temp/res directories and then do this: > > todir="${basedir}/${temp.dir}/${src.dir}" > overwrite="yes" > failonerror="true"> > includes="${src.includes}" > excludes="${src.excludes}" /> > > todir="${basedir}/${temp.dir}/${res.dir}" > overwrite="yes" > failonerror="true"> > includes="${res.includes}" > excludes="${res.excludes}" /> > > > -- > Jeffrey Bacon > jbacon@magmic.com > Creative Developer > http://www.magmic.com > > > Mani G. Iyer wrote: > >>I think you need to do a before > > the > >>copy. HTH. >>mani >> >>-----Original Message----- >>From: Jeffrey Bacon [mailto:jbacon@magmic.com] >>Sent: Friday, June 25, 2004 5:34 PM >>To: Ant Users List >>Subject: stupid copy question >> >>ok, so I have directory with 'src' and 'res' subdirectories. I want to >>copy the src & res dirs to the temp directory preserving thier directory >>structure but using a inclues/excludes pattern to onle copy certain >>files (ex. *.java & *.png). I though the below would do that but it >>doesn't see to copy anything or create the temp/src and temp/res dirs. >> >>> todir="${basedir}/${temp.dir}" >> overwrite="yes" >> failonerror="true"> >> > includes="${src.dir}/${src.includes}" >> excludes="${src.dir}/${src.excludes}" /> >> > includes="${res.dir}/${res.includes}" >> excludes="${res.dir}/${res.excludes}" /> >> >> >>-- >>-- >>Jeffrey Bacon >>jbacon@magmic.com >>Creative Developer >>http://www.magmic.com >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>For additional commands, e-mail: user-help@ant.apache.org >> >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>For additional commands, e-mail: user-help@ant.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org