-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Data Migration Code for Version 1.0.9.1 which fixes bug with publish …
…glag mapping, and allow users the ability to select which record type to publish during data migration. Also improves command line functionality.
- Loading branch information
Nathan Stevens
committed
May 29, 2014
1 parent
3b7c679
commit 3102fa5
Showing
8 changed files
with
621 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
#!/bin/sh | ||
# | ||
# Simple script to run the data migration plugin from the command line | ||
# outside of the AT. It assumes the plugin zip file "scriptAT.zip" has already | ||
# been installed in the ATs' plugin directory. Also a file called dbcopy.properties must | ||
# also be present in the same directory as this script. This file stores all | ||
# connection information for the AT database, and ASpace instances. Please note that | ||
# the plugin reads all AT database connection information from a file called atdbinfo.txt | ||
# located in the users home directory. | ||
# outside of the AT. It assumes the plugin zip file, "scriptAT.zip", has | ||
# been installed in the ATs' plugin directory. Also, a file called dbcopy.properties | ||
# must be present in the same directory as this script. This file stores all | ||
# connection information for the AT database, and ASpace instances. | ||
# | ||
# On Linux System without X11 display, then Xvbf needs to used by doing the following | ||
# | ||
# 1. Install Xvfb for the particular Linux distro | ||
# 2. Run > Xvfb :99 -screen 0 800x600x24 & | ||
# 3. Run > export DISPLAY=":99" | ||
# | ||
# Now the this script can be executed | ||
# Now the this script can be executed from the AT installation directory | ||
# | ||
|
||
java -Xmx1024m -cp "plugins/scriptAT.zip:lib/*" org.archiviststoolkit.plugin.dbCopyCLI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.