Re: Convert fileset into command-line args, allowing for spaces in directori

2006-01-25 Thread Dominique Devienne
> > > > > > You're just missing parallel="true" to invoke a single command (or as few as necessary in case of a very long command line when 'maxparallel' is set) instead of one per path element. Your other solutions work Matt, they are just less the "Ant way" IM

AW: Convert fileset into command-line args, allowing for spaces in directori

2006-01-23 Thread Jan.Materne
Ok, I´ve done some tests... App.java just print the given arguments. The buildfile compiles that and uses several different invocations for that application with a "path" as "argument" Maybe we dont know exactly what you want to achieve, but I´m sure you get your solution here ;-) Jan App.ja

Re: Convert fileset into command-line args, allowing for spaces in directori

2006-01-23 Thread Dominique Devienne
On 1/23/06, Javier Pavier <[EMAIL PROTECTED]> 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 usin

RE: Convert fileset into command-line args, allowing for spaces in directori

2006-01-23 Thread Javier Pavier
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 apar

RE: Convert fileset into command-line args, allowing for spaces in directori

2006-01-23 Thread Javier Pavier
Hi, hmm, dont know what this stuff should do. But if it works for you, I can skip that ... It just creates fileset of the files I need. It works :-) >refid="my.files"/> which will semicolon separate my files for >me ... ok, but how do I then get these as command line args on >a task ? One