Adam,

Gant now compiles fine.  One of the tests fails but this is echoing a
problem I see with IntelliJ IDEA even though the tests pass everywhere
else.

Thanks.


On Sun, 2009-07-12 at 20:22 +1000, Adam Murdoch wrote:
> I've just checked in an attempted fix for this. Could you update and see 
> if it works?
> 
> 
> Russel Winder wrote:
> > I am trying to tinker with the Gradle build file for Gant.  If I rely on
> > Maven for the depended on jars then the build works fine.  If I
> > introduce a flatDir in the lookup, I am getting the following.  As far
> > as I can tell there is no information here that helps me solve my
> > problem :-(
> >
> >         Build file 
> > '/home/users/russel/Repositories/Bazaar/Masters/Gant/Trunk_Development/build.gradle'
> >         
> >         Execution failed for task ':compile'.
> >         Cause: startup failed:
> >         Script1.groovy: 6: unexpected token: task @ line 6, column 104.
> >         1 error
> >         
> >         
> >         Exception is:
> >         org.gradle.api.GradleScriptException: Build file 
> > '/home/users/russel/Repositories/Bazaar/Masters/Gant/Trunk_Development/build.gradle'
> >         Execution failed for task ':compile'.
> >             at 
> > org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:218)
> >             at 
> > org.gradle.execution.DefaultTaskExecuter.executeTask(DefaultTaskExecuter.java:153)
> >             at 
> > org.gradle.execution.DefaultTaskExecuter.doExecute(DefaultTaskExecuter.java:144)
> >             at 
> > org.gradle.execution.DefaultTaskExecuter.execute(DefaultTaskExecuter.java:67)
> >             at 
> > org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:88)
> >             at org.gradle.Gradle.loadAndConfigureAndRun(Gradle.java:168)
> >             at org.gradle.Gradle.access$000(Gradle.java:57)
> >             at org.gradle.Gradle$1.run(Gradle.java:92)
> >             at org.gradle.Gradle.doBuild(Gradle.java:146)
> >             at org.gradle.Gradle.run(Gradle.java:90)
> >             at org.gradle.Main.execute(Main.java:83)
> >             at org.gradle.Main.main(Main.java:42)
> >             at org.gradle.BootstrapMain.main(BootstrapMain.java:53)
> >         Caused by: 
> > org.codehaus.groovy.control.MultipleCompilationErrorsException: startup 
> > failed:
> >         Script1.groovy: 6: unexpected token: task @ line 6, column 104.
> >         1 error
> >         
> >             at 
> > org.gradle.util.GradleUtil.executeIsolatedAntScript(GradleUtil.groovy:95)
> >             at 
> > org.gradle.util.GradleUtil$executeIsolatedAntScript.call(Unknown Source)
> >             at 
> > org.gradle.api.tasks.compile.AntGroovyc.execute(AntGroovyc.groovy:76)
> >             at 
> > org.gradle.api.tasks.compile.GroovyCompile.compile(GroovyCompile.java:86)
> >             at 
> > org.gradle.api.tasks.compile.GroovyCompile$1.execute(GroovyCompile.java:57)
> >             at 
> > org.gradle.api.tasks.compile.GroovyCompile$1.execute(GroovyCompile.java:55)
> >             at 
> > org.gradle.api.internal.AbstractTask.doExecute(AbstractTask.java:257)
> >             at 
> > org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:209)
> >             ... 12 common frames omitted
> >         09:33:38.458 [main] ERROR org.gradle.Main - 
> >         BUILD FAILED
> >         
> >         09:33:38.458 [main] INFO  org.gradle.Main - Total time: 11.08 secs
> >
> >   
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[email protected]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

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

Reply via email to