ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Tilburg <mtilb...@macromedia.com>
Subject <apply executable> question
Date Thu, 22 Jan 2004 23:07:14 GMT
Trying again:)

I have the following xml code chunk:
 
    <apply executable="myExe" output="run.out">
        <fileset dir="." includes="*.as"/>
    </apply>
 
which will call myExe.exe for every file with extension '.as' in the current
directory. The problem that I am having is that all the output from every
.as file is being placed into run.out.  I would like to have the output from
each exec call to go into it's own .out file.  I'm having trouble figuring
out how to do this using wildcards.
 
For example
 
In the dir I have the following files:
 
foo.as -> prints "This is foo" to stdout
bar.as -? prints "This is bar" to stdout
 
when executed I get:
 
run.out
   This is foo
   This is bar
/run.out
 
I want
 
foo.out
   This is foo
/foo.ou
 
bar.out
   This is bar
/bar.out
 
is this possible?

Thanks!

-mike

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


Mime
View raw message