You might also consider using <antcall>
<antcall target="target name">
<param name="param name" value="value">
</antcall>
- DD
-----Original Message-----
From: Milind Nirgun [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 16:51
To: Ant Users List
Subject: RE: Parametrizing an ant task
You can use the -D<property>=<value> option while running ant. I am not sure
if thats what you wanted.
-Milind
> -----Original Message-----
> From: Saripalli, Raju [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 31, 2002 1:33 PM
> To: Ant-User (E-mail)
> Subject: Parametrizing an ant task
>
>
>
> Is it possible to parametrize an ant task ?
>
> For example (a very simple one) ... lets say I wanted to
> have a task that compiled all the classes in a specific package
> that could be specified as a run-time parameter
>
> How can this be done ?
>
> Thanks
>
> Raju
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>