Index: installer/maven.xml =================================================================== --- installer/maven.xml (revision 545316) +++ installer/maven.xml (working copy) @@ -112,7 +112,10 @@ - + + + + Index: installer/etc/database/database.properties.template =================================================================== --- installer/etc/database/database.properties.template (revision 545316) +++ installer/etc/database/database.properties.template (working copy) @@ -1,9 +1,13 @@ -; Jetspeed Enterprise Portal 2.1 Database setup configuration +; Jetspeed Enterprise Portal 2.1.1 Database setup configuration ; db.type supported values: db2, derby, mssql, mysql, oracle, postgres, sapdb db.type=@db.type@ + : for db.type other than derby, the properties below need to be specified db.username=@db.username@ db.password=@db.password@ jdbc.url=@jdbc.url@ jdbc.driver.class=@jdbc.driver.class@ + +; boolean flag (true/false) indicating if psml is to be imported in the database or will be read from file system +dbImportPsml = @dbImportPsml@ \ No newline at end of file Index: installer/etc/database/import/assembly/repository-datasource-spring.xml =================================================================== --- installer/etc/database/import/assembly/repository-datasource-spring.xml (revision 0) +++ installer/etc/database/import/assembly/repository-datasource-spring.xml (revision 0) @@ -0,0 +1,62 @@ + + + + + + + + + + ${import.jdbc.driver.class} + + + ${import.jdbc.url} + + + ${import.jdbc.username} + + + ${import.jdbc.password} + + + + + + + + + + + + + JetspeedDS + + + + + + + Property changes on: installer\etc\database\import\assembly\repository-datasource-spring.xml ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native Index: installer/etc/database/import/assembly/import-page-manager.xml =================================================================== --- installer/etc/database/import/assembly/import-page-manager.xml (revision 0) +++ installer/etc/database/import/assembly/import-page-manager.xml (revision 0) @@ -0,0 +1,189 @@ + + + + + + + + JETSPEED-INF/ojb/page-manager-repository.xml + + 128 + + 0 + + false + + false + + + + + + org.apache.jetspeed.page.PageManager + + + + + + + PROPAGATION_SUPPORTS + PROPAGATION_SUPPORTS + PROPAGATION_SUPPORTS + PROPAGATION_SUPPORTS + PROPAGATION_SUPPORTS + PROPAGATION_SUPPORTS + PROPAGATION_REQUIRED,-org.apache.jetspeed.page.document.NodeException + PROPAGATION_REQUIRED,-org.apache.jetspeed.page.document.NodeException + PROPAGATION_REQUIRED,-org.apache.jetspeed.page.document.NodeException + PROPAGATION_REQUIRED,-org.apache.jetspeed.page.document.NodeException + PROPAGATION_REQUIRED,-org.apache.jetspeed.page.document.NodeException + PROPAGATION_REQUIRED,-org.apache.jetspeed.page.document.NodeException + PROPAGATION_REQUIRED,-org.apache.jetspeed.page.document.NodeException + PROPAGATION_REQUIRED,-org.apache.jetspeed.page.document.NodeException + PROPAGATION_SUPPORTS + PROPAGATION_SUPPORTS + PROPAGATION_SUPPORTS + PROPAGATION_SUPPORTS + PROPAGATION_SUPPORTS + + + + + + + + setPageManagerProxy + + + + + + + + + + /JETSPEED-INF/castor/page-mapping.xml + .psml + org.apache.jetspeed.om.page.psml.PageImpl + ${org.apache.jetspeed.page.import.pages} + + + + + /JETSPEED-INF/castor/page-mapping.xml + .link + org.apache.jetspeed.om.page.psml.LinkImpl + ${org.apache.jetspeed.page.import.pages} + + + + + /JETSPEED-INF/castor/page-mapping.xml + folder.metadata + org.apache.jetspeed.om.folder.psml.FolderMetaDataImpl + ${org.apache.jetspeed.page.import.pages} + + + + + /JETSPEED-INF/castor/page-mapping.xml + page.security + org.apache.jetspeed.om.page.psml.PageSecurityImpl + ${org.apache.jetspeed.page.import.pages} + + + + + + + + + + + + + + + + + + + + + + + + ${org.apache.jetspeed.page.import.pages} + + + + + + + + + + + false + + false + + + + + + + 10 + + + + 100 + + + + + + + 65536 + + + + P- + + + + + + + + + + + + Property changes on: installer\etc\database\import\assembly\import-page-manager.xml ___________________________________________________________________ Name: svn:keywords + Id Index: installer/etc/database/import/import.properties =================================================================== --- installer/etc/database/import/import.properties (revision 0) +++ installer/etc/database/import/import.properties (revision 0) @@ -0,0 +1,16 @@ +# comma-separated list of boot assemblies for Spring +boot.assemblies = repository-datasource-spring.xml +# comma-separated list of assemblies for Spring +assemblies = import-page-manager.xml, transaction.xml, interceptors.xml +# root folder to start exporting from +root.folder = / +# overwrite folders flag, set to true to replace existing folders +overwrite.folders = true +# overwrite pages flag, set to true to replace existing pages +overwrite.pages = true +# if this flag is true, will also try to import page.security +full.import = true +# source page manager Spring component name +source.page.manager = castorPageManager +# destination page manager Spring component name +dest.page.manager = dbPageManager \ No newline at end of file Property changes on: installer\etc\database\import\import.properties ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native Index: installer/etc/database/import/log4j.properties =================================================================== --- installer/etc/database/import/log4j.properties (revision 0) +++ installer/etc/database/import/log4j.properties (revision 0) @@ -0,0 +1,34 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# ------------------------------------------------------------------------ +# +# Logging Configuration +# +# $Id$ +# +# ------------------------------------------------------------------------ + +log4j.rootLogger = WARN, console + +# +# Console +# +log4j.appender.console=org.apache.log4j.ConsoleAppender +log4j.appender.console.layout=org.apache.log4j.PatternLayout + +# Pattern to output the caller's file name and line number. +log4j.appender.console.layout.ConversionPattern=%5p: %m%n + Property changes on: installer\etc\database\import\log4j.properties ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native Index: installer/etc/database/build.xml =================================================================== --- installer/etc/database/build.xml (revision 545316) +++ installer/etc/database/build.xml (working copy) @@ -71,7 +71,7 @@ + depends="checkDerby,generateStandardDB,generateDerbyDB,seedDB,copyJetspeedContext,do-psml" /> @@ -271,4 +271,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Import dir: ${importDir} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Index: installer/etc/ant-installer/antinstall-config.xml =================================================================== --- installer/etc/ant-installer/antinstall-config.xml (revision 545316) +++ installer/etc/ant-installer/antinstall-config.xml (working copy) @@ -48,6 +48,7 @@ + @@ -56,7 +57,7 @@ - +