[Anthill] AntHill out-of-memory issues when executing the ant
scripts....
Jeevan_Sunkersett
Jeevan_Sunkersett at satyam.com
Thu Mar 3 06:46:59 CST 2005
Hi,
I have configured Anthill to use FileSystemRepositoryAdapter.
Cause in CVS we have 4 projects which have a circular-dependency in between
themselves.
So cannot rely on AntHill Dependency project mechanism.
(I need a CVS checkout of all and then a compile in a particular order and
not 4
pairs of "cvs-checkout + compile")
Anyways we have an ant script that does a CVS checkout too.
But my problem is AntHill executes ANT as a java class
"org.apache.tools.ant.Main" with lot many other parameters.
But that leads to an Out-Of-Memory on my Linux box (even with an ANT_OPTS
like -Xmx900M, <NineHundred Mega>)
However running the same target at the shell prompt with all output sent to
a logfile works okay.
My ant script is like
<master-build>
<nuke-src-all>, cleans all source code from the file system,
calling nuke-src of other projects in sequence
<cvs-get-all>, does a CVS checkout/ update
<compile-all>, executes compile, of all projects in the
desired sequence.
<test-all>, executes junit test, of all projects in the
desired sequence.
</master-build>
The Out-Of-Memory mostly happens in the junit task(s)
The entire process takes over 1 hour.
That's is why I was wondering if AntHill could execute ant (the shell/ batch
file variant) instead of a java class.
I guess this can be achieved thru a Pagelet.
Any other possibilities?
Thx
G1
--------------------------------------------------
Date: Thu, 10 Feb 2005 18:26:19 +0530
From: Jeevan_Sunkersett <Jeevan_Sunkersett at satyam.com>
Subject: [Anthill] Can we have a pagelet to do the build
instead of
the BuildManager
To: anthill at lists.urbancode.com
Message-ID:
<17F564C2CCAFD611AF330008C759938E056465A3 at PTHEXCHANGE>
Content-Type: text/plain; charset="us-ascii"
Hi,
Thru the log4j trace figured out the BuildManager invokes
org.apache.tools.ant.Main to execute the ant target of
supplied build
script.
Why?
I guess the same cam be achieved thru a custom Pagelet too.
Any comments?
G1
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20050303/e584299c/attachment-0002.htm
More information about the Anthill
mailing list