This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Skip to end of metadata
Go to start of metadata

Upgrading from Apache Continuum 1.1 to 1.2

Startup Script

The script used to start Continuum has changed. Previously there was a "run.sh" or "run.bat" script for each platform. Now there is one continuum script for linux/solaris/macosx, and continuum.bat for windows.

To start it: change to [CONTINUUM_HOME]/bin and then type "continuum start".

Database Files

The database files from 1.1 can be used with 1.2 (no export/import needed), however the location and directory names have changed. Be sure that the data sources in jetty.xml match the location of your database files.

Working Copy Location

The location of each working copy is stored in the database, so if you have projects checked out into a directory like /path/to/continuum-1.1/working-copies, they're still going to want to go there. CONTINUUM-1108

If you need to edit the locations, you can connect to the database with a tool like Squirrel SQL and fix them.

Other

  • You may need to add missing roles to the admin user
  • We've also had reports of trouble with configuration for the new release output directory. If you can't get to the configuration page, editing the conf/continuum.xml file should work.

Exporting Data

See Continuum Data Management Export

Import both builds and users from 1.1 to 1.2.2 using 1.2.3.1

java -Xmx512m -jar ~/data-management-cli-1.2.3.1-app.jar -usersJdbcUrl jdbc:derby:/home/wsmoak/continuum122test/data/databases/users -buildsJdbcUrl jdbc:derby:/home/wsmoak/continuum122test/data/databases/continuum -mode IMPORT -directory backups11

Fails if there are installations in builds.xml. After deleting installations, it fails with:

Exception in thread "main" org.jpox.metadata.InvalidMetaDataException: Error in MetaData for field "localRepository" in class "ProjectGroup" : this is declared as org.apache.continuum.model.repository.LocalRepository with "persistence-modifier=none" yet has either "default-fetch-group=true" or "primary-key=true" specified! These should be false.

  • No labels