Wil,
here are the .bashrc settings I'm using. A number of useful aliases
for building the LFC or the whole server, and for deploying the
webapp.
#LPS compile and build Java options
export JAVA_OPTS="-ea -Xmx1024m"
# core OL folders
export LPS_HOME=${HOME}/src/svn/openlaszlo/trunk
export LZ_TOOLS_ROOT=${HOME}/src/svn/tools/trunk
export LZ_LPS_ROOT=${LPS_HOME}
export LZ_VENDOR_ROOT=${HOME}/src/svn/vendor
export LZ_INSTALLS_ROOT=${HOME}/lib
# OpenLaszlo tools
# 4.9 requries javacc-2.1!!
export JAVACC_HOME=${LZ_INSTALLS_ROOT}/javacc-5.0
export JYTHON_HOME=${LZ_INSTALLS_ROOT}/jython-2.1
export TOMCAT_HOME=${LZ_INSTALLS_ROOT}/apache-tomcat-6.0.20
export CATALINA_HOME=$TOMCAT_HOME
export JPDA_OPTS="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspe
nd=n"
export LPS_BIN=${LPS_HOME}/WEB-INF/lps/server/bin
export LPS_PATHS=${JAVA_HOME}/bin:${ANT_HOME}/bin:${JAVACC_HOME}/bin:${TOMCAT_HO
ME}/bin:$LPS_BIN
export PATH=${LPS_PATHS}:${LPS_HOME}/app/src/scripts:$PATH
alias lpslog='cd $LPS_HOME/;tail -f WEB-INF/lps/work/logs/lps.log'
alias bol='cd $LPS_HOME/;wu;ant;wd'
alias bdoc='cd $LPS_HOME/docs/src/; a clean;clear;a reference;'
alias bd='cd $LPS_HOME/WEB-INF/lps/lfc/; ./buildlfc --runtime=dhtml;'
alias bdd='cd $LPS_HOME/WEB-INF/lps/lfc/; ./buildlfcdebug --runtime=dhtml;'
alias bdp='cd $LPS_HOME/WEB-INF/lps/lfc/; ./buildlfcprofile --runtime=dhtml;'
alias bdb='cd $LPS_HOME/WEB-INF/lps/lfc/; ./buildlfcbacktrace --runtime=dhtml;'
alias bs10='cd $LPS_HOME/WEB-INF/lps/lfc/; ./buildlfc --runtime=swf10'
alias bsd10='cd $LPS_HOME/WEB-INF/lps/lfc/; ./buildlfcdebug --runtime=swf10'
alias lzc10='lzc --runtime=swf10'
alias olfc='open $LPS_HOME/WEB-INF/lps/lfc/'
alias a='ant'
alias wu='cd $LPS_HOME; ant webapp.undeploy'
alias wd='cd $LPS_HOME; ant webapp.deploy'
alias ts='cd $LPS_HOME; ant tomcat.start'
alias tq='cd $LPS_HOME; ant tomcat.stop'
alias acb='cd $LPS_HOME; ant clean build; ant webapp.deploy;'
alias acbt='cd $LPS_HOME; ant clean build lztest; ant webapp.deploy;'
alias ouu='cd $LPS_HOME/app; ant webapp.undeploy'
alias oud='cd $LPS_HOME/app; ant webapp.deploy'
source ~/src/svn/tools/trunk/svn/svn-bash.sh