ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taylor, Jeremy" <>
Subject RE: Repeditive Component Building
Date Fri, 01 Sep 2000 12:01:43 GMT
You cannot change the value of a property once it is set. AFAIK there is no
way of passing parameters to a sub-task.

Of course, you could always write your own optional task to do this and then
share it with the ANT community...

> -----Original Message-----
> From:	Roy French []
> Sent:	31 August 2000 15:03
> To:
> Subject:	Repeditive Component Building
> The end product for a project is a set of EJB jar files.  While using Ant,
> I find myself using the same set of tasks, only a couple of arguments are
> different.  After running a few tests and looking through the Ant source
> code,  I believe that Ant statically binds task arguments on startup,
> preventing them from changing during the execution of the build process,
> even if the argument contains a property.  Is it possible to define one
> set of tasks but have the argument values change during the build process?
> Thanks
> Roy French

View raw message