From ARC Wiki
Jump to navigation Jump to search

These are the components of the now-defunct, which generate the archive. To run individual transforms you need to do a few steps, some of them only once. First, go to


then view the script and copy the first portion to the clipboard with Ctrl-C (or just copy it from this)

export JAVA_HOME=/usr/local/j2sdk1_6_0
export BASEDIR=/home10/rossetti_tools/rose2
export DEPLOYDIR=/home10/rossetti_tools/deploy
export ARCHIVEDIR=${DEPLOYDIR}/archive
export ANT_OPTS=-Xmx1024m
export ANT_HOME=/usr/local/ant-1.7.0
export ANT_CMD=${ANT_HOME}/bin/ant
export CLASSPATH=${DEPLOYDIR}/lib/saxonb8-7-3j/saxon8.jar
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib

At the prompt, type Ctrl-V to paste these commands into the terminal window. They should execute as if you typed them in. These commands only have to be done once is the login session.

Then view the file again and copy the command you want to perform and paste it into your terminal window. You can do any of these commands as many times as needed after the initial setup above. - validates the source files

./ /home10/rossetti_work/ROSSETTI/SOURCE - executes prepare_deploy and recreates the build directory

./ /home10/rossetti_work/ROSSETTI/SOURCE - creates directories and makes a copy of the source files - transforms the files.

./ /home10/rossetti_work/ROSSETTI/SOURCE

This script has also been broken down into its constituent parts:


To view the output of these operations, simply modify this command:

./ > transform.out
grep Exception transform.out

Or, more specifically:

./ wait for an error in rac2html ./ ./ - rebuilds the lucene index and restarts the webapp

./ - copies thefiles in the build directory to the test web server (

./ - creates large and small thumbnails for the images in /home10/rossetti/img (also known as ebtdocs/IMAGES)