Hi,
I have just copied the script from cookbook for executing "Cobertura" report.
test.doLast {} is not getting executed if one of the test fails. Is there a
way to make the task call test.doLast irrespective of the test results
Thanks,
Haneef
-----Original Message-----
From: ptornagh [mailto:[email protected]]
Sent: Monday, November 02, 2009 6:51 AM
To: [email protected]
Subject: Re: [gradle-user] compile property and OutOfMemory problem
ptornagh wrote:
>
> Hi all,
> I'm really new to gradle.
> I have several subprojects (I'm using java plugin) and compiling I got an
> OutOfMemoryError: Java heap space.
> I searched the mailing list and I found that the solution should be to
> use:
>
> compile.getOptions().fork([memoryMaximumSize:"512m"]) .
>
> I placed it into the "subprojects" scope and I'm getting the following
> error:
>
> "Could not find property 'compile' on project mySubProject"
>
> I know it's probably a silly question...but what am I missing?
>
> Thanks,
> Paolo
>
I figured it out:
do not refer to compile property, but refer to compileJava property instead
:
with compileJava.options.fork(memoryMaximumSize: '512m')
I had the job done.
--
View this message in context:
http://old.nabble.com/compile-property-and-OutOfMemory-problem-tp26156670p26157117.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email