Hello,
The task from ant-contrib is probably what you are looking for :
http://ant-contrib.sourceforge.net/tasks/tasks/for.html
MAT.
Iván Pérez Domínguez a écrit :
Hi there!
I've written a macrodef that takes a file name as an argument and tests
it with a specific command. I'd like to run
Hi there!
I've written a macrodef that takes a file name as an argument and tests
it with a specific command. I'd like to run this macrodef over a set of
files, but the program I test can only get one input file at each time.
I'd also like to be able to use pattern matching, such as "*.o" or
"*.cp
Can anyone confirm that ANT + BSF 2.4 is a valid configuration?
Thanks
Michael Giroux
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes, it worked as Scot suggested, It was the matter of using the
sourcepath. Here's the desciption fro the website:
*=
sourcepath*
The *sourcepath* to use; defaults to the value of the srcdir attribute
(or nested ||
WOW, guys thanks for the fast response, I really appretiate this help.
I am standing in the main directory (MyProject).
When I use -verbose I get alot of output, something like:
[javac] MyOp1.java added as MyOp1.class doesn't exist.
[javac] Op1Helper.java added as Op1Helper.class doesn't exist.
.
When you execute your ant script, what directory are you "standing" in?
I see you give a "relative" srcdir of Operation1. Are you standing in
the directory that Operation1 lives? You may also need to use
sourcepath attribute.
[EMAIL PROTECTED] wrote:
Hi Every Body:
I am facing a probelm co
Use switch -verbose when running your ant target. This will spit out the
'javac' command ANT is using.
Eg: ant op1 -verbose
Examine how this command is different from the 'javac' command that
works for you.
Hope this helps.
-Prashant
[EMAIL PROTECTED] wrote:
Hi Every Body:
I am facing a pr
Hi Every Body:
I am facing a probelm compile a java application. My Java application
uses external and internal library.
In other words, let's say i have a package called java.matrix, and I
wrote a package for this project called MathOp,
the layout of my project directory is :
MyProject