DSpace on Windows w/ Eng & Cht in Different Directories

As a memo. This may be helpful in the future, or useful for others want to install Dspace on windows w/ multiple language in different directories.

Preparing:

  1. Install J2SE. Remember the environment setting.
  2. Download and install Tomcat (6.x is also O.K.)
  3. Install the Apache Ant. Remember the environment setting.

During installing dspace.

  1. Read the document (DSpace On Windows), this document can help u go through the install process w/o problems. And, in first installation, remember to do the following.

    ${target}\bin\dsrun org.dspace.administer.CreateAdministrator

    This setting is unnecessary in 2nd, 3rd, etc. installations (in different directory installations).

  2. Download I18n Messages.properties, and replace the original one (in ${source}\config\language-packs)
  3. Modify the directory settings in ${source}\config\dspace.cfg, no matter how many different directory installations, just use the same directory settings.
  4. Modify the build.xml (${source}\build.xml) for the 2nd, 3rd, etc. installations, because the db settings and registries are done in the first time installation.

    in line 355:
    - <target name="fresh_install"
    depends="install_code,build_wars,init_configs,setup_database,load_registries"
    description="Do a fresh install of the system, overwriting any data">
    + <target name="fresh_install"
    depends="install_code,build_wars,init_configs"
    description="Do a fresh install of the system, overwriting any data">

  5. Before copy .war files of the 2nd, 3rd, etc. installations (different directory installations) to the webapps directory of Tomcat, remember to rename them.