ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [PATCH] Inheriting properties from a parent project (Project .java ,,
Date Mon, 17 Jul 2000 13:00:21 GMT

Any comments from commiters on this?  Thanks.

Glenn McAllister
TID - Software Developer - VisualAge for Java
IBM Toronto Lab, (416) 448-3805
"An approximate answer to the right question is better than the
right answer to the wrong question." - John W. Tukey

Please respond to

Subject:        [PATCH] Inheriting properties from a parent project
(        ,,

Hey all.

I have a _very_ large master project that needs to call literally hundreds
of subbuilds (and please don't ask why :-)  Every time the "ant" task is
called, it creates a new project and copies all of the "parent" project's
properties into it.  When I tried it I ran out of memory due to this
horrendous duplication of property values.

This patch introduces the concept of a parent project, and the use of
java.util.Properties to hold the property lists, rather than a Hashtable.
The use of the parent values should be extended furthur, but I only had
time to implement it for properties today.  The amount of time required to
set up subbuilds is drastically reduced, as is the memory requirements.
All the current rules for setting property values are still enforced - no
changes there.


[ SNIP ]

View raw message