I'm getting the message shown below.

I see two calls to printMemoryStatus - but I'm not sure which one is being called here. I've set ANT_OPTS like this:

setenv ANT_OPTS "-Xmx1000m"

And still no luck. Is Ant's source code too big to process with XDoclet? I'm running on a 512MB RAM PowerBook, Mac OS X 10.2, so while I could get a beefier box, that shouldn't really be necessary, I hope :)

Any ideas on how I can squeeze Ant's own source code through XDoclet? The "\u" errors below don't have anything to do with this do they? I mean, if the parser is fixed, the out of memory error would still occur, right?

Help!

Thanks,
Erik


[xdoclet] Error parsing File /Users/erik/dev/jakarta/jakarta-ant/src/main/org/apache/tools/ant/ listener/AnsiColorLogger.java:Lexical error: xjavadoc.TokenMgrError: Lexical error at line 163, column 44. Encountered: "u" (117), after : "\"\\"
[xdoclet] Error parsing File /Users/erik/dev/jakarta/jakarta-ant/src/main/org/apache/tools/ant/ taskdefs/FixCRLF.java:Lexical error: xjavadoc.TokenMgrError: Lexical error at line 146, column 41. Encountered: "u" (117), after : "\'\\"
[xdoclet] null
[xdoclet] ParameterImpl instances: 20
[xdoclet] MethodImpl instances: 3040
[xdoclet] ConstructorImpl instances: 262
[xdoclet] SimpleNode instances: 0
[xdoclet] SourceClass instances: 293
[xdoclet] XDoc instances: 0
[xdoclet] DefaultXTag instances: 0
[xdoclet] BinaryClass instances: 142
[xdoclet] UnknownClass instances: 20
[xdoclet] Total memory: 63
[xdoclet] Free memory: 1
[xdoclet] Try to increase heap size. Can be done by defining ANT_OPTS=-Xmx640m
[xdoclet] See the JDK tooldocs.
[xdoclet] INFO: Some classes refer to other classes that were not found among the sources or on the classpath.
[xdoclet] (Perhaps the referred class doesn't exist? Hasn't been generated yet?)
[xdoclet] The referring classes do not import any fully qualified classes matching these classes.
[xdoclet] However, since no packages are imported, xjavadoc has assumed that the referred classes
[xdoclet] belong to the same package as the referring class. The classes are:
[xdoclet] org.apache.tools.ant.BuildListener --> EventListener qualified to EventListener
[xdoclet] org.apache.tools.ant.IntrospectionHelper --> NestedCreator qualified to NestedCreator
[xdoclet] org.apache.tools.ant.IntrospectionHelper --> NestedStorer qualified to NestedStorer
[xdoclet] org.apache.tools.ant.IntrospectionHelper --> AttributeSetter qualified to AttributeSetter
[xdoclet] org.apache.tools.mail.MailPrintStream --> PrintStream qualified to PrintStream

BUILD FAILED



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to