From 988b430bd1afce50f5eedc30a0753b9a7161ce6c Mon Sep 17 00:00:00 2001 From: pb Date: Tue, 2 Aug 2011 19:21:40 +0000 Subject: [PATCH] =?UTF-8?q?=C3=84nderung=20im=20BUILD=20system:=20Datei=20?= =?UTF-8?q?project.xml=20ist=20jetzt=20Teil=20des=20Bundle=20und=20ersetzt?= =?UTF-8?q?=20dort=20application.cfg.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Die Liste der Module für load-bundle wird jetzt aus project.xml extrahiert. Damit entfällt das lästige synchronisieren der beiden Dateien. Kopieren einer project.xml in das Basisverzeichnis (trunk) entfällt ersatzlos. ant configure ect. greifen auf die neue Position der Datei zu. git-svn-id: https://svn.libreccm.org/ccm/trunk@1046 8810af33-2d31-482b-a856-94f89814c4df --- tools-ng/common/xsl/build-version.xsl | 5 ++ tools-ng/common/xsl/classpath-template.xsl | 4 + tools-ng/common/xsl/combine.xsl | 6 +- tools-ng/common/xsl/listapps.xsl | 25 ++++++ tools-ng/ecdc/README.txt | 2 +- tools-ng/ecdc/local.ccm.properties | 8 +- tools-ng/ecdc/project.xml.complete | 89 --------------------- tools-ng/ecdc/scriptlib/build-ccm.xml | 17 +++- tools-ng/ecdc/scriptlib/build-configure.xml | 16 ++-- tools-ng/netbeans/project.xml | 9 +-- 10 files changed, 69 insertions(+), 112 deletions(-) create mode 100755 tools-ng/common/xsl/listapps.xsl delete mode 100644 tools-ng/ecdc/project.xml.complete diff --git a/tools-ng/common/xsl/build-version.xsl b/tools-ng/common/xsl/build-version.xsl index 05ea3b851..c49927030 100644 --- a/tools-ng/common/xsl/build-version.xsl +++ b/tools-ng/common/xsl/build-version.xsl @@ -7,6 +7,11 @@ xmlns:ccm="http://ccm.redhat.com/ccm-project" exclude-result-prefixes="ccm common"> + + + diff --git a/tools-ng/common/xsl/classpath-template.xsl b/tools-ng/common/xsl/classpath-template.xsl index d3c23ce98..35ad19448 100755 --- a/tools-ng/common/xsl/classpath-template.xsl +++ b/tools-ng/common/xsl/classpath-template.xsl @@ -5,6 +5,10 @@ xmlns:ccm="http://ccm.redhat.com/ccm-project" exclude-result-prefixes="ccm"> + + + - + diff --git a/tools-ng/common/xsl/listapps.xsl b/tools-ng/common/xsl/listapps.xsl new file mode 100755 index 000000000..e9e85ad07 --- /dev/null +++ b/tools-ng/common/xsl/listapps.xsl @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + diff --git a/tools-ng/ecdc/README.txt b/tools-ng/ecdc/README.txt index 8200e7303..db425e73e 100644 --- a/tools-ng/ecdc/README.txt +++ b/tools-ng/ecdc/README.txt @@ -27,7 +27,7 @@ See http://aplaws.org Java 6.x Ant 1.7.x -Oracle 10g RDBMS or PostgresQL up to version 8.2 +Oracle 10g RDBMS or PostgresQL up to version 8.4 3. HOW TO USE diff --git a/tools-ng/ecdc/local.ccm.properties b/tools-ng/ecdc/local.ccm.properties index 026835451..c66385d87 100644 --- a/tools-ng/ecdc/local.ccm.properties +++ b/tools-ng/ecdc/local.ccm.properties @@ -3,10 +3,10 @@ ## The defaults are shown commented out ## Usually you will define your own specific bundle! -#ccm.bundle.folder=${ccm.project.dir}/ccm-ldn-aplaws/bundles/devel +#ccm.bundle.folder=${ccm.project.dir}/ccm-ldn-aplaws/bundles/complete -ccm.upgrade.package=ccm-xxx -ccm.upgrade.from.version=x.x.x -ccm.upgrade.to.version=y.y.y +#ccm.upgrade.package=ccm-xxx +#ccm.upgrade.from.version=x.x.x +#ccm.upgrade.to.version=y.y.y diff --git a/tools-ng/ecdc/project.xml.complete b/tools-ng/ecdc/project.xml.complete deleted file mode 100644 index 7dbb772e9..000000000 --- a/tools-ng/ecdc/project.xml.complete +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tools-ng/ecdc/scriptlib/build-ccm.xml b/tools-ng/ecdc/scriptlib/build-ccm.xml index 79c961e3f..7b1aa579e 100644 --- a/tools-ng/ecdc/scriptlib/build-ccm.xml +++ b/tools-ng/ecdc/scriptlib/build-ccm.xml @@ -61,16 +61,29 @@ prepare bundle ${ccm.bundle.folder} + + + + + + + + + + + + + + Included: ${applications} diff --git a/tools-ng/ecdc/scriptlib/build-configure.xml b/tools-ng/ecdc/scriptlib/build-configure.xml index 5446cb7f8..a1ce2bc70 100644 --- a/tools-ng/ecdc/scriptlib/build-configure.xml +++ b/tools-ng/ecdc/scriptlib/build-configure.xml @@ -11,21 +11,21 @@ - Validating the schema of project.xml + Validating the schema of bundle's project.xml - - - - + + + + - Validating the schema of project.xml successful + Validating the schema of bundle's project.xml successful @@ -43,14 +43,14 @@ --> - - + diff --git a/tools-ng/netbeans/project.xml b/tools-ng/netbeans/project.xml index 26539f73c..e554e39bb 100644 --- a/tools-ng/netbeans/project.xml +++ b/tools-ng/netbeans/project.xml @@ -13,12 +13,12 @@ doc_root - ~/ccm-devel/runtime/apache-tomcat-6.0.26/webapps + ~/ccm-devel/runtime/apache-tomcat-6.0.32/webapps web_inf - ~/ccm-devel/runtime/apache-tomcat-6.0.26/webapps/ROOT/WEB-INF + ~/ccm-devel/runtime/apache-tomcat-6.0.32/webapps/ROOT/WEB-INF @@ -740,10 +740,6 @@ ccm-cms-types-pressrelease/src - - - ccm-cms-types-project/src - ccm-cms-types-researchnetwork/src @@ -1001,7 +997,6 @@ ccm-cms-types-organization/src ccm-cms-types-person/src ccm-cms-types-pressrelease/src - ccm-cms-types-project/src ccm-cms-types-researchnetwork/src ccm-cms-types-simpleaddress/src ccm-cms-types-service/src