Author: richard.opalka(a)jboss.com
Date: 2007-10-09 04:23:00 -0400 (Tue, 09 Oct 2007)
New Revision: 4699
Modified:
stack/native/trunk/src/main/etc/wsrunclient.sh
Log:
changing the classpath elements order to be identical with Windows one - see
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092751#...
Modified: stack/native/trunk/src/main/etc/wsrunclient.sh
===================================================================
--- stack/native/trunk/src/main/etc/wsrunclient.sh 2007-10-09 08:01:03 UTC (rev 4698)
+++ stack/native/trunk/src/main/etc/wsrunclient.sh 2007-10-09 08:23:00 UTC (rev 4699)
@@ -30,6 +30,14 @@
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi
+while [ $# -ge 1 ]; do
+ case $1 in
+ "-classpath")
WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$2"; shift;;
+ *) args="$args \"$1\"";;
+ esac
+ shift
+done
+
# Setup JBOSS_HOME
if [ "x$JBOSS_HOME" = "x" ]; then
# get the full path (without any relative bits)
@@ -66,14 +74,6 @@
# JBossAS-4.2 subset of jbossall-client.jar
WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jboss-common-client.jar"
-while [ $# -ge 1 ]; do
- case $1 in
- "-classpath")
WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$2"; shift;;
- *) args="$args \"$1\"";;
- esac
- shift
-done
-
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`