Peter,

On Fri, 2011-07-22 at 05:56 -0700, Peter Niederwieser wrote:
> Russel Winder wrote:
> > 
> > Is there a way of allocating more memory for the GroovyDoc task.
> > 
> 
> The Gradle Groovydoc task runs the Ant groovydoc task in the same JVM, so
> you have to increase PermGen space for Gradle's JVM.

I hadn't twigged that, thanks for the info.  I guess the compilers are
forked though?

Not sure if there is anything in this but if I run "gradle install" then
the groovydoc fails.  If I run "JAVA_OPT='-Xmx1024M' gradle install"
then the groovydoc fails.  If I run "gradle gant_groovy1.9:groovydoc" it
fails.  If I run  "JAVA_OPT="-Xmx1024M" gradle gant_groovy1.9:groovydoc"
it succeeds.  I can then run "gradle install" successfully.  So this
would indicate that the gant_groovy1.9:groovydoc task needs huge amounts
of memory compared to gant_groovy1.7:groovydoc or
gant_groovy1.8:groovydoc ones.

[ . . . ]
> These classes aren't included because they aren't considered part of
> Gradle's public API.

A pity as it makes research a lot harder -- it means perusing the
source :-(

[ . . . ]
> The real solution would probably be to fix Groovydoc. Like groovyc,
> Groovydoc uses reflection to get information about classes, which causes
> lots of problems.

Groovydoc hasn't had any serious love in a long while :-(

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to