ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <ddevie...@gmail.com>
Subject Re: Convert fileset into command-line args, allowing for spaces in directori
Date Mon, 23 Jan 2006 19:47:20 GMT
On 1/23/06, Javier Pavier <javierpavier@hotmail.com> wrote:
> >Lets give an example, if my FileSet has
> >/my/file/with a space/file1
> >/my/file/withoutaspace/file2
> >
> >I want these both passed in as they are there as 2 separate commandline
> >args.
>
> I managed to achieve this at last since I'm using a Jelly file and so can
> use a Jelly tokenizer to split the path apart and iterate through it. Still
> no idea how people are supposed to do this with Ant!

<apply> with its 'parallel' attribute might be what you want. It forks
a separate process though, so would work only if you are using <exec>
or <java fork="true">.

--DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message