Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 95177 invoked from network); 6 Nov 2002 17:37:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Nov 2002 17:37:27 -0000 Received: (qmail 18805 invoked by uid 97); 6 Nov 2002 17:38:07 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 18766 invoked by uid 97); 6 Nov 2002 17:38:06 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 18752 invoked by uid 98); 6 Nov 2002 17:38:05 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: expanding fileset to args for java-task Date: Wed, 6 Nov 2002 11:37:04 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You have two choices: 1) Write an Ant-task. This task will accept a , and process it. It's actually simpler that it may seem at first, and is even trivial when you don't need to use any of the Ant datatype/classes (in which case you write a simple bean class with setters and an execute() method) 2) Use a outside your task, it to a space separated string stuffed in a property (that you seem to accet), and simply dereference that property as an . (2) might just be what you need, but (1) is fun and provides a nicer interface to your particular functionality in the build file. It's all a matter of choice, time available, willingness to learn something new, etc... Good luck, --DD -----Original Message----- From: Jan Heise [mailto:jan@janheise.de] Sent: Wednesday, November 06, 2002 11:27 AM To: ant-user@jakarta.apache.org Subject: Q: expanding fileset to args for java-task hi all, perhaps this is a simple/silly question but I haven't found an answer so far. I want to do the following: say i have a java task like: this tool supports a list of files as input from the command line, so obviously I want to do something like this: I am searching for a way to make this more flexible/shorter like doing: but this does not work. is there a way to achieve the above? tia, jan -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: