ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saviely <>
Subject RE: Classpaths...
Date Thu, 21 Sep 2000 12:21:54 GMT

Fortunately for you, whenever you use the Ant task to call a subproject,
you inherit the calling project's properties.  If both have a property of
the same name, the calling project overrides the subproject's property.

That sort of thing is under the description of the Ant task in the docs,
not in the properties part..  This is how I manage stuff; each person has
a main Ant XML file, which is used to call the buildfiles in the CVS
directory, overriding the default properties.  If there are any "special
needs" for a particular user, the buildfile can check if a certain
tag property is set (probably bad use), or the user's main XML file can
call it.


On Thu, 21 Sep 2000, D'Souza, Sudeep wrote:
> Yup got this working thanks a lot but I have another query....
> 	Can I set my classpath and other properties in one project and
> include this project in other project and before I build any targets I want
> these variables setup...
> 	I want to put all these properties in something similar to header
> files and include this in all the other projects.
> Thanks,
> Sudeep.

View raw message