Changeset 60235 for trunk/dports/java


Ignore:
Timestamp:
Nov 6, 2009, 7:50:59 PM (10 years ago)
Author:
blair@…
Message:

I got the following compile failure today on my iMac and needed to
increase the maximum amount of memory Java could use, so set ANT_OPTS
to pass to the java process.

compile:

[javac] Compiling 1052 source files to /opt/local-development/var/macports/build/_opt_local-development_var_macports_sources_rsync.macports.org_release_ports_java_servlet25-api/work/apache-tomcat-6.0.20-src/output/classes
[javac]
[javac]
[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.OutOfMemoryError: Java heap space
[javac] at com.sun.tools.javac.util.Log.useSource(Log.java:211)
[javac] at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:959)
[javac] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
[javac] at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
[javac] at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:690)
[javac] at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:124)
[javac] at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:843)
[javac] at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:901)
[javac] at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:953)
[javac] at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:986)
[javac] at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:1162)
[javac] at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:1714)
[javac] at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1547)
[javac] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
[javac] at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390)
[javac] at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:607)
[javac] at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:691)
[javac] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
[javac] at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:350)
[javac] at com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:560)
[javac] at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:639)
[javac] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
[javac] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:399)
[javac] at com.sun.tools.javac.comp.MemberEnter.finishClass(MemberEnter.java:410)
[javac] at com.sun.tools.javac.comp.MemberEnter.finish(MemberEnter.java:1000)
[javac] at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:967)
[javac] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
[javac] at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
[javac] at com.sun.tools.javac.comp.Enter.complete(Enter.java:451)
[javac] at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
[javac] at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
[javac] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)

BUILD FAILED
/opt/local-development/var/macports/build/_opt_local-development_var_macports_sources_rsync.macports.org_release_ports_java_servlet25-api/work/apache-tomcat-6.0.20-src/build.xml:119: Compile failed; see the compiler error output for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.