birchconfig
Class customdoc

public class customdoc

Title: Change URLs in BIRCH web pages for access by local webserver.

Copyright: Copyright (c) 2005

Company: University of Manitoba

Description: This program calls customdoc.py.

Logfile: $BIRCH/install-birch/install.log.

This program must be run from the $BIRCH/install-birch directory.

To avoid accidently clobbering the master copy of BIRCH, this program will stop and print an error message if the userid of the person runing it is 'psgendb'.

Parameters:
- - none
Version:
0.1
Author:
Dr. Brian Fristensky
Method Detail

progressMessage

static void progressMessage(birchconfig.BufferedTextOutputFile logfile,
                            String S)
Write a message to the logfile.

makeParamFile

static void makeParamFile(birchconfig.BirchProperties tempBP,
                          birchconfig.BufferedTextOutputFile logfile)
makeParamFile - create the file $birch/local/admin/newstr.param, which contains strings to be substituted for those in oldstr.param.

runCustomDoc

static boolean runCustomDoc(birchconfig.BufferedTextOutputFile logfile)
Run the script customdoc.py. This script substitutes strings (eg. URLs, directory names, userid of BIRCH admin., email address of BIRCH admin.) in HTML documentation from the original values to local values

readNewURLs

static void readNewURLs(String[] newstrings)

Read in newURLs.param and update BIRCH properties.

Parameters:
BP - BirchProperties