[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Some maven updates

kabir.khan@jboss.com do-not-reply at jboss.com
Mon Sep 22 06:32:39 EDT 2008


Doing a
./build.sh release
from the build directory gives me compilation errors in the asintegration/ module.

Running 
mvn install from the top-level folder gives me OutOfMemoryErrors

  | [INFO] ------------------------------------------------------------------------
  | [INFO] Building JBoss AOP Framework
  | [INFO]    task-segment: [install]
  | [INFO] ------------------------------------------------------------------------
  | [INFO] [enforcer:enforce {execution: enforce-versions}]
  | [INFO] [resources:resources]
  | [INFO] Using default encoding to copy filtered resources.
  | [INFO] [compiler:compile]
  | [INFO] Nothing to compile - all classes are up to date
  | [INFO] [resources:testResources]
  | [INFO] Using default encoding to copy filtered resources.
  | [INFO] [compiler:testCompile]
  | [INFO] Compiling 839 source files to /Users/kabir/sourcecontrol/jboss-aop/aop/target/test-classes
  | [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 java.lang.Object.clone(Native Method)
  | 	at com.sun.tools.javac.code.Scope.dupUnshared(Scope.java:122)
  | 	at com.sun.tools.javac.comp.MemberEnter.methodEnv(MemberEnter.java:587)
  | 	at com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:552)
  | 	at com.sun.tools.javac.tree.Tree$MethodDef.accept(Tree.java:478)
  | 	at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:383)
  | 	at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:395)
  | 	at com.sun.tools.javac.comp.MemberEnter.finishClass(MemberEnter.java:405)
  | 	at com.sun.tools.javac.comp.MemberEnter.finish(MemberEnter.java:953)
  | 	at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:920)
  | 	at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
  | 	at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:612)
  | 	at com.sun.tools.javac.comp.Enter.complete(Enter.java:467)
  | 	at com.sun.tools.javac.comp.Enter.main(Enter.java:445)
  | 	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:404)
  | 	at com.sun.tools.javac.main.Main.compile(Main.java:592)
  | 	at com.sun.tools.javac.main.Main.compile(Main.java:544)
  | 	at com.sun.tools.javac.Main.compile(Main.java:85)
  | 	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:585)
  | 	at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:420)
  | 	at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:141)
  | 	at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:493)
  | 	at org.apache.maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.java:102)
  | 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
  | 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
  | 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
  | 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
  | 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
  | 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
  | 
It works if I go into the aop/ folder and run mvn install there.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177992#4177992

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177992



More information about the jboss-dev-forums mailing list