Jetspeed Serializer Application
invoke with mandatory
-E filename or -I filename to denote the export or the import file
-I filename | directory, if a directory will process all XML files of pattern "*seed.xml"
invoke with (optional) parameters as
-p propertyFilename : overwrite the default filename defined in System.getProperty JetSpeed.Serializer.Configuration
-a ApplicationPath : overwrite the default ./ or ApplicationPath property in properties file)
-b bootPath : directory to Spring boot files, overwrite the default assembly/boot/ or bootPath property in properties file)
-c configPath : directory to Spring config files, overwrite the default assembly/ or configPath property in properties file)
-O optionstring : overwrite default "ALL,REPLACE"
optionstring:
ALL - extract/import all (with exception of PREFERENCES)
USER - extract/import users, groups, roles
CAPABILITIES - extract/import capabilities
PROFILE = extract/import profile settings (for export requires USER)
PERMISSIONS = extract/import permissions
PREFS = extract/import portlet preferences (ignored if any of the above is set)
NOOVERWRITE = don't overwrite existing file (for export)
BACKUP = backup before process
-dc driverClass, for example com.mysql.jdbc.Driver
-ds url, ruls according to the driver used, URL needs to point to the correct
database
-du user, user with create/drop etc. rights on the database
-dp password
-l log4j-level, ERROR (default), WARN, INFO
author: Hajo Birthelmer version: $Id: $ |