[GRADLE-1791] Gradle M5 snapshot Tooling API Fails to build Hierarchical Eclipse project for spring-security Created: 12/Sep/11  Updated: 04/Jan/13  Resolved: 18/May/12

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-5
Fix Version/s: None

Type: Bug
Reporter: Kris De Volder Assignee: Szczepan Faber
Resolution: Won't Fix Votes: 0


 Description   

I suspect this could be another incarnation of (or at least similar too)
http://issues.gradle.org/browse/GRADLE-1701

I.e it looks like the problem finding JavaPlugin on buildSrc classpath is solved but there may be other classpath problems with buildSrc.

Test project setup:

git clone git://git.springsource.org/spring-security/spring-security.git
git checkout 359bd7c46

Excerpt from STS Gradle integration test build:

error	12-Sep-2011 04:15:01	Running testImportSpringSecurity(com.springsource.gradle.core.test.GradleImportTests)
build	12-Sep-2011 04:15:02	Cloning test project: 'spring-security'
build	12-Sep-2011 04:15:02	     Target location: /opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-security
build	12-Sep-2011 04:15:02	Cloning into spring-security...
build	12-Sep-2011 04:15:25	>>>> ExternalProcess: git clone git://git.springsource.org/spring-security/spring-security.git
build	12-Sep-2011 04:15:25	exitValue = 0
build	12-Sep-2011 04:15:25	<<<< ExternalProcess
error	12-Sep-2011 04:15:25	Note: checking out '359bd7c46'.
error	12-Sep-2011 04:15:25	
error	12-Sep-2011 04:15:25	You are in 'detached HEAD' state. You can look around, make experimental
error	12-Sep-2011 04:15:25	changes and commit them, and you can discard any commits you make in this
error	12-Sep-2011 04:15:25	state without impacting any branches by performing another checkout.
error	12-Sep-2011 04:15:25	
error	12-Sep-2011 04:15:25	If you want to create a new branch to retain commits you create, you may
error	12-Sep-2011 04:15:25	do so (now or later) by using -b with the checkout command again. Example:
error	12-Sep-2011 04:15:25	
error	12-Sep-2011 04:15:25	  git checkout -b new_branch_name
error	12-Sep-2011 04:15:25	
error	12-Sep-2011 04:15:25	HEAD is now at 359bd7c... SEC-1804: Updated Javadoc wrt immutability of User class.
build	12-Sep-2011 04:15:25	>>>> ExternalProcess: git checkout 359bd7c46
build	12-Sep-2011 04:15:25	exitValue = 0
build	12-Sep-2011 04:15:25	<<<< ExternalProcess
build	12-Sep-2011 04:15:25	Note: the Gradle build daemon is an experimental feature.
build	12-Sep-2011 04:15:25	As such, you may experience unexpected build failures. You may need to occasionally stop the daemon.
build	12-Sep-2011 04:15:26	The ideaModule.excludeDirs method is deprecated and will be removed in the next version of Gradle. You should use the idea.module.excludeDirs method instead.
build	12-Sep-2011 04:16:14	:buildSrc:clean
build	12-Sep-2011 04:16:14	:buildSrc:compileJava UP-TO-DATE
error	12-Sep-2011 04:16:28	org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
error	12-Sep-2011 04:16:28	/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-security/buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy: 15: unable to resolve class org.gradle.tooling.model.ProjectDependency
error	12-Sep-2011 04:16:28	 @ line 15, column 1.
error	12-Sep-2011 04:16:28	   import org.gradle.tooling.model.ProjectDependency
error	12-Sep-2011 04:16:28	   ^
error	12-Sep-2011 04:16:28	
error	12-Sep-2011 04:16:28	/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-security/buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy: 14: unable to resolve class org.gradle.plugins.ide.eclipse.model.BuildCommand
error	12-Sep-2011 04:16:28	 @ line 14, column 1.
error	12-Sep-2011 04:16:28	   import org.gradle.plugins.ide.eclipse.model.BuildCommand
error	12-Sep-2011 04:16:28	   ^
error	12-Sep-2011 04:16:28	
error	12-Sep-2011 04:16:28	/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-security/buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy: 13: unable to resolve class org.gradle.plugins.ide.eclipse.GenerateEclipseClasspath
error	12-Sep-2011 04:16:28	 @ line 13, column 1.
error	12-Sep-2011 04:16:28	   import org.gradle.plugins.ide.eclipse.GenerateEclipseClasspath
error	12-Sep-2011 04:16:28	   ^
error	12-Sep-2011 04:16:28	
error	12-Sep-2011 04:16:28	/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-security/buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy: 12: unable to resolve class org.gradle.plugins.ide.eclipse.GenerateEclipseProject
error	12-Sep-2011 04:16:28	 @ line 12, column 1.
error	12-Sep-2011 04:16:28	   import org.gradle.plugins.ide.eclipse.GenerateEclipseProject
error	12-Sep-2011 04:16:28	   ^
error	12-Sep-2011 04:16:28	
error	12-Sep-2011 04:16:28	4 errors
error	12-Sep-2011 04:16:28	
build	12-Sep-2011 04:16:28	:buildSrc:compileGroovy
error	12-Sep-2011 04:16:28	
error	12-Sep-2011 04:16:28	FAILURE: Build failed with an exception.
error	12-Sep-2011 04:16:28	
error	12-Sep-2011 04:16:28	* What went wrong:
error	12-Sep-2011 04:16:28	Execution failed for task ':compileGroovy'.
error	12-Sep-2011 04:16:28	Cause: Forked groovyc returned error code: 1
error	12-Sep-2011 04:16:28	
error	12-Sep-2011 04:16:28	* Try:
error	12-Sep-2011 04:16:28	Run with --info or --debug option to get more log output.
error	12-Sep-2011 04:16:28	
error	12-Sep-2011 04:16:28	* Exception is:
error	12-Sep-2011 04:16:28	org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileGroovy'.
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:71)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:48)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:34)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:55)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:238)
error	12-Sep-2011 04:16:28		at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167)
error	12-Sep-2011 04:16:28		at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160)
error	12-Sep-2011 04:16:28		at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78)
error	12-Sep-2011 04:16:28		at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113)
error	12-Sep-2011 04:16:28		at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54)
error	12-Sep-2011 04:16:28		at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155)
error	12-Sep-2011 04:16:28		at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:109)
error	12-Sep-2011 04:16:28		at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:77)
error	12-Sep-2011 04:16:28		at org.gradle.initialization.BuildSourceBuilder.createBuildSourceClasspath(BuildSourceBuilder.java:92)
error	12-Sep-2011 04:16:28		at org.gradle.initialization.BuildSourceBuilder.buildAndCreateClassLoader(BuildSourceBuilder.java:57)
error	12-Sep-2011 04:16:28		at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:84)
error	12-Sep-2011 04:16:28		at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:46)
error	12-Sep-2011 04:16:28		at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:130)
error	12-Sep-2011 04:16:28		at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:109)
error	12-Sep-2011 04:16:28		at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:88)
error	12-Sep-2011 04:16:28		at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:46)
error	12-Sep-2011 04:16:28		at org.gradle.tooling.internal.provider.DelegatingBuildModelAction.run(DelegatingBuildModelAction.java:42)
error	12-Sep-2011 04:16:28		at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:56)
error	12-Sep-2011 04:16:28		at org.gradle.launcher.DefaultGradleLauncherActionExecuter.execute(DefaultGradleLauncherActionExecuter.java:49)
build	12-Sep-2011 04:16:28	
build	12-Sep-2011 04:16:28	BUILD FAILED
build	12-Sep-2011 04:16:28	
error	12-Sep-2011 04:16:28		at org.gradle.launcher.daemon.EnvironmentAwareExecuter.executeBuild(EnvironmentAwareExecuter.java:54)
error	12-Sep-2011 04:16:28		at org.gradle.launcher.daemon.Daemon.doRunWithExceptionHandling(Daemon.java:301)
build	12-Sep-2011 04:16:28	Total time: 1 mins 3.287 secs
error	12-Sep-2011 04:16:28		at org.gradle.launcher.daemon.Daemon.doRunWithLogging(Daemon.java:281)
error	12-Sep-2011 04:16:28		at org.gradle.launcher.daemon.Daemon.doRun(Daemon.java:262)
error	12-Sep-2011 04:16:28		at org.gradle.launcher.daemon.Daemon.access$400(Daemon.java:52)
error	12-Sep-2011 04:16:28		at org.gradle.launcher.daemon.Daemon$1$1.run(Daemon.java:133)
error	12-Sep-2011 04:16:28		at org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
error	12-Sep-2011 04:16:28	Caused by: : Forked groovyc returned error code: 1
error	12-Sep-2011 04:16:28		at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
error	12-Sep-2011 04:16:28		at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:71)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.project.AntBuilderDelegate.nodeCompleted(DefaultIsolatedAntBuilder.groovy:140)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.compile.AntGroovyCompiler$_execute_closure1.doCall(AntGroovyCompiler.groovy:66)
error	12-Sep-2011 04:16:28		at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:112)
error	12-Sep-2011 04:16:28		at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:61)
error	12-Sep-2011 04:16:28		at org.gradle.util.ConfigureUtil$configure.call(Unknown Source)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.project.DefaultIsolatedAntBuilder.execute(DefaultIsolatedAntBuilder.groovy:101)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.project.IsolatedAntBuilder$execute.call(Unknown Source)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.compile.AntGroovyCompiler.execute(AntGroovyCompiler.groovy:63)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.compile.IncrementalJavaSourceCompiler.execute(IncrementalJavaSourceCompiler.java:73)
error	12-Sep-2011 04:16:28		at org.gradle.api.tasks.compile.GroovyCompile.compile(GroovyCompile.java:60)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93)
error	12-Sep-2011 04:16:28		at org.gradle.api.tasks.compile.GroovyCompile_Decorated.invokeMethod(Unknown Source)
error	12-Sep-2011 04:16:28		at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:129)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:127)
error	12-Sep-2011 04:16:28		at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:63)
error	12-Sep-2011 04:16:28		... 35 more
error	12-Sep-2011 04:16:28	
error	12-Sep-2011 04:16:28	[ERROR]


 Comments   
Comment by Kris De Volder [ 12/Sep/11 ]

Didn't want to raise a separate bug for this, since it seems like more classpath trouble in buildSrc. This time its on 'spring-integration' test project:

error	12-Sep-2011 17:52:36	Running testImportSpringIntegration(com.springsource.gradle.core.test.GradleImportTests)
build	12-Sep-2011 17:52:36	Cloning test project: 'spring-integration'
build	12-Sep-2011 17:52:36	     Target location: /opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-integration
build	12-Sep-2011 17:52:36	Cloning into spring-integration...
build	12-Sep-2011 17:52:42	Submodule 'buildSrc' (git://github.com/SpringSource/spring-build-gradle.git) registered for path 'buildSrc'
build	12-Sep-2011 17:52:42	Cloning into buildSrc...
build	12-Sep-2011 17:52:44	Submodule path 'buildSrc': checked out 'dfae80296e48e4e67bf08ceef0ab348b21ed3ce4'
build	12-Sep-2011 17:52:44	>>>> ExternalProcess: git clone --recursive git://git.springsource.org/spring-integration/spring-integration.git
build	12-Sep-2011 17:52:44	exitValue = 0
build	12-Sep-2011 17:52:44	<<<< ExternalProcess
error	12-Sep-2011 17:52:45	Note: checking out 'e504436b'.
error	12-Sep-2011 17:52:45	
build	12-Sep-2011 17:52:45	>>>> ExternalProcess: git checkout e504436b
build	12-Sep-2011 17:52:45	exitValue = 0
error	12-Sep-2011 17:52:45	You are in 'detached HEAD' state. You can look around, make experimental
build	12-Sep-2011 17:52:45	<<<< ExternalProcess
error	12-Sep-2011 17:52:45	changes and commit them, and you can discard any commits you make in this
error	12-Sep-2011 17:52:45	state without impacting any branches by performing another checkout.
error	12-Sep-2011 17:52:45	
error	12-Sep-2011 17:52:45	If you want to create a new branch to retain commits you create, you may
error	12-Sep-2011 17:52:45	do so (now or later) by using -b with the checkout command again. Example:
error	12-Sep-2011 17:52:45	
error	12-Sep-2011 17:52:45	  git checkout -b new_branch_name
error	12-Sep-2011 17:52:45	
error	12-Sep-2011 17:52:45	HEAD is now at e504436... Added another @Ignore to Redis
build	12-Sep-2011 17:52:45	Note: the Gradle build daemon is an experimental feature.
build	12-Sep-2011 17:52:45	As such, you may experience unexpected build failures. You may need to occasionally stop the daemon.
build	12-Sep-2011 17:52:45	:buildSrc:clean
build	12-Sep-2011 17:52:45	:buildSrc:compileJava UP-TO-DATE
build	12-Sep-2011 17:52:47	:buildSrc:compileGroovy
build	12-Sep-2011 17:52:47	:buildSrc:processResources
build	12-Sep-2011 17:52:47	:buildSrc:classes
build	12-Sep-2011 17:52:47	:buildSrc:jar
build	12-Sep-2011 17:52:47	:buildSrc:assemble
build	12-Sep-2011 17:52:47	:buildSrc:compileTestJava UP-TO-DATE
build	12-Sep-2011 17:52:47	:buildSrc:compileTestGroovy UP-TO-DATE
build	12-Sep-2011 17:52:47	:buildSrc:processTestResources UP-TO-DATE
build	12-Sep-2011 17:52:47	:buildSrc:testClasses UP-TO-DATE
build	12-Sep-2011 17:52:47	:buildSrc:test
build	12-Sep-2011 17:52:47	:buildSrc:check
build	12-Sep-2011 17:52:47	:buildSrc:build
build	12-Sep-2011 17:53:03	Download http://shibboleth.internet2.edu/downloads/maven2/org/apache/xerces/resolver/2.9.1/resolver-2.9.1.pom
build	12-Sep-2011 17:53:06	Download http://shibboleth.internet2.edu/downloads/maven2/org/apache/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.pom
build	12-Sep-2011 17:53:20	Download http://repo1.maven.org/maven2/net/sf/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2-resources.zip
build	12-Sep-2011 17:53:22	Download http://shibboleth.internet2.edu/downloads/maven2/org/apache/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
error	12-Sep-2011 17:53:28	
error	12-Sep-2011 17:53:28	FAILURE: Build failed with an exception.
error	12-Sep-2011 17:53:28	
error	12-Sep-2011 17:53:28	* Where:
error	12-Sep-2011 17:53:28	Script '/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-integration/buildSrc/docbook.gradle' line: 34
error	12-Sep-2011 17:53:28	
error	12-Sep-2011 17:53:28	* What went wrong:
error	12-Sep-2011 17:53:28	Could not compile script '/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-integration/buildSrc/docbook.gradle'.
error	12-Sep-2011 17:53:28	Cause: startup failed:
error	12-Sep-2011 17:53:28	script '/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-integration/buildSrc/docbook.gradle': 34: unable to resolve class ch.qos.logback.classic.Level
error	12-Sep-2011 17:53:28	 @ line 34, column 1.
error	12-Sep-2011 17:53:28	   import ch.qos.logback.classic.Level;
error	12-Sep-2011 17:53:28	   ^
error	12-Sep-2011 17:53:28	
error	12-Sep-2011 17:53:28	1 error
error	12-Sep-2011 17:53:28	
error	12-Sep-2011 17:53:28	
error	12-Sep-2011 17:53:28	* Try:
error	12-Sep-2011 17:53:28	Run with --info or --debug option to get more log output.
error	12-Sep-2011 17:53:28	
error	12-Sep-2011 17:53:28	* Exception is:
error	12-Sep-2011 17:53:28	org.gradle.api.ScriptCompilationException: Could not compile script '/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-integration/buildSrc/docbook.gradle'.
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.wrapCompilationFailure(DefaultScriptCompilationHandler.java:154)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.compileScript(DefaultScriptCompilationHandler.java:120)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.compileToDir(DefaultScriptCompilationHandler.java:67)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler$CacheInitializer.execute(FileCacheBackedScriptClassCompiler.java:75)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler$CacheInitializer.execute(FileCacheBackedScriptClassCompiler.java:60)
error	12-Sep-2011 17:53:28		at org.gradle.cache.internal.DefaultPersistentDirectoryCache.buildCacheDir(DefaultPersistentDirectoryCache.java:92)
error	12-Sep-2011 17:53:28		at org.gradle.cache.internal.DefaultPersistentDirectoryCache.access$000(DefaultPersistentDirectoryCache.java:34)
error	12-Sep-2011 17:53:28		at org.gradle.cache.internal.DefaultPersistentDirectoryCache$1.run(DefaultPersistentDirectoryCache.java:61)
error	12-Sep-2011 17:53:28		at org.gradle.cache.internal.DefaultFileLockManager$DefaultFileLock.writeToFile(DefaultFileLockManager.java:108)
error	12-Sep-2011 17:53:28		at org.gradle.cache.internal.DefaultPersistentDirectoryCache.init(DefaultPersistentDirectoryCache.java:59)
error	12-Sep-2011 17:53:28		at org.gradle.cache.internal.DefaultPersistentDirectoryCache.<init>(DefaultPersistentDirectoryCache.java:45)
error	12-Sep-2011 17:53:28		at org.gradle.cache.internal.DefaultCacheFactory$CacheFactoryImpl.doOpenDir(DefaultCacheFactory.java:57)
error	12-Sep-2011 17:53:28		at org.gradle.cache.internal.DefaultCacheFactory$CacheFactoryImpl.open(DefaultCacheFactory.java:89)
error	12-Sep-2011 17:53:28		at org.gradle.cache.internal.LazyOpenCacheFactory$2.create(LazyOpenCacheFactory.java:47)
error	12-Sep-2011 17:53:28		at org.gradle.cache.internal.LazyOpenCacheFactory$2.create(LazyOpenCacheFactory.java:45)
error	12-Sep-2011 17:53:28		at org.gradle.listener.LazyCreationProxy$LazyInvocationHandler.invoke(LazyCreationProxy.java:45)
error	12-Sep-2011 17:53:28		at $Proxy15.getBaseDir(Unknown Source)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler.classesDir(FileCacheBackedScriptClassCompiler.java:57)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler.compile(FileCacheBackedScriptClassCompiler.java:52)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.ShortCircuitEmptyScriptCompiler.compile(ShortCircuitEmptyScriptCompiler.java:35)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.CachingScriptClassCompiler.compile(CachingScriptClassCompiler.java:36)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:60)
error	12-Sep-2011 17:53:28		at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:121)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:82)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:32)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:54)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$execute.call(Unknown Source)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.DefaultScript.apply(DefaultScript.groovy:72)
error	12-Sep-2011 17:53:28		at org.gradle.api.Script$apply.callCurrent(Unknown Source)
error	12-Sep-2011 17:53:28		at docs_1v5bqcfjbcokpv0t0jucoc32nb.run(/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-integration/buildSrc/docs.gradle:18)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
error	12-Sep-2011 17:53:28		at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:82)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:32)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:54)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.project.AbstractProject.apply(AbstractProject.java:841)
error	12-Sep-2011 17:53:28		at build_2cqlhv79k23502orb01bit7mjd$_run_closure28.doCall(/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-integration/build.gradle:477)
error	12-Sep-2011 17:53:28		at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:112)
error	12-Sep-2011 17:53:28		at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:61)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.project.AbstractProject.project(AbstractProject.java:857)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.project.DefaultProject_Decorated.invokeMethod(Unknown Source)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.groovy:72)
error	12-Sep-2011 17:53:28		at build_2cqlhv79k23502orb01bit7mjd.run(/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-integration/build.gradle:476)
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
error	12-Sep-2011 17:53:28		at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
error	12-Sep-2011 17:53:28		at org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:38)
error	12-Sep-2011 17:53:28		at org.gradle.configuration.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:43)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:474)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:73)
error	12-Sep-2011 17:53:28		at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:23)
error	12-Sep-2011 17:53:28		at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:21)
error	12-Sep-2011 17:53:28		at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:38)
error	12-Sep-2011 17:53:28		at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:35)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:450)
error	12-Sep-2011 17:53:28		at org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:445)
error	12-Sep-2011 17:53:28		at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
error	12-Sep-2011 17:53:28		at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:138)
error	12-Sep-2011 17:53:28		at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:109)
error	12-Sep-2011 17:53:28		at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:88)
error	12-Sep-2011 17:53:28		at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:46)
error	12-Sep-2011 17:53:28		at org.gradle.tooling.internal.provider.DelegatingBuildModelAction.run(DelegatingBuildModelAction.java:42)
error	12-Sep-2011 17:53:28		at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:56)
error	12-Sep-2011 17:53:28		at org.gradle.launcher.DefaultGradleLauncherActionExecuter.execute(DefaultGradleLauncherActionExecuter.java:49)
error	12-Sep-2011 17:53:28		at org.gradle.launcher.daemon.EnvironmentAwareExecuter.executeBuild(EnvironmentAwareExecuter.java:54)
error	12-Sep-2011 17:53:28		at org.gradle.launcher.daemon.Daemon.doRunWithExceptionHandling(Daemon.java:301)
error	12-Sep-2011 17:53:28		at org.gradle.launcher.daemon.Daemon.doRunWithLogging(Daemon.java:281)
error	12-Sep-2011 17:53:28		at org.gradle.launcher.daemon.Daemon.doRun(Daemon.java:262)
error	12-Sep-2011 17:53:28		at org.gradle.launcher.daemon.Daemon.access$400(Daemon.java:52)
error	12-Sep-2011 17:53:28		at org.gradle.launcher.daemon.Daemon$1$1.run(Daemon.java:133)
error	12-Sep-2011 17:53:28		at org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
error	12-Sep-2011 17:53:28	Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
error	12-Sep-2011 17:53:28	script '/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-integration/buildSrc/docbook.gradle': 34: unable to resolve class ch.qos.logback.classic.Level
error	12-Sep-2011 17:53:28	 @ line 34, column 1.
error	12-Sep-2011 17:53:28	   import ch.qos.logback.classic.Level;
error	12-Sep-2011 17:53:28	   ^
error	12-Sep-2011 17:53:28	
error	12-Sep-2011 17:53:28	1 error
error	12-Sep-2011 17:53:28	
error	12-Sep-2011 17:53:28		at org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.compileScript(DefaultScriptCompilationHandler.java:118)
error	12-Sep-2011 17:53:28		... 72 more
error	12-Sep-2011 17:53:28	
build	12-Sep-2011 17:53:28	
build	12-Sep-2011 17:53:28	BUILD FAILED
build	12-Sep-2011 17:53:28	
build	12-Sep-2011 17:53:28	Total time: 43.045 secs
error	12-Sep-2011 17:53:28	[ERROR]
Comment by Kris De Volder [ 12/Sep/11 ]

UPDATE: 12 Sep 2011: This problem seems fixed now.

One more failure because of apparant buildSrc classpath issues:

error	12-Sep-2011 17:53:28	Running testImportSpock(com.springsource.gradle.core.test.GradleImportTests)
build	12-Sep-2011 17:53:28	Cloning test project: 'spock'
build	12-Sep-2011 17:53:28	     Target location: /opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spock
build	12-Sep-2011 17:53:29	Cloning into spock...
build	12-Sep-2011 17:53:32	>>>> ExternalProcess: git clone git://github.com/spockframework/spock.git
build	12-Sep-2011 17:53:32	exitValue = 0
build	12-Sep-2011 17:53:32	<<<< ExternalProcess
error	12-Sep-2011 17:53:33	Note: checking out '3f5723'.
error	12-Sep-2011 17:53:33	
error	12-Sep-2011 17:53:33	You are in 'detached HEAD' state. You can look around, make experimental
error	12-Sep-2011 17:53:33	changes and commit them, and you can discard any commits you make in this
error	12-Sep-2011 17:53:33	state without impacting any branches by performing another checkout.
error	12-Sep-2011 17:53:33	
error	12-Sep-2011 17:53:33	If you want to create a new branch to retain commits you create, you may
error	12-Sep-2011 17:53:33	do so (now or later) by using -b with the checkout command again. Example:
error	12-Sep-2011 17:53:33	
error	12-Sep-2011 17:53:33	  git checkout -b new_branch_name
error	12-Sep-2011 17:53:33	
error	12-Sep-2011 17:53:33	HEAD is now at 3f5723e... fixed failing examples by using separate app contexts
build	12-Sep-2011 17:53:33	>>>> ExternalProcess: git checkout 3f5723
build	12-Sep-2011 17:53:33	exitValue = 0
build	12-Sep-2011 17:53:33	<<<< ExternalProcess
build	12-Sep-2011 17:53:33	Note: the Gradle build daemon is an experimental feature.
build	12-Sep-2011 17:53:33	As such, you may experience unexpected build failures. You may need to occasionally stop the daemon.
build	12-Sep-2011 17:53:50	:buildSrc:grails-plugin:clean
build	12-Sep-2011 17:53:50	:buildSrc:clean
build	12-Sep-2011 17:53:50	:buildSrc:huxi-gradle-plugins:pgp-gradle-plugin:clean
build	12-Sep-2011 17:53:50	:buildSrc:grails-plugin:compileJava UP-TO-DATE
build	12-Sep-2011 17:53:50	:buildSrc:compileJava UP-TO-DATE
build	12-Sep-2011 17:53:55	:buildSrc:grails-plugin:compileGroovy
build	12-Sep-2011 17:53:55	:buildSrc:compileGroovy UP-TO-DATE
build	12-Sep-2011 17:53:55	:buildSrc:grails-plugin:processResources
build	12-Sep-2011 17:53:55	:buildSrc:processResources UP-TO-DATE
build	12-Sep-2011 17:53:55	:buildSrc:grails-plugin:classes
build	12-Sep-2011 17:53:55	:buildSrc:classes
build	12-Sep-2011 17:53:55	:buildSrc:grails-plugin:jar
build	12-Sep-2011 17:53:55	:buildSrc:jar
build	12-Sep-2011 17:53:55	:buildSrc:grails-plugin:assemble
build	12-Sep-2011 17:53:55	:buildSrc:assemble
build	12-Sep-2011 17:53:55	:buildSrc:grails-plugin:compileTestJava UP-TO-DATE
build	12-Sep-2011 17:53:55	:buildSrc:compileTestJava UP-TO-DATE
build	12-Sep-2011 17:53:55	:buildSrc:grails-plugin:compileTestGroovy UP-TO-DATE
build	12-Sep-2011 17:53:55	:buildSrc:compileTestGroovy UP-TO-DATE
build	12-Sep-2011 17:53:55	:buildSrc:grails-plugin:processTestResources UP-TO-DATE
build	12-Sep-2011 17:53:55	:buildSrc:processTestResources UP-TO-DATE
build	12-Sep-2011 17:53:55	:buildSrc:grails-plugin:testClasses UP-TO-DATE
build	12-Sep-2011 17:53:55	:buildSrc:testClasses UP-TO-DATE
build	12-Sep-2011 17:53:57	:buildSrc:grails-plugin:test
build	12-Sep-2011 17:53:57	:buildSrc:huxi-gradle-plugins:pgp-gradle-plugin:compileJava UP-TO-DATE
error	12-Sep-2011 17:53:59	org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
error	12-Sep-2011 17:53:59	/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spock/buildSrc/huxi-gradle-plugins/pgp-gradle-plugin/src/main/groovy/de/huxhorn/gradle/pgp/PgpPlugin.groovy: 40: unable to resolve class org.gradle.api.artifacts.maven.MavenDeployer
error	12-Sep-2011 17:53:59	 @ line 40, column 1.
error	12-Sep-2011 17:53:59	   import org.gradle.api.artifacts.maven.MavenDeployer
error	12-Sep-2011 17:53:59	   ^
error	12-Sep-2011 17:53:59	
error	12-Sep-2011 17:53:59	1 error
error	12-Sep-2011 17:53:59	
build	12-Sep-2011 17:54:00	:buildSrc:huxi-gradle-plugins:pgp-gradle-plugin:compileGroovy
error	12-Sep-2011 17:54:00	
error	12-Sep-2011 17:54:00	FAILURE: Build failed with an exception.
error	12-Sep-2011 17:54:00	
error	12-Sep-2011 17:54:00	* What went wrong:
error	12-Sep-2011 17:54:00	Execution failed for task ':huxi-gradle-plugins:pgp-gradle-plugin:compileGroovy'.
error	12-Sep-2011 17:54:00	Cause: Forked groovyc returned error code: 1
error	12-Sep-2011 17:54:00	
error	12-Sep-2011 17:54:00	* Try:
error	12-Sep-2011 17:54:00	Run with --info or --debug option to get more log output.
error	12-Sep-2011 17:54:00	
error	12-Sep-2011 17:54:00	* Exception is:
error	12-Sep-2011 17:54:00	org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':huxi-gradle-plugins:pgp-gradle-plugin:compileGroovy'.
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:71)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:48)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:34)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:55)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:238)
error	12-Sep-2011 17:54:00		at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167)
error	12-Sep-2011 17:54:00		at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160)
error	12-Sep-2011 17:54:00		at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78)
error	12-Sep-2011 17:54:00		at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113)
error	12-Sep-2011 17:54:00		at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54)
error	12-Sep-2011 17:54:00		at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155)
error	12-Sep-2011 17:54:00		at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:109)
error	12-Sep-2011 17:54:00		at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:77)
error	12-Sep-2011 17:54:00		at org.gradle.initialization.BuildSourceBuilder.createBuildSourceClasspath(BuildSourceBuilder.java:92)
error	12-Sep-2011 17:54:00		at org.gradle.initialization.BuildSourceBuilder.buildAndCreateClassLoader(BuildSourceBuilder.java:57)
error	12-Sep-2011 17:54:00		at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:84)
error	12-Sep-2011 17:54:00		at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:46)
error	12-Sep-2011 17:54:00		at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:130)
error	12-Sep-2011 17:54:00		at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:109)
error	12-Sep-2011 17:54:00		at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:88)
error	12-Sep-2011 17:54:00		at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:46)
error	12-Sep-2011 17:54:00		at org.gradle.tooling.internal.provider.DelegatingBuildModelAction.run(DelegatingBuildModelAction.java:42)
error	12-Sep-2011 17:54:00		at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:56)
error	12-Sep-2011 17:54:00		at org.gradle.launcher.DefaultGradleLauncherActionExecuter.execute(DefaultGradleLauncherActionExecuter.java:49)
error	12-Sep-2011 17:54:00		at org.gradle.launcher.daemon.EnvironmentAwareExecuter.executeBuild(EnvironmentAwareExecuter.java:54)
error	12-Sep-2011 17:54:00		at org.gradle.launcher.daemon.Daemon.doRunWithExceptionHandling(Daemon.java:301)
error	12-Sep-2011 17:54:00		at org.gradle.launcher.daemon.Daemon.doRunWithLogging(Daemon.java:281)
error	12-Sep-2011 17:54:00		at org.gradle.launcher.daemon.Daemon.doRun(Daemon.java:262)
error	12-Sep-2011 17:54:00		at org.gradle.launcher.daemon.Daemon.access$400(Daemon.java:52)
error	12-Sep-2011 17:54:00		at org.gradle.launcher.daemon.Daemon$1$1.run(Daemon.java:133)
error	12-Sep-2011 17:54:00		at org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
error	12-Sep-2011 17:54:00	Caused by: : Forked groovyc returned error code: 1
error	12-Sep-2011 17:54:00		at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
error	12-Sep-2011 17:54:00		at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:71)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.project.AntBuilderDelegate.nodeCompleted(DefaultIsolatedAntBuilder.groovy:140)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.compile.AntGroovyCompiler$_execute_closure1.doCall(AntGroovyCompiler.groovy:66)
error	12-Sep-2011 17:54:00		at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:112)
error	12-Sep-2011 17:54:00		at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:61)
error	12-Sep-2011 17:54:00		at org.gradle.util.ConfigureUtil$configure.call(Unknown Source)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.project.DefaultIsolatedAntBuilder.execute(DefaultIsolatedAntBuilder.groovy:101)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.project.IsolatedAntBuilder$execute.call(Unknown Source)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.compile.AntGroovyCompiler.execute(AntGroovyCompiler.groovy:63)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.compile.IncrementalJavaSourceCompiler.execute(IncrementalJavaSourceCompiler.java:73)
error	12-Sep-2011 17:54:00		at org.gradle.api.tasks.compile.GroovyCompile.compile(GroovyCompile.java:60)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93)
error	12-Sep-2011 17:54:00		at org.gradle.api.tasks.compile.GroovyCompile_Decorated.invokeMethod(Unknown Source)
error	12-Sep-2011 17:54:00		at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:129)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:127)
error	12-Sep-2011 17:54:00		at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:63)
error	12-Sep-2011 17:54:00		... 35 more
error	12-Sep-2011 17:54:00	
build	12-Sep-2011 17:54:00	
build	12-Sep-2011 17:54:00	BUILD FAILED
build	12-Sep-2011 17:54:00	
build	12-Sep-2011 17:54:00	Total time: 27.275 secs
error	12-Sep-2011 17:54:00	[ERROR]
Comment by Szczepan Faber [ 13/Sep/11 ]

From the stacktraces I can gather that there are still missing entries on the classpath that were available pre M4 by default in the buildSrc:

    • maven project
    • ide project
    • tooling api project
    • probably others, not exposed by Kris' tests

@Adam, can you comment?

Comment by Kris De Volder [ 14/Sep/11 ]

Update: spock import seems ok now.

Still having problems with spring-security and spring-integration.
The error on spring-integration is still the same.
The error on spring-security is different now:

error	14-Sep-2011 04:15:14	Running testImportSpringSecurity(com.springsource.gradle.core.test.GradleImportTests)
build	14-Sep-2011 04:15:15	Cloning test project: 'spring-security'
build	14-Sep-2011 04:15:15	     Target location: /opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-security
build	14-Sep-2011 04:15:15	Cloning into spring-security...
build	14-Sep-2011 04:15:33	>>>> ExternalProcess: git clone git://git.springsource.org/spring-security/spring-security.git
build	14-Sep-2011 04:15:33	exitValue = 0
build	14-Sep-2011 04:15:33	<<<< ExternalProcess
build	14-Sep-2011 04:15:33	>>>> ExternalProcess: git checkout 359bd7c46
build	14-Sep-2011 04:15:33	exitValue = 0
build	14-Sep-2011 04:15:33	<<<< ExternalProcess
build	14-Sep-2011 04:15:33	Note: the Gradle build daemon is an experimental feature.
build	14-Sep-2011 04:15:33	As such, you may experience unexpected build failures. You may need to occasionally stop the daemon.
build	14-Sep-2011 04:15:34	The ideaModule.excludeDirs method is deprecated and will be removed in the next version of Gradle. You should use the idea.module.excludeDirs method instead.
build	14-Sep-2011 04:15:49	:buildSrc:clean
build	14-Sep-2011 04:15:49	:buildSrc:compileJava UP-TO-DATE
build	14-Sep-2011 04:16:02	:buildSrc:compileGroovy
build	14-Sep-2011 04:16:02	:buildSrcrocessResources
build	14-Sep-2011 04:16:02	:buildSrc:classes
build	14-Sep-2011 04:16:02	:buildSrc:jar
build	14-Sep-2011 04:16:02	:buildSrc:assemble
build	14-Sep-2011 04:16:02	:buildSrc:compileTestJava UP-TO-DATE
build	14-Sep-2011 04:16:02	:buildSrc:compileTestGroovy UP-TO-DATE
build	14-Sep-2011 04:16:02	:buildSrcrocessTestResources UP-TO-DATE
build	14-Sep-2011 04:16:02	:buildSrc:testClasses UP-TO-DATE
build	14-Sep-2011 04:16:20	:buildSrc:test
build	14-Sep-2011 04:16:20	:buildSrc:check
build	14-Sep-2011 04:16:20	:buildSrc:build
build	14-Sep-2011 04:16:29	The sourceSet.classesDir method is deprecated and will be removed in the next version of Gradle. You should use the sourceSet.output.classesDir method instead.
build	14-Sep-2011 04:16:32	<someIdeTask>.whenConfigured is deprecated! Replaced by whenMerged() method placed on the relevant model object of eclipse/idea.
build	14-Sep-2011 04:16:32	As a starting point, refer to the dsl guide for IdeaProject or EclipseProject.
build	14-Sep-2011 04:16:32	For example, ideaProject.whenConfigured was changed to idea.project.ipr.whenMerged
build	14-Sep-2011 04:16:34	Trying to override old definition of datatype scp
build	14-Sep-2011 04:16:34	Trying to override old definition of datatype sshexec
build	14-Sep-2011 04:16:39	The ideaModule.downloadJavadoc method is deprecated and will be removed in the next version of Gradle. You should use the idea.module.downloadJavadoc method instead.
build	14-Sep-2011 04:16:39	The ideaModule.outputDir method is deprecated and will be removed in the next version of Gradle. You should use the idea.module.outputDir method instead.
build	14-Sep-2011 04:16:39	The ideaModule.testOutputDir method is deprecated and will be removed in the next version of Gradle. You should use the idea.module.testOutputDir method instead.
build	14-Sep-2011 04:16:39	The ideaProject.javaVersion method is deprecated and will be removed in the next version of Gradle. You should use the idea.project.jdkName method instead.
build	14-Sep-2011 04:16:39	ideaProject.subprojects doesn't do anything at this moment. Please use idea.project.modules instead.
error	14-Sep-2011 04:16:45	
error	14-Sep-2011 04:16:45	FAILURE: Build failed with an exception.
error	14-Sep-2011 04:16:45	
error	14-Sep-2011 04:16:45	* Where:
error	14-Sep-2011 04:16:45	Build file '/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-security/core/core.gradle' line: 52
error	14-Sep-2011 04:16:45	
error	14-Sep-2011 04:16:45	* What went wrong:
error	14-Sep-2011 04:16:45	A problem occurred evaluating project ':spring-security-core'.
error	14-Sep-2011 04:16:45	Cause: Could not find property 'dependencies' on org.gradle.plugins.ide.idea.model.IdeaModule_Decorated@6820e9ae.
error	14-Sep-2011 04:16:45	
error	14-Sep-2011 04:16:45	* Try:
error	14-Sep-2011 04:16:45	Run with --info or --debug option to get more log output.
error	14-Sep-2011 04:16:45	
error	14-Sep-2011 04:16:45	* Exception is:
error	14-Sep-2011 04:16:45	org.gradle.api.GradleScriptException: A problem occurred evaluating project ':spring-security-core'.
error	14-Sep-2011 04:16:45		at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
error	14-Sep-2011 04:16:45		at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
error	14-Sep-2011 04:16:45		at org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:38)
error	14-Sep-2011 04:16:45		at org.gradle.configuration.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:43)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:474)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:73)
error	14-Sep-2011 04:16:45		at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:23)
error	14-Sep-2011 04:16:45		at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:21)
error	14-Sep-2011 04:16:45		at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:38)
error	14-Sep-2011 04:16:45		at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:35)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:450)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:445)
error	14-Sep-2011 04:16:45		at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
error	14-Sep-2011 04:16:45		at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:138)
error	14-Sep-2011 04:16:45		at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:109)
error	14-Sep-2011 04:16:45		at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:88)
error	14-Sep-2011 04:16:45		at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:46)
error	14-Sep-2011 04:16:45		at org.gradle.tooling.internal.provider.DelegatingBuildModelAction.run(DelegatingBuildModelAction.java:42)
error	14-Sep-2011 04:16:45		at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:56)
error	14-Sep-2011 04:16:45		at org.gradle.launcher.exec.DefaultGradleLauncherActionExecuter.execute(DefaultGradleLauncherActionExecuter.java:49)
error	14-Sep-2011 04:16:45		at org.gradle.launcher.daemon.server.EnvironmentAwareExecuter.executeBuild(EnvironmentAwareExecuter.java:54)
error	14-Sep-2011 04:16:45		at org.gradle.launcher.daemon.server.Daemon.doRunWithExceptionHandling(Daemon.java:281)
error	14-Sep-2011 04:16:45		at org.gradle.launcher.daemon.server.Daemon.doRunWithLogging(Daemon.java:261)
error	14-Sep-2011 04:16:45		at org.gradle.launcher.daemon.server.Daemon.doRun(Daemon.java:242)
error	14-Sep-2011 04:16:45		at org.gradle.launcher.daemon.server.Daemon.handleIncoming(Daemon.java:177)
error	14-Sep-2011 04:16:45		at org.gradle.launcher.daemon.server.Daemon.access$000(Daemon.java:53)
error	14-Sep-2011 04:16:45		at org.gradle.launcher.daemon.server.Daemon$1$1.run(Daemon.java:113)
error	14-Sep-2011 04:16:45		at org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
error	14-Sep-2011 04:16:45	Caused by: groovy.lang.MissingPropertyException: Could not find property 'dependencies' on org.gradle.plugins.ide.idea.model.IdeaModule_Decorated@6820e9ae.
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.AbstractDynamicObject.propertyMissingException(AbstractDynamicObject.java:43)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:35)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.CompositeDynamicObject.getProperty(CompositeDynamicObject.java:54)
error	14-Sep-2011 04:16:45		at org.gradle.plugins.ide.idea.model.IdeaModule_Decorated.getProperty(Unknown Source)
error	14-Sep-2011 04:16:45		at core_4ot7o0loeam4t8r02j157ffhqv$_run_closure4.doCall(/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-security/core/core.gradle:52)
error	14-Sep-2011 04:16:45		at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:112)
error	14-Sep-2011 04:16:45		at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:80)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.AbstractTask.configure(AbstractTask.java:399)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.AbstractTask.configure(AbstractTask.java:58)
error	14-Sep-2011 04:16:45		at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:104)
error	14-Sep-2011 04:16:45		at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:61)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.DefaultNamedDomainObjectCollection$ContainerElementsDynamicObject.invokeMethod(DefaultNamedDomainObjectCollection.java:299)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93)
error	14-Sep-2011 04:16:45		at org.gradle.api.internal.project.DefaultProject_Decorated.invokeMethod(Unknown Source)
error	14-Sep-2011 04:16:45		at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.groovy:72)
error	14-Sep-2011 04:16:45		at core_4ot7o0loeam4t8r02j157ffhqv.run(/opt/bamboo-home/xml-data/build-dir/STS-STSGRADLEINTEGRATIONTESTS-JOB1/com.springsource.sts.gradle.core.test/resources/gitprojects/spring-security/core/core.gradle:49)
error	14-Sep-2011 04:16:45		at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
error	14-Sep-2011 04:16:45		... 27 more
error	14-Sep-2011 04:16:45	
build	14-Sep-2011 04:16:45	
build	14-Sep-2011 04:16:45	BUILD FAILED

I don't know if this means the original problem is fixed on spring-integration, or if we are just hitting some other problem earlier.

Comment by Szczepan Faber [ 14/May/12 ]

1. I took a look at the this build:

git clone git://git.springsource.org/spring-security/spring-security.git
git checkout 359bd7c46

It's not quite ready to import to eclipse as this project does not evaluate properly with recent Gradle (and previous Gradles, too). I fixed the 'dependencies' problem but something else breaks evaluation.

2. The spring-integration does not evaluate in recent Gradle, too. However, in this instance I think it is the matter of getting the right version of the docbook-reference-plugin. I.e. the version that contains this fix: https://github.com/SpringSource/gradle-plugins/pull/2

I'd like to close this issue on the grounds that it's dated and the project/changeset in question is not quite in the shape to be worked with Gradle. Kris, what do you think?

Comment by Kris De Volder [ 15/May/12 ]

Yes, I think it is reasonable to close this.

I do understand why they put off upgrading to a more recent version of Gradle (it isn'y always a painless process But I also understand you guys have to draw the line somewhere. And troubleshooting builds that are still on M4 may be a good point to draw that line.

Kris

Comment by Szczepan Faber [ 18/May/12 ]

Resolved as discussed earlier. Thanks Kris for your feedback!

Comment by Szczepan Faber [ 18/May/12 ]

wrong resolution...

Generated at Wed Jun 30 12:04:26 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.