I think I may have gotten that with mismatched curly braces before. Why don't you post your build.gradle (or at least the part that you changed to cause the failure).

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


--
Steve Appling
Automated Logic Research Team

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to