Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 25407 invoked from network); 28 Sep 2005 16:24:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2005 16:24:06 -0000 Received: (qmail 52332 invoked by uid 500); 28 Sep 2005 16:23:58 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 52278 invoked by uid 500); 28 Sep 2005 16:23:57 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 52265 invoked by uid 99); 28 Sep 2005 16:23:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 09:23:57 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.200.156] (HELO web30903.mail.mud.yahoo.com) (68.142.200.156) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 28 Sep 2005 09:24:02 -0700 Received: (qmail 23064 invoked by uid 60001); 28 Sep 2005 16:23:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=QwxTSDhSrlZiLZ3JgDCCQYttV9PkBIMeJ/+nqX8C+vgACn0TNN4P2Czi1LKSjDh4zeGi6k92+4uSyiOUzXjkgvNnQyw0Ksfl9kYgCza64TTZmj+freKifMKtoZi8Mwq+Uwlz3FM21M40Zd413EOMN9CNXPCGwyP7APoUmL6TTxs= ; Message-ID: <20050928162333.23062.qmail@web30903.mail.mud.yahoo.com> Received: from [65.247.233.205] by web30903.mail.mud.yahoo.com via HTTP; Wed, 28 Sep 2005 09:23:33 PDT Date: Wed, 28 Sep 2005 09:23:33 -0700 (PDT) From: Matt Benson Subject: Re: Apply task argument issues... To: Ant Users List Cc: Ant Developers List In-Reply-To: <4338DBA2.6070908@steria.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --- Nicolas Vervelle wrote: [SNIP] > - try a to add a "+" before your filename, > set addsourcefile to > false, and use I would expect this to work; however by faking the target filename incremental builds won't work. At present it might be best to subclass apply to achieve this. Dev: We should probably add either a nested mapper or prepend/append attributes to srcfile and targetfile elements in apply for future versions of Ant. -Matt > > Hope this helps, > Nicolas > > Alan Moss wrote: > > >I have an issue WRT the apply task. I need it to be > much more flexible > >than the documentation states it is. Let's say I'm > using a tool that has > >odd command line options like this: > > > > util.exe [options] +|- > > > > where options is optional and you must specify > + > > or - > > > >Given the current way in which the apply task is > implemented, it seems > >impossible to do in ant 1.6.5: > > > > > > > > > > > > > > > >Wouldn't it make more sense to do the following: > > > > srcproperty="srcfile"> > > > > > > > > > >I can't understand why it was implemented as > separate tags rather than > >as properties. In my opinion, the latter example > would be more in-step > >with typical ANT thinking. > > > >Anyway, does anyone know of a way to do what I want > with the current > >version of ant? > > > >Thanks, > >-Alan > > > >--------------------------------------------------------------------- > >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 > > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org