Skip to Content.
Sympa Menu

notify-dpml - r906 - trunk/main/depot/core/console/etc/bin

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: carelparadis AT mail.berlios.de
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r906 - trunk/main/depot/core/console/etc/bin
  • Date: Thu, 12 Jan 2006 02:59:53 +0100

Author: carelparadis
Date: 2006-01-12 02:59:38 +0100 (Thu, 12 Jan 2006)
New Revision: 906

Modified:
trunk/main/depot/core/console/etc/bin/depot-cygwin.sh
trunk/main/depot/core/console/etc/bin/depot-unix.sh
Log:
Output messages from unix scripts only if the environment variable
DEPOT_DEBUG has the value true.

Modified: trunk/main/depot/core/console/etc/bin/depot-cygwin.sh
===================================================================
--- trunk/main/depot/core/console/etc/bin/depot-cygwin.sh 2006-01-11
10:34:05 UTC (rev 905)
+++ trunk/main/depot/core/console/etc/bin/depot-cygwin.sh 2006-01-12
01:59:38 UTC (rev 906)
@@ -27,18 +27,20 @@
DEPOT_CLASSPATH=`cygpath --windows "$DEPOT_CLASSPATH"`
[ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --windows "$CLASSPATH"`

-TITLE="Starting Depot $DEPOT_VERSION."
-echo $TITLE
-echo "$TITLE" | sed 's/./=/g'
-echo " Platform: $PLATFORM"
-echo " Java Home: $JAVA_HOME"
-echo " DPML System: $DPML_SYSTEM"
-echo " DPML Home: $DPML_HOME"
-echo " Security Policy: $DEPOT_SECURITY_POLICY"
-echo " JVM Options: $DEPOT_JVM_OPTS"
-echo " Classpath: $DEPOT_CLASSPATH"
-echo " Depot Arguments: $DEPOT_ARGS"
-echo ""
+if [ "$DEPOT_DEBUG" = "true" ]; then
+ TITLE="Starting Depot $DEPOT_VERSION."
+ echo $TITLE
+ echo "$TITLE" | sed 's/./=/g'
+ echo " Platform: $PLATFORM"
+ echo " Java Home: $JAVA_HOME"
+ echo " DPML System: $DPML_SYSTEM"
+ echo " DPML Home: $DPML_HOME"
+ echo " Security Policy: $DEPOT_SECURITY_POLICY"
+ echo " JVM Options: $DEPOT_JVM_OPTS"
+ echo " Classpath: $DEPOT_CLASSPATH"
+ echo " Depot Arguments: $DEPOT_ARGS"
+ echo ""
+fi

JAVA="$JAVA_HOME/bin/java"


Modified: trunk/main/depot/core/console/etc/bin/depot-unix.sh
===================================================================
--- trunk/main/depot/core/console/etc/bin/depot-unix.sh 2006-01-11 10:34:05
UTC (rev 905)
+++ trunk/main/depot/core/console/etc/bin/depot-unix.sh 2006-01-12 01:59:38
UTC (rev 906)
@@ -17,18 +17,20 @@
# See the License for the specific language governing permissions and
# limitations under the License.

-TITLE="Starting Depot $DEPOT_VERSION."
-echo $TITLE
-echo "$TITLE" | sed 's/./=/g'
-echo " Platform: $PLATFORM"
-echo " Java Home: $JAVA_HOME"
-echo " DPML System: $DPML_SYSTEM"
-echo " DPML Home: $DPML_HOME"
-echo " Security Policy: $DEPOT_SECURITY_POLICY"
-echo " JVM Options: $DEPOT_JVM_OPTS"
-echo " Classpath: $DEPOT_CLASSPATH"
-echo " Depot Arguments: $DEPOT_ARGS"
-echo ""
+if [ "$DEPOT_DEBUG" = "true" ]; then
+ TITLE="Starting Depot $DEPOT_VERSION."
+ echo $TITLE
+ echo "$TITLE" | sed 's/./=/g'
+ echo " Platform: $PLATFORM"
+ echo " Java Home: $JAVA_HOME"
+ echo " DPML System: $DPML_SYSTEM"
+ echo " DPML Home: $DPML_HOME"
+ echo " Security Policy: $DEPOT_SECURITY_POLICY"
+ echo " JVM Options: $DEPOT_JVM_OPTS"
+ echo " Classpath: $DEPOT_CLASSPATH"
+ echo " Depot Arguments: $DEPOT_ARGS"
+ echo ""
+fi

JAVA="$JAVA_HOME/bin/java"





  • r906 - trunk/main/depot/core/console/etc/bin, carelparadis, 01/11/2006

Archive powered by MHonArc 2.6.24.

Top of Page