ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: xdocs Gump (was [PATCH] Velocity task)
Date Tue, 28 Jan 2003 09:38:36 GMT
On Tuesday, January 28, 2003, at 04:27  AM, Stefan Bodewig wrote:
> [antdoclet] Error parsing File  
> /home/bodewig/dev/gump/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 :  
> "\"\\"

This is because the wrong xjavadoc JAR is being used in the classpath.   
The Unicode JAR is needed, which apparently runs slightly slower than  
the non-Unicode parser - but its needed to get the '\...' stuff to  
parse.

The JAR is xdoclet-xjavadoc-uc-<VERSION>.jar

Chances are both were built with Gump, right?  But the classpath  
ordering is crucial here.

> BUILD FAILED
> java.lang.OutOfMemoryError
>
> Total time: 46 seconds
>
> Which is likely to happen in nightly builds as well.
>
> I'll see whether I can patch Gump to accept JVM arguments and up the
> memory and will commit what I currently have as-is.

I run with this:

ANT_OPTS = -Xmx1000m  
- 
Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLo 
g

Definitely more VM memory is needed to run this.

	Erik


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message