That's an out of memory problem compiling 1920 java source files at once.

Bump up the memory in the script....
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


[EMAIL PROTECTED] wrote on 20/11/2002 09:41:46 PM:

> 
> Ciao Dion, 
> 
> Thanks for your help, and I can see now that all the errors above the 
packages
> disapear but I get the following error: 
> 
> 
>  __  __
> 
> |  \/  |__ Jakarta _ ___
> 
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> 
> |_|  |_\__,_|\_/\___|_||_|   v. 1.0-beta-7
> 
> 
> 
> D:\maven\example\simple-java
> 
> 
> 
> java:prepare-filesystem:
> 
> java:compile:
>     [javac] Compiling 1920 source files to D:\maven\example\simple-
> java\target\classes
>     [javac] [ERROR] 
>     [javac] [ERROR] 
>     [javac] [ERROR] The system is out of resources.
>     [javac] [ERROR] Consult the following stack trace for details.
>     [javac] [ERROR] 
>     [javac] [ERROR] java.lang.OutOfMemoryError
>     [javac] [ERROR]    <<no stack trace available>>
> 
> [ERROR] BUILD FAILED
> [ERROR] File...... D:\MAVEN\MAVEN-1.0-BETA-7\plugins\maven-java-
> plugin-1.1\plugin.jelly
> [ERROR] Element... javac
> [ERROR] Line...... 54
> [ERROR] Column.... 48
> [ERROR] Compile failed; see the compiler error output for details.
> Total time:  47 seconds
> =======================
> and    on the maven.log we have the follows message:
> 
> 2002-11-20 10:11:15,975 DEBUG org.apache.maven.app.ProjectVerifier - 
Looking
> for D:\maven\maven-1.0-beta-7\repository\golProject\jars\vitria.jar
> 
> 
> 2002-11-20 10:11:56,131 ERROR org.apache.commons.jelly.impl.TagScript -
> Caught exception: Compile failed; see the compiler error output for 
details.
> Compile failed; see the compiler error output for details.
>    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
>    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
>    at org.apache.tools.ant.Task.perform(Task.java:317)
>    at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:220)
>    at 
org.apache.commons.jelly.impl.DynaTagScript.run(DynaTagScript.java:141)
>    at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134)
>    at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:190)
>    at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:97)
>    at 
org.apache.commons.jelly.impl.BeanTagScript.run(BeanTagScript.java:180)
>    at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134)
>    at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:190)
>    at 
org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:95)
>    at 
org.apache.commons.jelly.impl.BeanTagScript.run(BeanTagScript.java:180)
>    at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134)
>    at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:190)
>    at org.apache.commons.jelly.tags.werkz.GoalTag$1.
> performAction(GoalTag.java:119)
>    at com.werken.werkz.Goal.attain(Goal.java:524)
>    at org.apache.maven.app.Maven.runGoals(Maven.java:943)
>    at org.apache.maven.app.Maven.attainGoals(Maven.java:844)
>    at org.apache.maven.app.App.doMain(App.java:379)
>    at org.apache.maven.app.App.main(App.java:892)
>    at java.lang.reflect.Method.invoke(Native Method)
>    at com.werken.forehead.Forehead.run(Forehead.java:543)
>    at com.werken.forehead.Forehead.main(Forehead.java:573)
> 
> 
> What is the problem?  I need to increase the memory. On the maven file I
> have the follow: 
> MAVEN_OPTS="-Xms256"
> 
> for the memory. 
> 
> Thanks again for your help, 
> 
> Jair 
> 
> 
> 
> 
> 
> 
> 
> 
> >-- Messaggio originale --
> >To: [EMAIL PROTECTED]
> >Cc: [EMAIL PROTECTED]
> >Subject: Re: Maven Help?
> >From: [EMAIL PROTECTED]
> >Date: Wed, 20 Nov 2002 13:40:32 +1100
> >
> >
> >Ciao Jair,
> >
> >[EMAIL PROTECTED] wrote on 20/11/2002 11:36:32 AM:
> >
> >> Hi Dion, 
> >> 
> >> I have included the jars filew on the local Marven repository like 
this:
> >> 
> >>  +maven-1.0-beta-7
> >>    + repository
> >>       + proggetto
> >>         +jars 
> >>            x.jar
> >>            y.jar
> >>            z.jar 
> >> 
> >> after that on my project.xml I have included then on dependencies 
that
> >
> >like
> >> this:
> >> 
> >> <?xml version="1.0" encoding="ISO-8859-1"?>
> >> <project>
> >> ....
> >> ..
> >> 
> >>  <dependencies>
> >> 
> >     <dependency>
> >       <id>proggetto</id>
> >       <version></version>
> >       <jar>x.jar</jar>
> >       <jar>y.jar</jar> 
> >       <jar>z.jar</jar>
> >     </dependency>
> >
> >Should be
> >
> >     <dependency>
> >       <id>proggetto:x</id>
> >       <version></version>
> >       <jar>x.jar</jar>
> >     </dependency>
> >
> >     <dependency>
> >       <id>proggetto:y</id>
> >       <version></version>
> >       <jar>y.jar</jar> 
> >     </dependency>
> >
> >     <dependency>
> >       <id>proggetto:z</id>
> >       <version></version>
> >       <jar>z.jar</jar> 
> >     </dependency>
> >
> >> but it doesnot work.  I am doing something wrong?
> >
> >Try that and see how it goes.
> >
> >> How is the way to get the source code of Maven?
> >
> >
> >See http://jakarta.apache.org/site/sourceindex.html for more detail on
> how
> >
> >to get the source of Maven, or any other Apache Jakarta project.
> >--
> >dIon Gillard, Multitask Consulting
> >Blog:      http://www.freeroller.net/page/dion/Weblog
> >Work:      http://www.multitask.com.au
> >
> 
> 

> ForwardSourceID:NT00090B5E 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to