polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [6/7] polygene-java git commit: POLYGENE-255 - Fixed Envisage problems in Yeoman generator.
Date Sat, 17 Jun 2017 01:28:23 GMT
POLYGENE-255 - Fixed Envisage problems in Yeoman generator.

Signed-off-by: niclas <niclas@hedhman.org>


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/818df1a8
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/818df1a8
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/818df1a8

Branch: refs/heads/develop
Commit: 818df1a894f749b0e74f2e9cd0bc1bdd3bb4d0b8
Parents: 0d9e8a1
Author: niclas <niclas@hedhman.org>
Authored: Thu Jun 15 22:34:33 2017 +0800
Committer: niclas <niclas@hedhman.org>
Committed: Thu Jun 15 22:34:33 2017 +0800

----------------------------------------------------------------------
 .../app/templates/RestAPIApplication/bootstrap.tmpl               | 1 +
 .../app/templates/buildtool/gradle-bootstrap.tmpl                 | 3 +++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/818df1a8/tools/generator-polygene/app/templates/RestAPIApplication/bootstrap.tmpl
----------------------------------------------------------------------
diff --git a/tools/generator-polygene/app/templates/RestAPIApplication/bootstrap.tmpl b/tools/generator-polygene/app/templates/RestAPIApplication/bootstrap.tmpl
index dd3f876..bb16465 100644
--- a/tools/generator-polygene/app/templates/RestAPIApplication/bootstrap.tmpl
+++ b/tools/generator-polygene/app/templates/RestAPIApplication/bootstrap.tmpl
@@ -28,6 +28,7 @@ import org.apache.polygene.bootstrap.ModuleAssembly;
 import org.apache.polygene.bootstrap.layered.LayeredApplicationAssembler;
 <% if( polygene.hasFeature('envisage' ) ) {
 %>import org.apache.polygene.envisage.Envisage;
+import org.apache.polygene.api.structure.ApplicationDescriptor;
 <% } %>
 import <%= polygene.packageName %>.bootstrap.connectivity.ConnectivityLayer;
 import <%= polygene.packageName %>.bootstrap.config.ConfigurationLayer;

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/818df1a8/tools/generator-polygene/app/templates/buildtool/gradle-bootstrap.tmpl
----------------------------------------------------------------------
diff --git a/tools/generator-polygene/app/templates/buildtool/gradle-bootstrap.tmpl b/tools/generator-polygene/app/templates/buildtool/gradle-bootstrap.tmpl
index 051cc29..55b1c93 100644
--- a/tools/generator-polygene/app/templates/buildtool/gradle-bootstrap.tmpl
+++ b/tools/generator-polygene/app/templates/buildtool/gradle-bootstrap.tmpl
@@ -55,4 +55,7 @@ if( polygene.caching !== "None" ) {
 %>  implementation "org.apache.polygene.extensions:org.apache.polygene.extension.metrics-<%=
polygene.metrics.toLowerCase() %>:$polygeneVersion"
 <%
     }
+if( polygene.hasFeature('envisage' ) ) {
+%>  implementation "org.apache.polygene.tools:org.apache.polygene.tool.envisage:$polygeneVersion"
+<% }
 %>}
\ No newline at end of file


Mime
View raw message