diff --git a/tools-ng/common/xsl/build-template.xsl b/tools-ng/common/xsl/build-template.xsl index b15dafb6c..83bc44c28 100755 --- a/tools-ng/common/xsl/build-template.xsl +++ b/tools-ng/common/xsl/build-template.xsl @@ -1,15 +1,15 @@ - - @@ -54,13 +54,16 @@ - - + + + + + + + + @@ -97,11 +103,16 @@ - + + + + + + + @@ -111,6 +122,7 @@ + @@ -120,6 +132,7 @@ + @@ -127,6 +140,7 @@ + @@ -137,6 +151,7 @@ + @@ -153,6 +168,7 @@ --> + @@ -162,9 +178,11 @@ - + + + @@ -370,7 +388,8 @@ - + + @@ -460,11 +479,11 @@ - - + @@ -493,7 +512,8 @@ not($application/ccm:directories)"/> + select="/ccm:project/ccm:application[@name=$fullname]/ccm:dependencies/ccm:requires"/> + @@ -526,10 +546,14 @@ - - - - + + + + @@ -558,12 +582,14 @@ - + - + @@ -603,7 +629,8 @@ - + @@ -850,6 +877,7 @@ description="Verifies that JSP files compile (requires Tomcat 4.1)"/> + @@ -868,9 +896,13 @@ + + - - + @@ -914,8 +946,8 @@ - - + + @@ -926,62 +958,68 @@ + - - + + - + + - - + + - + + - - + + + - + + - + - + + - + @@ -1006,7 +1044,7 @@ - + @@ -1043,13 +1081,13 @@ - + - + @@ -1075,13 +1113,13 @@ - + value="${{this.deploy.dir}}/WEB-INF/${{webxml.source.file}}"> - + @@ -1090,12 +1128,13 @@ + + tofile="${{this.deploy.dir}}/WEB-INF/web.xml"/> @@ -1282,7 +1321,6 @@ - @@ -1293,7 +1331,7 @@ .war - + @@ -1616,6 +1654,7 @@ + @@ -1820,6 +1859,8 @@ + @@ -1833,6 +1874,8 @@ property="apps.{$name}.pdl.path.internal" refid="apps.{$name}.pdl.path.internal"/> + + + - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - + + + + + --> - + + + --> + - - - - - - - + + + + + + - - diff --git a/tools-ng/ecdc/conf/runtime.properties b/tools-ng/ecdc/conf/runtime.properties index fc19febff..49a075482 100644 --- a/tools-ng/ecdc/conf/runtime.properties +++ b/tools-ng/ecdc/conf/runtime.properties @@ -33,13 +33,12 @@ ## app.server.parent.dir=${ccm.project.dir}/runtime - app.server.deploy.dir=${app.server.parent.dir}/${app.server.bundles.name} app.server.home.dir=${app.server.parent.dir}/${app.server.bundles.name} app.server.conf.dir=${app.server.home.dir}/conf # shared lib used by several web apps - app.server.lib.dir=${app.server.home.dir}/lib + app.server.shared.dir=${app.server.home.dir}/lib app.server.webapp.dir=${app.server.home.dir}/webapps catalina.home.dir=${app.server.home.dir} - catalina.base.dir=${app.server.deploy.dir} + catalina.base.dir=${app.server.home.dir} diff --git a/tools-ng/ecdc/scriptlib/build-ccm.xml b/tools-ng/ecdc/scriptlib/build-ccm.xml index db9a1250c..41f3ae4b4 100644 --- a/tools-ng/ecdc/scriptlib/build-ccm.xml +++ b/tools-ng/ecdc/scriptlib/build-ccm.xml @@ -7,36 +7,12 @@ app.server.home.dir dir the server are installed into (i.e. CATALINA_HOME) app.server.deploy.dir dir the server are installed into (i.e. CATALINA_BASE) app.server.conf.dir name of the servers configuration dir - webapp.dist.dir distribution dir for web applications --> + app.server.webapp.dir distribution dir for web applications --> - + Loading bundle ${ccm.bundle.folder} into ${ccm.home} - - - - - - - - - - - - - - - - - - @@ -53,8 +29,8 @@ --> - - load ${applications} --init + + load ${applications} --init using ${ccm.bundle.folder}/cfg/integration.properties @@ -64,11 +40,11 @@ --> - + - + load ${applications} @@ -83,4 +59,32 @@ + + prepare bundle ${ccm.bundle.folder} + + + + + + + + + + + + + + + + + + + + diff --git a/tools-ng/ecdc/scriptlib/build-common.xml b/tools-ng/ecdc/scriptlib/build-common.xml index b54e33c88..1531e2ee2 100644 --- a/tools-ng/ecdc/scriptlib/build-common.xml +++ b/tools-ng/ecdc/scriptlib/build-common.xml @@ -51,15 +51,15 @@ - - + + - + - + diff --git a/tools-ng/ecdc/scriptlib/build-runtime.xml b/tools-ng/ecdc/scriptlib/build-runtime.xml index 0f1edb32d..1eea80fd3 100644 --- a/tools-ng/ecdc/scriptlib/build-runtime.xml +++ b/tools-ng/ecdc/scriptlib/build-runtime.xml @@ -2,39 +2,45 @@ + + in conf/runtime.properties: + app.server.bundles.zip full name of the installation file + app.server.parent.dir full name of the dir where to install the server software into + app.server.home.dir full name of the servers dir (i.e. CATALINA_HOME) + app.server.conf.dir full name of the servers configuration dir + app.server.shared.dir full name of dir where shared libraries are to be installed (i.e. lib) + app.server.webapp.dir full name of dir where web applications to install (deploy) (i.e. webapps) + + --> - Installing app server into ${deploy.dir} + Installing app server into ${app.server.parent.dir} - + - + todir="${app.server.shared.dir}/endorsed" preservelastmodified="true"/> + todir="${app.server.shared.dir}" preservelastmodified="true"/> + todir="${app.server.shared.dir}" preservelastmodified="true"/> + - - + @@ -59,7 +64,7 @@ - +