You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2016/10/06 17:56:35 UTC

[1/2] incubator-edgent git commit: EDGENT-253 add source tgz generation

Repository: incubator-edgent
Updated Branches:
  refs/heads/master 829f25265 -> 17998f482


EDGENT-253 add source tgz generation

Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/a4449361
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/a4449361
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/a4449361

Branch: refs/heads/master
Commit: a444936100f37001ee922d9671d78b1cb78903c6
Parents: bf75b02
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Thu Oct 6 13:00:18 2016 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Thu Oct 6 13:00:18 2016 -0400

----------------------------------------------------------------------
 build.gradle | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a4449361/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index b56e0d5..14b67b6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -724,6 +724,29 @@ task releaseTarGz(type: Tar) {
   }
 }  
 
+task srcReleaseTarGz(type: Tar) {
+  description = 'Create source tgz in target_dir'
+  archiveName = "${build_name}-source-v${build_version}-${DSTAMP}-${TSTAMP}.tgz"
+  compression = Compression.GZIP
+  destinationDir = new File("${target_dir}/../release-edgent")
+  duplicatesStrategy 'exclude'
+  into "${build_name}"
+  // make some things first in the tgz
+  from "LICENSE", "NOTICE", "KEYS"
+  from "DEVELOPMENT.md", "README.md"
+  from '.'
+  exclude '.git', '.gradle', '.settings'
+  exclude '**/build/'           // gradle generated artifacts
+  exclude '**/externalJars/'    // gradle generated artifacts for eclipse
+  exclude '**/bin/'             // eclipse generated artifacts
+  exclude '**/classes/'         // ant generated artifacts
+  doLast {
+    ant.checksum algorithm: 'md5', file: archivePath
+    ant.checksum algorithm: 'sha1', file: archivePath
+    println "created $destinationDir/$archiveName"
+  }
+}  
+
 assemble {
   description = "Assemble distribution artifacts and populate the target_dir with jars, doc, etc. Like 'build' w/o 'test'"
   dependsOn filteredSubprojects.assemble, aggregateJavadoc, copyScripts
@@ -743,7 +766,7 @@ task release {
   description = 'Assemble distribution artifacts, populate target_dir, and create a release tgz'
   dependsOn cleanAll, addMiscDistFiles, assemble,
        ':platform:java7:addJava7TargetDir', ':platform:android:addAndroidTargetDir',
-       releaseTarGz
+       srcReleaseTarGz, releaseTarGz
   addMiscDistFiles.mustRunAfter cleanAll
   assemble.mustRunAfter addMiscDistFiles
   releaseTarGz.mustRunAfter assemble,':platform:java7:addJava7TargetDir',':platform:android:addAndroidTargetDir'


[2/2] incubator-edgent git commit: Merge pull request #212

Posted by dl...@apache.org.
Merge pull request #212

This closes #212


Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/17998f48
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/17998f48
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/17998f48

Branch: refs/heads/master
Commit: 17998f4827fd39b7d418edfc4345883706faa7ee
Parents: 829f252 a444936
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Thu Oct 6 13:46:04 2016 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Thu Oct 6 13:46:04 2016 -0400

----------------------------------------------------------------------
 build.gradle | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)
----------------------------------------------------------------------