incubator-s4-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmo...@apache.org
Subject [35/50] [abbrv] git commit: S4-128 Use appName parameter as name for s4r
Date Sat, 01 Jun 2013 11:33:25 GMT
S4-128 Use appName parameter as name for s4r


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

Branch: refs/heads/master
Commit: 1c6265949d28594fad00083765374bcb8fd23bbe
Parents: 632057f
Author: Daniel Gómez Ferro <dferro@apache.org>
Authored: Wed Mar 13 11:51:39 2013 +0100
Committer: Daniel Gómez Ferro <dferro@apache.org>
Committed: Wed Mar 13 11:51:39 2013 +0100

----------------------------------------------------------------------
 .../src/main/resources/templates/build.gradle      |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/1c626594/subprojects/s4-tools/src/main/resources/templates/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/s4-tools/src/main/resources/templates/build.gradle b/subprojects/s4-tools/src/main/resources/templates/build.gradle
index 544f56b..82bc5a1 100644
--- a/subprojects/s4-tools/src/main/resources/templates/build.gradle
+++ b/subprojects/s4-tools/src/main/resources/templates/build.gradle
@@ -18,6 +18,7 @@
 
 
 project.ext["appClassName"] = hasProperty('appClass')? "$appClass": "UNDEFINED"
+project.ext["appName"] = hasProperty('appName')? "$appName": "UNDEFINED"
 
 project.ext["s4Version"] = '0.6.0-incubating'
 description = 'Apache S4 App'
@@ -109,6 +110,7 @@ task s4r(type: Jar) {
    dependsOn cleanCopyDependenciesToLib, copyDependenciesToLib, cleanBuildProjectJar, buildProjectJar
    from { project.libsDir }
    manifest = project.manifest
+   baseName = appName
    extension = 's4r'
    exclude '*.s4r'
    manifest.mainAttributes('S4-App-Class': appClassName)


Mime
View raw message