From ant-dev-return-11142-apmail-jakarta-ant-dev-archive=jakarta.apache.org@jakarta.apache.org Thu Mar 08 09:30:33 2001 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 71728 invoked by uid 500); 8 Mar 2001 09:30:33 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 71717 invoked from network); 8 Mar 2001 09:30:32 -0000 Message-ID: <007301c0a7b2$a8f5c430$0100280a@nshome> From: "Nico Seessle" To: References: <003b01c0a796$17dd5c90$546e883e@viquity.com> Subject: Re: Directory image task Date: Thu, 8 Mar 2001 10:32:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ----- Original Message ----- From: "Stefan Bodewig" To: Sent: Thursday, March 08, 2001 8:08 AM Subject: Re: Directory image task > Jose Alberto Fernandez wrote: > > > Guys, > > > > The only thing I need (I think) is having the semantics of: > > > > > > > > > > So, any takers for a task for Ant 1.4 - or should I add it to > the wish list for Ant2? > I thought a little bit about this task and I think it may be possible to solve this with the existing task (if there will be a little change). You could use Which will find the files which are in D:\temp\d2 but not in D:\temp\d1. Problem is that the name of the sourcefile is automatically appended and you will get get error-messages from the operating system since they don't exist :-) Don't know if this really is a problem? Another problem might be that it can't execute shell-commands on Windows (and Unix??) since something like "cmd /c del" as an executable is changed to "cmd \c del" on execution. So if we would change the bahaviour of apply (and executeon) to only append sourcefile's automatically if none of and is specified it should do it's work. But that may break builds. Nico --------------------------------------------------------------------- To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: ant-dev-help@jakarta.apache.org