This looks like an ant problem.
You could try to increase the memory defaults in your Java VM.
Make them really big and then pare them down if you feel the need to be precise (No value in that technically).

Ron

On 18/02/2014 5:06 PM, Ron Bets wrote:
Hi there,

I am trying to incorporate Maven dependency management into my ant build as 
follows:

         <artifact:dependencies pathId="my.dependencies.class.path">

             <dependency groupId="org.lib"

                         artifactId="libtools"

                         version="1.1.1"/>

             <dependency groupId=" org.lib "

                         artifactId="otherlib"

                         version="1.1.1"/>

             <remoteRepository refid="archiva.repository"/>

         </artifact:dependencies>

When I do a clean build, i.e. 'ant clean my-target', I get the following 
exception:

java.lang.OutOfMemoryError: PermGen space

Can someone help explain what is going on here and how I might mitigate this 
problem?  Once I have this working for the first classpath, I plan to change 
all my classpaths to use the repository, but this looks like a bit of a 
show-stopper.

Thanks in advance,

Ron



--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to