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/08/15 20:29:39 UTC
[4/4] incubator-edgent git commit: copy the console war
copy the console war
N.B. samples/scripts don't work yet because jars lack classpath
Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/fa16203b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/fa16203b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/fa16203b
Branch: refs/heads/master
Commit: fa16203b5991b0c8dda324416c49044edc4aa290
Parents: c6837a5
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Mon Aug 15 09:47:52 2016 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Mon Aug 15 09:47:52 2016 -0400
----------------------------------------------------------------------
build.gradle | 10 ++++++++++
1 file changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/fa16203b/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 1184815..eefae3c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -194,6 +194,16 @@ subprojects {
from jar
into "${rootProject.ext.target_java8_dir}/$projectGroup/$project.name/lib"
rename("$jar.archiveName", "$jar.baseName.$jar.extension")
+
+ // Copy console.war (should be more general but this works for now)
+ if (projectGroup == 'console' && project.name == 'servlets') {
+ doLast {
+ copy {
+ from war
+ into "${rootProject.ext.target_java8_dir}/$projectGroup/webapps"
+ }
+ }
+ }
}
}