Sha256: 47892be028cf50ec7404fd77aef5255c51442c5d32d11a92235c1d633e03b0ee
Contents?: true
Size: 1.97 KB
Versions: 1
Compression:
Stored size: 1.97 KB
Contents
#!/bin/sh # Extract the directory and the program name # takes care of symlinks PRG="$0" while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG="`dirname "$PRG"`/$link" fi done DIRNAME=`dirname "$PRG"` PROGNAME=`basename "$PRG"` # OS specific support (must be 'true' or 'false'). cygwin=false; case "`uname`" in CYGWIN*) cygwin=true ;; esac # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$JBOSS_HOME" ] && JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"` [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` fi # Setup JBOSS_HOME if [ "x$JBOSS_HOME" = "x" ]; then # get the full path (without any relative bits) JBOSS_HOME=`cd "$DIRNAME/.."; pwd` fi export JBOSS_HOME # Setup the JVM if [ "x$JAVA" = "x" ]; then if [ "x$JAVA_HOME" != "x" ]; then JAVA="$JAVA_HOME/bin/java" else JAVA="java" fi fi #JPDA options. Uncomment and modify as appropriate to enable remote debugging . #JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y $JAVA_OPTS" # Setup JBoss sepecific properties JAVA_OPTS="$JAVA_OPTS" # Setup classpath JBOSS_CLASSPATH=$JAVA_HOME/lib/tools.jar:$JBOSS_HOME/jboss-modules.jar # For Cygwin, switch paths to Windows format before running java if $cygwin; then JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"` fi # Execute the command eval \"$JAVA\" $JAVA_OPTS \ \"-Djava.endorsed.dirs=$JBOSS_HOME/modules/com/sun/xml/bin/main:$JBOSS_HOME/modules/javax/xml/ws/api/main\" \ -classpath \"$JBOSS_CLASSPATH\" \ org.jboss.modules.Main \ -mp \"$JBOSS_HOME/modules\" \ -logmodule "org.jboss.logmanager" \ org.jboss.ws.tools.wsconsume \ "$@"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
torquebox-server-2.0.0.beta1-java | jboss/bin/wsconsume.sh |