polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [49/50] polygene-java git commit: Fix bugs in generator.
Date Mon, 10 Jul 2017 06:53:51 GMT
Fix bugs in generator.


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

Branch: refs/heads/es-jooq
Commit: cdec0e8b6c82e60aeff6c638348a8acb0cdc7c3d
Parents: 047380a
Author: niclas <niclas@hedhman.org>
Authored: Mon Jul 10 11:32:52 2017 +0800
Committer: niclas <niclas@hedhman.org>
Committed: Mon Jul 10 11:32:52 2017 +0800

----------------------------------------------------------------------
 .../templates/ConnectivityLayer/HttpServerModule/bootstrap.tmpl    | 2 +-
 .../app/templates/InfrastructureLayer/IndexingModule/module.js     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/cdec0e8b/tools/generator-polygene/app/templates/ConnectivityLayer/HttpServerModule/bootstrap.tmpl
----------------------------------------------------------------------
diff --git a/tools/generator-polygene/app/templates/ConnectivityLayer/HttpServerModule/bootstrap.tmpl
b/tools/generator-polygene/app/templates/ConnectivityLayer/HttpServerModule/bootstrap.tmpl
index 84c6226..744d8fd 100644
--- a/tools/generator-polygene/app/templates/ConnectivityLayer/HttpServerModule/bootstrap.tmpl
+++ b/tools/generator-polygene/app/templates/ConnectivityLayer/HttpServerModule/bootstrap.tmpl
@@ -64,7 +64,7 @@ public class HttpServerModule
 %>        new HttpShiroAssembler()
             .withConfig( module, Visibility.module )
             .assemble( module );
-        module.forMixin( ShiroIniConfiguration.class ).declareDefaults().iniResourcePath().set("web-shiro.ini");
+        module.forMixin( ShiroIniConfiguration.class ).declareDefaults().iniResourcePath().set("classpath:web-shiro.ini");
         new SecureJettyServiceAssembler()
             .withConfig( module, Visibility.layer )
             .visibleIn( Visibility.layer )

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/cdec0e8b/tools/generator-polygene/app/templates/InfrastructureLayer/IndexingModule/module.js
----------------------------------------------------------------------
diff --git a/tools/generator-polygene/app/templates/InfrastructureLayer/IndexingModule/module.js
b/tools/generator-polygene/app/templates/InfrastructureLayer/IndexingModule/module.js
index bbcfb28..dfefccb 100644
--- a/tools/generator-polygene/app/templates/InfrastructureLayer/IndexingModule/module.js
+++ b/tools/generator-polygene/app/templates/InfrastructureLayer/IndexingModule/module.js
@@ -35,7 +35,7 @@ module.exports = {
                 'InfrastructureLayer/IndexingModule/indexing/solrconfig.xml',
                 'solrconfig.xml'
             );
-            p.copyTemplate(
+            p.copyToConfig(
                 p.ctx,
                 'InfrastructureLayer/IndexingModule/indexing/solr-schema.xml',
                 'schema.xml'


Mime
View raw message