From: <sim...@us...> - 2002-07-30 09:49:32
|
Update of /cvsroot/cdchamber/CDChamber/script In directory usw-pr-cvs1:/tmp/cvs-serv26346/script Added Files: CDChamber.bat CDChamber.sh Log Message: Add dist build target and lunch script for windows and linux. --- NEW FILE: CDChamber.bat --- @echo off ::---------------------------------------------------------------------- :: CDChamber Startup Script :: $Id: CDChamber.bat,v 1.1 2002/07/30 09:49:25 simon_lei Exp $ ::---------------------------------------------------------------------- ::---------------------------------------------------------------------- :: Set the classpathes. ::---------------------------------------------------------------------- SET CLASSPATH=.\lib;%CLASSPATH%;.\lib\CDChamber.jar SET CLASSPATH=%CLASSPATH%;.\lib\castor-0.9.3.19.jar;.\lib\jazzlib0.04.jar SET CLASSPATH=%CLASSPATH%;.\lib\jcalendar.jar;.\lib\kunststoff.jar SET CLASSPATH=%CLASSPATH%;.\lib\xalan.jar;.\lib\xercesImpl.jar;.\lib\xmlParserAPIs.jar ::---------------------------------------------------------------------- :: Run CDChamber ::---------------------------------------------------------------------- java -classpath %CLASSPATH% org.cdchamber.gui.CDChamber --- NEW FILE: CDChamber.sh --- #!/bin/bash #---------------------------------------------------------------------- # CDChamber Startup Script # $Id: CDChamber.sh,v 1.1 2002/07/30 09:49:25 simon_lei Exp $ #---------------------------------------------------------------------- APP_DIR="." LIB_DIR="$APP_DIR/lib" #---------------------------------------------------------------------- # Set the classpathes. #---------------------------------------------------------------------- for c in $LIB_DIR/*.jar do CLASS_PATH="$CLASS_PATH:$c" done export CLASS_PATH="$LIB_DIR:$CLASS_PATH" #---------------------------------------------------------------------- # Run CDChamber #---------------------------------------------------------------------- java -classpath $CLASS_PATH org.cdchamber.gui.CDChamber |