Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 71099 invoked from network); 27 Sep 2005 05:46:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Sep 2005 05:46:48 -0000 Received: (qmail 70692 invoked by uid 500); 27 Sep 2005 05:46:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 69886 invoked by uid 500); 27 Sep 2005 05:46:41 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 69873 invoked by uid 99); 27 Sep 2005 05:46:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 22:46:41 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.51.219.132] (HELO relais0.steria.fr) (194.51.219.132) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 26 Sep 2005 22:46:46 -0700 Received: from relais3v5.velizy.fr.sterianet ([10.1.0.27]) by relais0.steria.fr (SMSSMTP 4.1.9.35) with SMTP id M2005092707461417914 for ; Tue, 27 Sep 2005 07:46:14 +0200 Received: from mailvel.velizy.fr.sterianet ([10.2.25.115]) by relais3v5.velizy.fr.sterianet (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id for user@ant.apache.org; Tue, 27 Sep 2005 07:51:16 +0200 Received: from steria.com ([10.2.40.240]) by mailvel.velizy.fr.sterianet (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id for user@ant.apache.org; Tue, 27 Sep 2005 07:46:07 +0200 Date: Tue, 27 Sep 2005 07:41:54 +0200 From: Nicolas Vervelle Subject: Re: Apply task argument issues... In-reply-to: <433826FB.9080106@learningsoft.net> To: Ant Users List Message-id: <4338DBA2.6070908@steria.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) References: <433826FB.9080106@learningsoft.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, A few ideas (not tested, just ideas) : - use a task for iterating through the fileset. - try a to add a "+" before your filename, set addsourcefile to false, and use 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: > > > > > > >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