From: <ju...@us...> - 2008-12-11 10:18:29
|
Revision: 7227 http://smartfrog.svn.sourceforge.net/smartfrog/?rev=7227&view=rev Author: julgui Date: 2008-12-11 10:18:03 +0000 (Thu, 11 Dec 2008) Log Message: ----------- Added $DEBUG_SCRIPT_ON to select when to show classpath debug messages. Default:OFF Modified Paths: -------------- trunk/core/smartfrog/bin/setSFProperties Modified: trunk/core/smartfrog/bin/setSFProperties =================================================================== --- trunk/core/smartfrog/bin/setSFProperties 2008-12-10 17:02:52 UTC (rev 7226) +++ trunk/core/smartfrog/bin/setSFProperties 2008-12-11 10:18:03 UTC (rev 7227) @@ -24,7 +24,7 @@ # To define the prefix to componentname with username # export USERNAMEPREFIX_ON=ENABLED - + # export DEBUG_SCRIPT_ON=ENABLED # -------------------End user properties------------------------- if test -f "$SFHOME/jvm/bin/$SFJVM"; then @@ -63,13 +63,19 @@ # SF/lib (SF core libs) for i in "$SFLIBPATH"/*.jar; do CLASSPATH=$i:$CLASSPATH; done + export CLASSPATH # SF/lib.ext (external libs used by SF core) # export SFLIBPATH="$SFHOME/lib.ext" # for i in "$SFLIBPATH"/*.jar; do CLASSPATH=$i:$CLASSPATH; done # export CLASSPATH -echo DEFAULT $CLASSPATH + +if test "$DEBUG_SCRIPT_ON"; then + echo DEFAULT $CLASSPATH +fi + + if test "$SFUSERHOME"; then export SFLIBPATH="$SFUSERHOME" ls "$SFLIBPATH"/*.jar 2>/dev/null 1>/dev/null @@ -123,4 +129,7 @@ if [ -f ${SHELL}.exe ]; then CLASSPATH=`cygpath -pw "$CLASSPATH"` fi -echo AFTER $CLASSPATH + +if test "$DEBUG_SCRIPT_ON"; then + echo AFTER $CLASSPATH +fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |