Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1A488200CC1 for ; Mon, 10 Jul 2017 08:53:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1889B167190; Mon, 10 Jul 2017 06:53:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6C5E9167175 for ; Mon, 10 Jul 2017 08:53:07 +0200 (CEST) Received: (qmail 82218 invoked by uid 500); 10 Jul 2017 06:53:06 -0000 Mailing-List: contact commits-help@polygene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@polygene.apache.org Delivered-To: mailing list commits@polygene.apache.org Received: (qmail 81695 invoked by uid 99); 10 Jul 2017 06:53:05 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2017 06:53:05 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 00BA5F5528; Mon, 10 Jul 2017 06:53:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: niclas@apache.org To: commits@polygene.apache.org Date: Mon, 10 Jul 2017 06:53:14 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [12/50] polygene-java git commit: POLYGENE-255 - Fixed Envisage problems in Yeoman generator. archived-at: Mon, 10 Jul 2017 06:53:08 -0000 POLYGENE-255 - Fixed Envisage problems in Yeoman generator. Signed-off-by: niclas 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/es-jooq Commit: 818df1a894f749b0e74f2e9cd0bc1bdd3bb4d0b8 Parents: 0d9e8a1 Author: niclas Authored: Thu Jun 15 22:34:33 2017 +0800 Committer: niclas 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