> On a more basic level, is there some reason the
GrandModulesBuilderTask is
> calling ant by executing a command line rather than using the ant task
to
> execute in-vm?????  It seems to me that it might make more sense to
either
> change the code to do this or to write out a build.xml doing this and
then
> call ant on it.

Basic reason: memory leakage.

Unfortunately Ant keeps a pointer to all the tasks so no matter xdoclet
cleans after itself the other tasks might not and in fact Ant itself
creates a lot of Vector/String objects during our long build. The first
thing I did was to make sure there's no leakage from the xdoclet tasks.
But then it still consumes a lot of memory (200MB in an in-jvm
build-all) so I had to find a way to run Ant for each module in separate
jvm. Unfortunately Maven's Reactor is also in-process and I've heard
that it has even more memory usage/leakage.

Ara.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to