I would specify a smaller ms, perhaps
ANT_OPTS="-Xms256m -Xmx512m"
If it is a short build then that would not matter.
If the build takes a lot of time and memory, it is worth considering.
--glenn
On 7/27/06, Laura Stewart <[EMAIL PROTECTED]> wrote:
Thanks everyone. By placing the build.xml file
allocate more memory.
By the way, what kind of stuff are you trying to build with ant, and
also you may consider updgrading to Ant 1.6.5.
Prashanth
"Laura Stewart" <[EMAIL PROTECTED]>
07/27/2006 11:02 PM
Please respond to
"Ant Users List"
To
"Ant Users List"
fyi
prashanth.l/Polaris
07/27/2006 11:24 PM
To
"Ant Users List" , [EMAIL PROTECTED]
cc
Subject
Re: Proper location of build.xml file
There was similar kind of problem sometime back .. I am just pasting the
reply below just check if it works for you.
The only that comes in m
Thanks everyone. By placing the build.xml file in my trunk folder and setting
ANT_OPTS="-Xms512m -Xmx512m" my problem was resolved.
Appreciate all of the help!
Laura
On 7/27/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
plave the build.xml in your current folder
M-
*
plave the build.xml in your current folder
M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received t
essage -
From: "Laura Stewart" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Thursday, July 27, 2006 1:32 PM
Subject: Re: Proper location of build.xml file
> Correction, the message is:
>
> BUILD FAILED
> C:\Authoring\Derby\Derby1057\trunk\build.xml:72: The fol
Your JVM ran out of memory. Hard to say why whithout seeing the
build.xml.
-Rob A
> -Original Message-
> From: Laura Stewart [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 27, 2006 10:33 AM
> To: Ant Users List
> Subject: Re: Proper location of build.xml file
>
Correction, the message is:
BUILD FAILED
C:\Authoring\Derby\Derby1057\trunk\build.xml:72: The following error
occurred while executing this line:
C:\Authoring\Derby\Derby1057\trunk\build.xml:93: The following error
occurred while executing this line:
java.lang.OutOfMemoryError: Java heap space
T
Thanks. The build runs now but fails. I get this message:
BUILD FAILED
C:\Authoring\Derby\Derby1057\trunk\build.xml
ile executing this line:
C:\Authoring\Derby\Derby1057\trunk\build.xml
ile executing this line:
java.lang.OutOfMemoryError: Java heap space
Any suggestions?
Laura
On 7/27/06, Dom
the build is almost always at the top level of a project, in trunk in
your case. Ant looks for build.xml in the current dir. Use -f
path_to_build to find it in a different directory. --DD
On 7/27/06, Laura Stewart <[EMAIL PROTECTED]> wrote:
Hi - I am trying to work with ANT to generate output fo
10 matches
Mail list logo