Index: jetspeed-installer/etc/database/import/assembly/repository-datasource-spring.xml =================================================================== --- jetspeed-installer/etc/database/import/assembly/repository-datasource-spring.xml (revision 732350) +++ jetspeed-installer/etc/database/import/assembly/repository-datasource-spring.xml (working copy) @@ -1,63 +0,0 @@ - - - - - - - - - ${import.jdbc.driver.class} - - - ${import.jdbc.url} - - - ${import.jdbc.username} - - - ${import.jdbc.password} - - - - - - - - - - - - - JetspeedDS - - - - - - - Index: jetspeed-installer/etc/database/import/assembly/import-page-manager.xml =================================================================== --- jetspeed-installer/etc/database/import/assembly/import-page-manager.xml (revision 732350) +++ jetspeed-installer/etc/database/import/assembly/import-page-manager.xml (working copy) @@ -1,190 +0,0 @@ - - - - - - - JETSPEED-INF/ojb/page-manager-repository.xml - - 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- - - - - - - - - - - - - Index: jetspeed-installer/etc/database/import/import.properties =================================================================== --- jetspeed-installer/etc/database/import/import.properties (revision 732350) +++ jetspeed-installer/etc/database/import/import.properties (working copy) @@ -1,16 +0,0 @@ -# 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 Index: jetspeed-installer/etc/database/import/log4j.properties =================================================================== --- jetspeed-installer/etc/database/import/log4j.properties (revision 732350) +++ jetspeed-installer/etc/database/import/log4j.properties (working copy) @@ -1,34 +0,0 @@ -# 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 - Index: jetspeed-installer/etc/database/build.xml =================================================================== --- jetspeed-installer/etc/database/build.xml (revision 732350) +++ jetspeed-installer/etc/database/build.xml (working copy) @@ -46,23 +46,17 @@ Setting up the Jetspeed database for ${db.type} All existing Jetspeed data is going to be deleted from the database. - - + Selected database configuration: - - + database type: ${db.type} username: ${_db.username} jdbc url: ${_jdbc.url} - - + Make sure that the appropriate jdbc driver jar for the ${db.type} database is placed in the Tomcat shared/lib folder. - For using the Derby database, the correct driver jar is available in the lib folder. - - + Also make sure Tomcat is not running before continuing. - - + Are you sure to continue? @@ -72,26 +66,24 @@ - - - + - - - - - - + + + + + + Executing file ${basedir}/derby/create-schema.sql @@ -146,7 +138,7 @@ - + @@ -159,7 +151,8 @@ - + + @@ -168,10 +161,34 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + Seeding the database @@ -194,7 +211,7 @@ - @@ -202,22 +219,8 @@ - - + - - - - - - - - - - - - - Importing psml into the database Index: jetspeed-installer/jetspeed-mvn-database-pom.xml =================================================================== --- jetspeed-installer/jetspeed-mvn-database-pom.xml (revision 732350) +++ jetspeed-installer/jetspeed-mvn-database-pom.xml (working copy) @@ -6,15 +6,15 @@ 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. - + $Id$ --> - derby - org.apache.derby - ${org.apache.derby.version} - jar - - - tyrex tyrex ${tyrex.version} @@ -172,15 +165,17 @@ - + - copy-context-to-database + copy-resources-to-database process-resources + tofile="${project.build.directory}/database/resources/${org.apache.jetspeed.portal.context.name}.xml" /> + @@ -213,15 +208,15 @@ resources + assembly/boot/datasource.xml + resources + + @seed.path@ j2-seed.xml - database + database/resources - db-ojb - database/import/db-ojb - - ddl database @@ -265,3 +260,4 @@ +