I don't set any JVM settings to be able to build Wicket... @Chris: do you have some globally exported MAVEN_OPTS which may interfere ?
On Mon, Jan 2, 2012 at 6:52 AM, Matthias Gasser <[email protected]> wrote: > You need to increase the heap space for maven. > > Just run the following line prior building: > > #### snip #### > set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=128m > #### snap #### > > That should bring you through. > > -matthias > > Am 02.01.2012 um 05:43 schrieb Chris Colman: > >> I cloned the wicket git repos and then checked out branch wicket-1.5.x >> branch and the build broke in a different place (it got a bit further this >> time :) ) >> >> The build was done on a Windows XP box with 4GB RAM so I wouldn't have >> thought it would have run out of memory. >> >> [INFO] 1 error >> [INFO] ------------------------------------------------------------- >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Compilation failure >> Failure executing javac, but could not parse the error: >> >> >> The system is out of resources. >> Consult the following stack trace for details. >> java.lang.OutOfMemoryError: Java heap space >> at >> com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java:385) >> at com.sun.tools.javac.code.Scope.enter(Scope.java:196) >> at com.sun.tools.javac.code.Scope.enter(Scope.java:183) >> at >> com.sun.tools.javac.comp.MemberEnter.importAll(MemberEnter.java:132) >> at >> com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:509) >> at >> com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446) >> at >> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387) >> at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819) >> at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386) >> at >> com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758) >> at com.sun.tools.javac.comp.Enter.complete(Enter.java:451) >> at com.sun.tools.javac.comp.Enter.main(Enter.java:429) >> at >> com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819) >> at >> com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727) >> at com.sun.tools.javac.main.Main.compile(Main.java:353) >> at com.sun.tools.javac.main.Main.compile(Main.java:279) >> at com.sun.tools.javac.main.Main.compile(Main.java:270) >> at com.sun.tools.javac.Main.compile(Main.java:87) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554) >> at >> org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161) >> at >> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605) >> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) >> >>> -----Original Message----- >>> From: Igor Vaynberg [mailto:[email protected]] >>> Sent: Monday, 2 January 2012 2:50 PM >>> To: [email protected] >>> Subject: Re: Can't build wicket from updated trunk >>> >>> already moved. >>> >>> -igor >>> >>> On Sun, Jan 1, 2012 at 7:31 PM, Chris Colman >>> <[email protected]> wrote: >>>> Is Wicket moving to git? >>>> >>>> Chris >>>> >>>>> -----Original Message----- >>>>> From: Igor Vaynberg [mailto:[email protected]] >>>>> Sent: Monday, 2 January 2012 2:24 PM >>>>> To: [email protected] >>>>> Subject: Re: Can't build wicket from updated trunk >>>>> >>>>> clone the project from here: >>>>> http://git-wip-us.apache.org/repos/asf/wicket >>>>> >>>>> -igor >>>>> >>>>> On Sun, Jan 1, 2012 at 6:09 PM, Chris Colman >>>>> <[email protected]>wrote: >>>>> >>>>>> ** ** >>>>>> >>>>>> I have done a recent update on my working copy of the trunk and mvn >>>> clean >>>>>> install yields:**** >>>>>> >>>>>> ** ** >>>>>> >>>>>> Project ID: org.apache.wicket:wicket-ioc**** >>>>>> >>>>>> POM Location: C:\dev\libs\wicket\trunk\wicket-ioc\pom.xml**** >>>>>> >>>>>> Validation Messages:**** >>>>>> >>>>>> ** ** >>>>>> >>>>>> [0] 'dependencies.dependency.version' is missing for >>>>>> javax.inject:javax.inject:jar**** >>>>>> >>>>>> ** ** >>>>>> >>>>>> ** ** >>>>>> >>>>>> Have I done something wrong or do I need to upgrade to a later JDK >>>>>> (currently 1.6.0_29-b11)?**** >>>>>> >>>>>> ** ** >>>>>> >>>>>> Yours sincerely,**** >>>>>> >>>>>> ** ** >>>>>> >>>>>> Chris Colman**** >>>>>> >>>>>> **** >>>>>> >>>>>> Pagebloom Team Leader,**** >>>>>> >>>>>> Step Ahead Software >>>>>> >>>>>> **** >>>>>> >>>>>> pagebloom - your business & your website growing together**** >>>>>> >>>>>> ** ** >>>>>> >>>>>> **Sydney**: (+61 2) 9656 1278 ****Canberra****: (+61 2) 6100 2120 >>>>>> **** >>>>>> >>>>>> Email: [email protected] <//[email protected]>**** >>>>>> >>>>>> Website:**** >>>>>> >>>>>> http://www.pagebloom.com**** >>>>>> >>>>>> http://develop.stepaheadsoftware.com**** >>>>>> >>>>>> **** >>>>>> >>>>>> ** ** >>>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
