From 0f42cbcd608c58bb7b93c3f55509782621edd6c8 Mon Sep 17 00:00:00 2001 From: pb Date: Sat, 3 May 2014 08:20:38 +0000 Subject: [PATCH] Fixed issue in load-bundle where web installation context was hard coded as ROOT. Now uses project.xml to determine installation context. git-svn-id: https://svn.libreccm.org/ccm/trunk@2633 8810af33-2d31-482b-a856-94f89814c4df --- tools-ng/common/xsl/build-template.xsl | 13 +++- tools-ng/ecdc/scriptlib/build-ccm.xml | 71 +++++++++++---------- tools-ng/ecdc/scriptlib/build-common.xml | 14 ++-- tools-ng/ecdc/scriptlib/build-configure.xml | 1 + tools-ng/ecdc/scriptlib/build-runtime.xml | 2 +- 5 files changed, 57 insertions(+), 44 deletions(-) diff --git a/tools-ng/common/xsl/build-template.xsl b/tools-ng/common/xsl/build-template.xsl index 19a313529..0fa319634 100755 --- a/tools-ng/common/xsl/build-template.xsl +++ b/tools-ng/common/xsl/build-template.xsl @@ -12,6 +12,13 @@ indent="yes" xalan:indent-amount="4"/> + + @@ -99,7 +106,8 @@ unless="app.server.lib.dir" /> - + @@ -172,7 +180,8 @@ - diff --git a/tools-ng/ecdc/scriptlib/build-ccm.xml b/tools-ng/ecdc/scriptlib/build-ccm.xml index 4429b7340..292164507 100644 --- a/tools-ng/ecdc/scriptlib/build-ccm.xml +++ b/tools-ng/ecdc/scriptlib/build-ccm.xml @@ -21,22 +21,22 @@ - Loading bundle from ${this.bundle.folder} into ${ccm.home} + Loading bundle from ${this.bundle.folder} into ${ccmhome} - + - Loading bundle ${this.bundle.folder} interactively into ${ccm.home} + Loading bundle ${this.bundle.folder} interactively into ${ccmhome} - + @@ -46,7 +46,7 @@ Registers configuration from ${this.bundle.folder} for ${applications} into registry - + @@ -56,7 +56,7 @@ Registers configuration from ${this.bundle.folder} for ${applications} into registry, aksing interactivly for values. - + @@ -66,7 +66,7 @@ load ${applications} without further configuration specifications but using build in defaults. - + + Application Context: ${this.appContext} + + prepare bundle ${this.bundle.folder} - - + + + + @@ -132,7 +134,12 @@ - + + + + Installation directory: ${ccmhome} + @@ -141,12 +148,12 @@ - - - + + + - - + + @@ -208,7 +215,7 @@ - + @@ -259,10 +266,10 @@ - - + + - + @@ -286,10 +293,10 @@ - - + + - + diff --git a/tools-ng/ecdc/scriptlib/build-common.xml b/tools-ng/ecdc/scriptlib/build-common.xml index 56498ef9b..ff5d30198 100644 --- a/tools-ng/ecdc/scriptlib/build-common.xml +++ b/tools-ng/ecdc/scriptlib/build-common.xml @@ -16,8 +16,8 @@ ccm.tools.rh-jdo.dir ccm.context.dir ccm.home - shared.lib.dist.dir - webapp.dist.dir + shared.lib.dist.dir DEPRECATED prebuild modules no longer used + webapp.dist.dir DEPRECATED prebuild modules no longer used --> Project file: ${ccm.bundle.folder}/cfg/project.xml - - - Installation context: ${ccm.context.dir} - - CCM home: ${ccm.home} + - + - + diff --git a/tools-ng/ecdc/scriptlib/build-configure.xml b/tools-ng/ecdc/scriptlib/build-configure.xml index a396277f8..d81e0088c 100644 --- a/tools-ng/ecdc/scriptlib/build-configure.xml +++ b/tools-ng/ecdc/scriptlib/build-configure.xml @@ -75,6 +75,7 @@ + - -->