I'm still trying to understand why the current task dependencies are the
way they are.

Am 03.02.2015 um 18:55 schrieb Jochen Kemnade:
> why does generateRelease depend on continuousIntegration? 

I think it shouldn't be like that and I'll try to remove that
dependency. Those tasks are not related anymore. And even with the old
non-SVN deployment procedure, the dependency should have been the other
way around IMHO. Or am I missing something?

> And why do we need to do quickstart:clean at all?

This dates way back to 2011-10-26:

commit db4b4aa3e997ea6ca9503dfa7f4c65f10445ebc9
Author: Howard Lewis Ship <hls...@apache.org>
Date:   Wed Oct 26 17:47:14 2011 +0000

    TAP5-1728: Quickstart archetype does not include the build.gradle

I wonder if that's still necessary.

On my machine, I removed the dependency from generateRelease on
"quickstart:clean" and continuousIntegration (patch attached) and
created a fake -beta-28 release and the build.gradle and pom.xml in the
quickstart jar looked fine.
I'd say we try it that way. Howard, what do you think? Or anyone else?

Jochen
From ea17089e5250c42f5606e35e888abb5b0538c25b Mon Sep 17 00:00:00 2001
From: Jochen Kemnade <jochen.kemn...@eddyson.de>
Date: Tue, 20 Jan 2015 09:41:53 +0100
Subject: [PATCH] don't have Jenkins upload the generated artifacts. Currently,
 this is not adapted to the new SVN based upload process and causes the CI
 builds to fail.

---
 build.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index 45dbcc2..de80e19 100755
--- a/build.gradle
+++ b/build.gradle
@@ -398,7 +398,7 @@ dependencies {
 }
 
 task continuousIntegration {
-    dependsOn subprojects.build, aggregateJavadoc, subprojects.uploadPublished
+    dependsOn subprojects.build, aggregateJavadoc
     description "Task executed on Jenkins CI server after SVN commits"
 }
 
@@ -542,7 +542,7 @@ if (canDeploy) {
     }
 
     task generateRelease {
-        dependsOn "quickstart:clean", continuousIntegration, subprojects.uploadPublished, copyArchives
+        dependsOn subprojects.uploadPublished, copyArchives
         group "Release artifact"
         description "Generates and uploads a final release to Apache Nexus and copies archives for deployment"
     }
-- 
2.1.4


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org

Reply via email to