I've checked in these changes, even though they aren't complete. You can view the Tapestry source at http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/
Thanks in advance for any assistance! Howard On Wed, Jan 4, 2012 at 3:18 PM, Howard Lewis Ship <hls...@gmail.com> wrote: > I've been busy upgrading Tapestry from 1.0-m-3 to 1.0-m-6. > > It's been pretty smooth; I've just been following all the deprecation > warnings and using the correct property names and expressions. > > However, when I'm running my generateRelease task that, among other > things, deals with artifact signing, I'm getting an odd error: > > Gradle Worker 1 finished executing tests. > Test add toString method to class that does already implement > it(org.apache.tapestry5.plastic.ToStringTests) PASSED > :plastic:check > Skipping task ':plastic:check' as it has no actions. > :plastic:build > Skipping task ':plastic:build' as it has no actions. > :plastic:uploadPublished > Task ':plastic:uploadPublished' has not declared any outputs, assuming > that it is out-of-date. > Publishing configuration: configuration ':plastic:published' > Publishing to Resolver > org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer@237c3c51 > > FAILURE: Build failed with an exception. > > * Where: > Build file '/Users/hlship/workspaces/tapestry/tapestry5/build.gradle' line: > 153 > > * What went wrong: > Execution failed for task ':plastic:uploadPublished'. > Cause: Could not publish configuration ':plastic:published'. > Cause: Failed to notify action. > Cause: Could not find property 'singleArtifact' on SignOperation. > > I don't see anything too odd in the plastic/build.gradle: > > description = "Plastic core framework" > > dependencies { > > testCompile "org.spockframework:spock-core:0.5-groovy-1.7" > } > > // Add the source directory for the imported/repackaged ASM 3.3.1 code > > sourceSets.main.java.srcDir "src/external/java" > > test { > useJUnit() > } > > > I don't want to paste my entire build.gradle here, but the relevant > portions are: > > task continuousIntegration(dependsOn: [subprojects.build, > 'aggregateJavadoc', subprojects.uploadPublished], > description: "Task executed on Jenkins CI server after SVN commits") > > task generateRelease(dependsOn: ['quickstart:clean', > 'continuousIntegration', subprojects.uploadPublished, 'zippedSources', > 'zippedJavadoc'], > group: "Release artifact", > description: "Generates and uploads a final release to Apache Nexus") > > > What's odd is that this error, which seems to be about signing, seems > to fail after the files in plastic are signed: > > $ find . -name \*.asc > ./plastic/build/libs/plastic-5.4-alpha-1-sources.jar.asc > ./plastic/build/libs/plastic-5.4-alpha-1.jar.asc > ./plastic/build/poms/pom-default.xml.asc > ~/workspaces/t5 > $ > > > Here's the --debug output : > > 15:15:43.506 [DEBUG] > [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] [NOT > REQUIRED] junit#junit-dep;4.8.2!junit-dep.jar > 15:15:43.539 [INFO] > [org.gradle.api.internal.changedetection.DefaultTaskArtifactStateRepository] > Executing task ':plastic:test' due to: > Output file > /Users/hlship/workspaces/tapestry/tapestry5/plastic/build/reports/tests > for task ':plastic:test' has changed. > Output file > /Users/hlship/workspaces/tapestry/tapestry5/plastic/build/test-results > for task ':plastic:test' has changed. > Output file > /Users/hlship/workspaces/tapestry/tapestry5/plastic/build/test-results/TEST-org.apache.tapestry5.plastic.FieldAnnotationAccess.xml > has been removed for task ':plastic:test'. > Output file > /Users/hlship/workspaces/tapestry/tapestry5/plastic/build/reports/tests/org.apache.tapestry5.plastic.StaticFieldAccess.html > has been removed for task ':plastic:test'. > Output file > /Users/hlship/workspaces/tapestry/tapestry5/plastic/build/reports/tests/org.apache.tapestry5.plastic.FieldHandleTests.html > has been removed for task ':plastic:test'. > Output file > /Users/hlship/workspaces/tapestry/tapestry5/plastic/build/test-results/TEST-org.apache.tapestry5.plastic.FieldPropertyMethodCreation.xml > has been removed for task ':plastic:test'. > Output file > /Users/hlship/workspaces/tapestry/tapestry5/plastic/build/reports/tests/org.apache.tapestry5.plastic.FieldInjection.html > has been removed for task ':plastic:test'. > Output file > /Users/hlship/workspaces/tapestry/tapestry5/plastic/build/test-results/TEST-org.apache.tapestry5.plastic.MethodAdviceTests.xml > has been removed for task ':plastic:test'. > Output file > /Users/hlship/workspaces/tapestry/tapestry5/plastic/build/reports/tests/org.apache.tapestry5.plastic.ToStringTests.html > has been removed for task ':plastic:test'. > Output file > /Users/hlship/workspaces/tapestry/tapestry5/plastic/build/test-results/TEST-org.apache.tapestry5.plastic.ProxyCreation.xml > has been removed for task ':plastic:test'. > 49 more ... > 15:15:43.539 [DEBUG] > [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] > task ':plastic:test' is not up-to-date > 15:15:43.540 [DEBUG] > [org.gradle.api.internal.changedetection.DefaultFileCacheListener] > Invalidate cached files for file > '/Users/hlship/workspaces/tapestry/tapestry5/plastic/build/test-results' > 15:15:43.540 [DEBUG] > [org.gradle.api.internal.changedetection.DefaultFileCacheListener] > Invalidate cached files for file > '/Users/hlship/workspaces/tapestry/tapestry5/plastic/build/reports/tests' > 15:15:43.540 [DEBUG] > [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] > Executing actions for task ':plastic:test'. > 15:15:43.551 [DEBUG] [org.gradle.api.tasks.testing.Test] Started tests > 15:15:43.578 [DEBUG] [org.gradle.api.tasks.testing.Test] Finished tests > 15:15:43.579 [DEBUG] > [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] > Finished executing task ':plastic:test' > 15:15:43.584 [ERROR] [org.gradle.BuildExceptionReporter] > 15:15:43.585 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: > Build failed with an exception. > 15:15:43.585 [ERROR] [org.gradle.BuildExceptionReporter] > 15:15:43.585 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: > 15:15:43.585 [ERROR] [org.gradle.BuildExceptionReporter] Execution > failed for task ':plastic:test'. > 15:15:43.587 [ERROR] [org.gradle.BuildExceptionReporter] Cause: failed > to create temp file to extract class from jar into > 15:15:43.587 [ERROR] [org.gradle.BuildExceptionReporter] > 15:15:43.587 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is: > 15:15:43.587 [ERROR] [org.gradle.BuildExceptionReporter] > org.gradle.api.tasks.TaskExecutionException: Execution failed for task > ':plastic:test'. > 15:15:43.587 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:71) > 15:15:43.588 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:48) > 15:15:43.588 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:34) > 15:15:43.588 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:55) > 15:15:43.588 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57) > 15:15:43.588 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41) > 15:15:43.588 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51) > 15:15:43.588 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52) > 15:15:43.588 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42) > 15:15:43.588 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:243) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:192) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:177) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:83) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:36) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:70) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.execution.DefaultBuildExecuter.access$300(DefaultBuildExecuter.java:23) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:80) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:70) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:63) > 15:15:43.589 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:157) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:80) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:32) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:21) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:233) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:217) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.Main.doAction(Main.java:48) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:53) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:51) > 15:15:43.590 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.exec.Execution.execute(Execution.java:28) > 15:15:43.591 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:39) > 15:15:43.591 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.Main.main(Main.java:39) > 15:15:43.591 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:51) > 15:15:43.591 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:33) > 15:15:43.591 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.launcher.GradleMain.main(GradleMain.java:24) > 15:15:43.591 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: > org.gradle.api.GradleException: failed to create temp file to extract > class from jar into > 15:15:43.591 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.ClassFileExtractionManager.tempFile(ClassFileExtractionManager.java:141) > 15:15:43.591 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.ClassFileExtractionManager.extractClassFile(ClassFileExtractionManager.java:91) > 15:15:43.591 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.ClassFileExtractionManager.getLibraryClassFile(ClassFileExtractionManager.java:79) > 15:15:43.592 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.AbstractTestFrameworkDetector.getSuperTestClassFile(AbstractTestFrameworkDetector.java:80) > 15:15:43.592 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.junit.JUnitDetector.processTestClass(JUnitDetector.java:52) > 15:15:43.592 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.AbstractTestFrameworkDetector.processTestClass(AbstractTestFrameworkDetector.java:120) > 15:15:43.592 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.DefaultTestClassScanner$1.visitClassFile(DefaultTestClassScanner.java:58) > 15:15:43.593 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.DefaultTestClassScanner$ClassFileVisitor.visitFile(DefaultTestClassScanner.java:78) > 15:15:43.593 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:151) > 15:15:43.594 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:166) > 15:15:43.594 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:166) > 15:15:43.594 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:166) > 15:15:43.595 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:166) > 15:15:43.595 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:166) > 15:15:43.595 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.file.collections.DirectoryFileTree.visit(DirectoryFileTree.java:119) > 15:15:43.596 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.file.collections.FileTreeAdapter.visit(FileTreeAdapter.java:96) > 15:15:43.596 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.file.CompositeFileTree.visit(CompositeFileTree.java:54) > 15:15:43.596 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.DefaultTestClassScanner.detectionScan(DefaultTestClassScanner.java:56) > 15:15:43.596 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.DefaultTestClassScanner.run(DefaultTestClassScanner.java:50) > 15:15:43.597 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.processors.TestMainAction.run(TestMainAction.java:43) > 15:15:43.597 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.DefaultTestExecuter.execute(DefaultTestExecuter.java:75) > 15:15:43.597 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.tasks.testing.Test.executeTests(Test.java:367) > 15:15:43.597 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158) > 15:15:43.598 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93) > 15:15:43.598 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.tasks.testing.Test_Decorated.invokeMethod(Unknown > Source) > 15:15:43.599 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23) > 15:15:43.599 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:129) > 15:15:43.599 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:127) > 15:15:43.599 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:63) > 15:15:43.599 [ERROR] [org.gradle.BuildExceptionReporter] ... 37 more > 15:15:43.599 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: > java.io.IOException: No such file or directory > 15:15:43.599 [ERROR] [org.gradle.BuildExceptionReporter] at > org.gradle.api.internal.tasks.testing.detection.ClassFileExtractionManager.tempFile(ClassFileExtractionManager.java:137) > 15:15:43.600 [ERROR] [org.gradle.BuildExceptionReporter] ... 65 more > 15:15:43.600 [ERROR] [org.gradle.BuildExceptionReporter] > 15:15:43.600 [LIFECYCLE] [org.gradle.BuildResultLogger] > 15:15:43.600 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED > 15:15:43.600 [LIFECYCLE] [org.gradle.BuildResultLogger] > 15:15:43.601 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 1 > mins 10.951 secs > 15:15:43.606 [DEBUG] > [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on > cache directory > /Users/hlship/workspaces/tapestry/tapestry5/.gradle/1.0-milestone-6/fileSnapshots. > 15:15:43.614 [DEBUG] > [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on > cache directory > /Users/hlship/workspaces/tapestry/tapestry5/.gradle/1.0-milestone-6/fileHashes. > 15:15:43.614 [DEBUG] > [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on > cache directory > /Users/hlship/workspaces/tapestry/tapestry5/.gradle/1.0-milestone-6/outputFileStates. > 15:15:43.614 [DEBUG] > [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on > cache directory > /Users/hlship/workspaces/tapestry/tapestry5/.gradle/1.0-milestone-6/taskArtifacts. > > > I'm a bit lost here ... those stack traces look like some kind of > locking issue creating files or directories? Is anyone else seeing > anything like this? > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn how I can get you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email