diff --git a/tools-ng/common/xsl/build-template.xsl b/tools-ng/common/xsl/build-template.xsl index 963b17d11..c72e37dd0 100755 --- a/tools-ng/common/xsl/build-template.xsl +++ b/tools-ng/common/xsl/build-template.xsl @@ -52,28 +52,40 @@ + - + + + - - + + + + + + + + + - - + @@ -354,7 +366,7 @@ - + @@ -412,8 +424,13 @@ + + + @@ -481,7 +498,7 @@ - + @@ -703,9 +720,10 @@ + - + @@ -728,7 +746,7 @@ - + @@ -837,10 +855,11 @@ - + - - + + @@ -934,7 +953,7 @@ - + @@ -1480,19 +1499,27 @@ + + + + - + @@ -1507,21 +1534,27 @@ - + - + + + up to 6.4 the only metheod that works. + --> + @@ -1531,19 +1564,26 @@ + + + + diff --git a/tools-ng/ecdc/build.xml b/tools-ng/ecdc/build.xml index eb6276bb4..4be76f6e9 100644 --- a/tools-ng/ecdc/build.xml +++ b/tools-ng/ecdc/build.xml @@ -1,68 +1,73 @@ - + - Structured and DB backed Content and Collaboration Management System + Structured and DB backed Content and Collaboration Management System - + build system. It does nothing really by itself but delegates to + specialized scripts. + This file must be copied along with the other *.xml and *.properties into + the base development projekt directory (usually trunk) --> - - - - - - - - - - + + + - + - - + + - - + + - - + + - - - + + + + + + + + + + + + + + + - + - - - You may not have been executed the preparational steps: - - - configure (to create the compile/build/deploy/etc scripts - - - + + + You may not have been executed the preparational steps: + - - configure (to create the compile/build/deploy/etc scripts + + + diff --git a/tools-ng/ecdc/conf/build.properties b/tools-ng/ecdc/conf/build.properties index aac412b52..287a23e0d 100644 --- a/tools-ng/ecdc/conf/build.properties +++ b/tools-ng/ecdc/conf/build.properties @@ -1,4 +1,10 @@ ## +## build.properties +## +## Sets configuration properties for the junit test environment and +## compiler options for the build process (previously ant.properties) + + ## DO NOT EDIT THIS FILE. ## ## To update the properties of this file, create a separate properties file @@ -10,7 +16,7 @@ ## TESTING ################################################# # This must point to an initialization file, such as enterprise.init -test.initscript=${app.server.parent.dir}/conf/log4j.properties +# test.initscript= # This should be set to the base URL of your Web server, # so HTTP unit tests can find it. diff --git a/tools-ng/ecdc/conf/runtime.properties b/tools-ng/ecdc/conf/runtime.properties index 3ea6c634b..fc19febff 100644 --- a/tools-ng/ecdc/conf/runtime.properties +++ b/tools-ng/ecdc/conf/runtime.properties @@ -1,4 +1,7 @@ ## +## runtime.properties +## +## ## DO NOT EDIT THIS FILE. ## ## To update the properties of this file, create a separate properties file @@ -6,6 +9,11 @@ ## properties to overwrite. ## +## +## Specifies the supported application servers +## and the application server directory locations +## + ## ## Server Type ## @@ -13,22 +21,25 @@ app.server.vendor=apache app.server.type=tomcat # Tomcat version 5.5 not yet supported! - #app.server.version=5.5.27 + # app.server.version=5.5.27 app.server.version=6.0.18 + + + app.server.bundles.name=${app.server.vendor}-${app.server.type}-${app.server.version} + app.server.bundles.zip=${ccm.ecdc.bundles.dir}/${app.server.bundles.name}.zip ## ## Server Directory ## - app.server.bundles.name=${app.server.vendor}-${app.server.type}-${app.server.version} - - app.server.bundles.zip=${ccm.ecdc.bundles.dir}/${app.server.bundles.name}.zip - app.server.parent.dir=${ccm.project.dir}/runtime app.server.deploy.dir=${app.server.parent.dir}/${app.server.bundles.name} - app.server.conf.dir=${app.server.deploy.dir}/conf + 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.webapp.dir=${app.server.home.dir}/webapps - webapp.dist.dir=${app.server.deploy.dir}/webapps -## nolonger needed, handled by Mastertool -## webapp.registry.dir=${webapp.conf.dir}/registry + catalina.home.dir=${app.server.home.dir} + catalina.base.dir=${app.server.deploy.dir} diff --git a/tools-ng/ecdc/local.ccm.properties b/tools-ng/ecdc/local.ccm.properties index 2db03cd46..2b149ff47 100644 --- a/tools-ng/ecdc/local.ccm.properties +++ b/tools-ng/ecdc/local.ccm.properties @@ -3,5 +3,5 @@ ## The defaults are shown commented out ## Usually you will define your own specific bundle! -#bundle.folder=${project.dir}/ccm-ldn-aplaws/bundles/complete +#ccm.bundle.folder=${ccm.project.dir}/ccm-ldn-aplaws/bundles/complete diff --git a/tools-ng/ecdc/scriptlib/build-ccm.xml b/tools-ng/ecdc/scriptlib/build-ccm.xml index 9f37f1415..db9a1250c 100644 --- a/tools-ng/ecdc/scriptlib/build-ccm.xml +++ b/tools-ng/ecdc/scriptlib/build-ccm.xml @@ -4,7 +4,8 @@ ccm.project.dir: base dir of the development project app.server.bundles.zip name of the installation file app.server.parent.dir name of the dir to install into the server into - app.server.deploy.dir dir the server are installed into (i.e. CATALINA_HOME) + 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 --> @@ -13,7 +14,7 @@ Loading bundle ${ccm.bundle.folder} into ${ccm.home} + tofile=".tmp.applications.cfg" overwrite="yes" /> @@ -24,18 +25,32 @@ - - - - - + + + + + + + + + + + + + + + + @@ -43,10 +58,12 @@ + @@ -56,10 +73,12 @@ + diff --git a/tools-ng/ecdc/scriptlib/build-common.xml b/tools-ng/ecdc/scriptlib/build-common.xml index f2174962d..b54e33c88 100644 --- a/tools-ng/ecdc/scriptlib/build-common.xml +++ b/tools-ng/ecdc/scriptlib/build-common.xml @@ -2,13 +2,29 @@ - + + - - - - - + + + + + + + + + + + + + + @@ -17,50 +33,38 @@ - - - + - - + + + - - + + + - - - - - + + + - - - + + + + + - - ccm.project.dir is ${ccm.project.dir} - - - - - - - - + + + + - - - - - - property ccm.home is ${ccm.home} - property ccm.config.dir is ${ccm.config.dir} - - - + diff --git a/tools-ng/ecdc/scriptlib/build-runtime.xml b/tools-ng/ecdc/scriptlib/build-runtime.xml index 26e289217..0f1edb32d 100644 --- a/tools-ng/ecdc/scriptlib/build-runtime.xml +++ b/tools-ng/ecdc/scriptlib/build-runtime.xml @@ -4,7 +4,8 @@ ccm.project.dir: base dir of the development project (environment) app.server.bundles.zip name of the installation file app.server.parent.dir name of the dir to install into the server into - app.server.deploy.dir dir the server is to be installed into (i.e. CATALINA_HOME) + app.server.home.dir dir the server is to be installed into (i.e. CATALINA_HOME) + app.server.deploy.dir dir the server is to be installed into (i.e. CATALINA_BASE) app.server.conf.dir name of the servers configuration dir webapp.dist.dir distribution dir for ccm web application --> @@ -18,17 +19,18 @@ - + - - + todir="${app.server.home.dir}/lib/endorsed" preservelastmodified="true"/> + + @@ -40,25 +42,31 @@ --> - + + + + - - --> + + + - - +