From 236dc8b8feb94bc8258374ea90a0e05cda859c36 Mon Sep 17 00:00:00 2001 From: pb Date: Thu, 13 Dec 2018 19:00:33 +0000 Subject: [PATCH] Modified Logging target filename according to the system name (aplaws, librecms, scientificcms). git-svn-id: https://svn.libreccm.org/ccm/trunk@5783 8810af33-2d31-482b-a856-94f89814c4df --- ccm-core/build-hooks.xml | 24 +++- ccm-core/src/log4j2.xml | 1 - ccm-sci-bundle/bundles/devel/cfg/project.xml | 2 +- tools-ng/common/xsl/build-template.xsl | 128 +++++++++---------- 4 files changed, 86 insertions(+), 69 deletions(-) diff --git a/ccm-core/build-hooks.xml b/ccm-core/build-hooks.xml index 2939a6e19..921257cb4 100755 --- a/ccm-core/build-hooks.xml +++ b/ccm-core/build-hooks.xml @@ -39,17 +39,35 @@ + + + + + + + + + + + + + file="${build.classes.dir}/log4j2.xml" /> + - - diff --git a/ccm-sci-bundle/bundles/devel/cfg/project.xml b/ccm-sci-bundle/bundles/devel/cfg/project.xml index 42408e8e7..e52d6e6c1 100644 --- a/ccm-sci-bundle/bundles/devel/cfg/project.xml +++ b/ccm-sci-bundle/bundles/devel/cfg/project.xml @@ -13,7 +13,7 @@ name="scientificcms-dev" prettyName="Scientific CMS" version="2.3.99" - release="SNAPSHOT-r5758" + release="SNAPSHOT-r5778" webxml="sci-web.xml" portletxml="sci-portlet.xml" webapp="ROOT" diff --git a/tools-ng/common/xsl/build-template.xsl b/tools-ng/common/xsl/build-template.xsl index 335c27a9f..1c776090e 100755 --- a/tools-ng/common/xsl/build-template.xsl +++ b/tools-ng/common/xsl/build-template.xsl @@ -75,7 +75,7 @@ - + @@ -83,7 +83,7 @@ - @@ -115,7 +115,7 @@ unless="app.server.lib.dir" /> - @@ -189,7 +189,7 @@ - @@ -214,9 +214,9 @@ - @@ -302,7 +302,7 @@ - @@ -584,7 +584,7 @@ select="/ccm:project/ccm:application[@name=$fullname]/ccm:dependencies/ccm:requires"/> @@ -635,7 +635,7 @@ - @@ -765,7 +765,7 @@ - @@ -989,8 +989,8 @@ @@ -1258,11 +1258,11 @@ - + @@ -1271,19 +1271,19 @@ Processing web.xml done. - - - @@ -1306,12 +1306,12 @@ --> - + @@ -1323,29 +1323,29 @@ unless="resolved.webxml.source.file"> Start to merge web.xml file. - - + mergefile="@{{file}}" + destfile="${{mergedWebXML}}" /> - - + - + - portlet.xml done. - + - - - + - + - @@ -1389,7 +1389,7 @@ ${resolved.portletxml.source.file} copied to ${this.deploy.dir}/WEB-INF/portlet.xml - Merging portlet.xml, not implemented yet. - + - + - + @@ -1431,11 +1431,11 @@ - @@ -1478,8 +1478,8 @@ - - + + @@ -1504,7 +1504,7 @@ Builds and deploys all applications, also deploys prebuilt applications and config files - Deploy completed! + Deploy completed! @@ -1535,7 +1535,7 @@ - + @@ -1570,8 +1570,8 @@ - - + + @@ -1695,9 +1695,9 @@ You have to perform the load-bundle step first if you would like to have a valid web.xml file and a basic configuration! - + - + @@ -2137,7 +2137,7 @@ doctitle="<h1>${{app.prettyname}} API Documentation</h1>" access="private"> - + - - +--> + @@ -2315,18 +2315,18 @@ - - - @@ -2340,7 +2340,7 @@ + -->