ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <ECirame...@emptoris.com>
Subject RE: Out of memory exception with ear...
Date Tue, 29 Apr 2003 16:03:56 GMT
BTW - I'm using ANT 1.5.3

-----Original Message-----
From: Ciramella, EJ 
Sent: Tuesday, April 29, 2003 12:00 PM
To: 'Ant Users List'
Subject: Out of memory exception with ear...


I'm experiencing some strange behavior.  I have 3 build files, one is the
root and the other two are two versions of our product (one uses WL5.1 and
the other uses WL6.1).  In the root build file, the process flows like this

call build-all in WL5.1 build.xml
 -does compile
 -builds ejb jars and does ejbc
 -zips up directory and posts it to shared drive
call build-all in WL6.1 build.xml
 -does compile
 -builds ejb jars and does ejbc
 -creates ear, war and ear with war
 -zips up directory and posts it to shared drive
call build-cluster in WL6.1 build.xml
 -does compile
 -builds ejb jars and does ejbc
 -creates ear, war and ear with war (it dies on ear with war)
 -zips up directory and posts it to shared drive


This is the last bit of output the build gives before dieing:

[ear] Building ear: D:\ePASSV5.0WL61Build0055\lib\epasswar.ear

The ANT throws an out of memory exception:

BUILD FAILED
java.lang.OutOfMemoryError
        <<no stack trace available>>

Total time: 25 minutes 33 seconds
java.lang.OutOfMemoryError
        <<no stack trace available>>

With the verbose and debug flags, the last file to be added to the ear is
the war file created a step earlier.
I've manually opened the war file and it's good (not corrupted).  If I run
this target manually (CD to this particular directory, run ant
build-all-cluster), it works fine.

Any suggestions?  Should I bump up the memory allocated to ANT?  How do I do
that?


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message