Looping through a file contents

2004-08-19 Thread Richard Grey
Hello, I've executed an external command using ant's task and now have the resulting output in a file. How can I then step through this output file and get the values on each line which I then need to use as parameter input to a repeated task ? EG - my output file contains the following: -- f

RE: Console output for exec

2004-08-19 Thread Tim Gordon
Can I have a straw poll of users who'd find console output for spawned process useful while the parent ANT process still lives? I think I might have a change that's about 10 lines to alleviate the problem of reparenting Process I/O - it's working great for me on Windows and Linux. If people want i

AW: AW: AntBuildLib with generic targets possible ?

2004-08-19 Thread Jan . Materne
why not just ? Otherwise you need that the called project sets values in the caller, which is not possible. Jan > -Ursprüngliche Nachricht- > Von: Thomas Hackel [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 19. August 2004 12:17 > An: Ant Users List > Betreff: Re: AW: AntBuildLi

Re: AW: AntBuildLib with generic targets possible ?

2004-08-19 Thread Thomas Hackel
Hi! Thanks for your advice but i allready use the import task. i give you an stupid example which shows that this does not work! --- begin build.xml --- p1: ${p1} --- end build.xml --- --- begin common.xml --- --- end common.xml --- Bye Tho

AW: AntBuildLib with generic targets possible ?

2004-08-19 Thread Jan . Materne
> I have two buildfiles. One generic and one project dependend file. > The project dependend build file calls targets in the generic > buildfile. > > How is it possible that the called buildfile/target can define > properties & id's so that the caller can use them? > > The properties are not vi

AntBuildLib with generic targets possible ?

2004-08-19 Thread Thomas Hackel
Hi! I have two buildfiles. One generic and one project dependend file. The project dependend build file calls targets in the generic buildfile. How is it possible that the called buildfile/target can define properties & id's so that the caller can use them? The properties are not visible to the c