Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Import Command

Importing into uPortal3 is done with the crn-import ant comand.

Code Block
 ant crn-import -Ddir=<export_dir><dir>

You can also specify a pattern parameter to match certain file names.  TODO: Describe pattern param syntax.

 This same import process is used to generate the default database when you run db-import.  The data comes from the entities directory.

 Behavior Notes

The script does not care about the folder structure of the directory, only the file suffixes.  The script will scan the directory and proceed to import everything in the correct order.  You should not import in a piecemeal fashion, put all data in one directory and import everything at once; you may encounter problems otherwise.

 Properties

There is an import.properties file under uportal-impl/src/main/resources/properties/db/entities/import.properties.  The default contents look like this:

...