Author: vgritsenko
Date: Wed Feb 28 17:56:56 2007
New Revision: 513104
URL: http://svn.apache.org/viewvc?view=rev&rev=513104
Log:
fix shell script for cygwin env
Modified:
xml/xindice/trunk/xindice.sh
Modified: xml/xindice/trunk/xindice.sh
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/xindice.sh?view=diff&rev=513104&r1=513103&r2=513104
==============================================================================
--- xml/xindice/trunk/xindice.sh (original)
+++ xml/xindice/trunk/xindice.sh Wed Feb 28 17:56:56 2007
@@ -97,7 +97,7 @@
fi
if [ "$JAVA_DEBUG_PORT" = "" ] ; then
- JAVA_DEBUG_PORT=8890
+ JAVA_DEBUG_PORT=8000
fi
if [ "$XINDICE_PID" = "" ] ; then
@@ -124,7 +124,7 @@
JETTY_CONFIG="$XINDICE_HOME/tools/jetty/conf/main.xml"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
- JAVACMD=`cygpath --path --windows "$JAVACMD"`
+ JAVACMD=`cygpath "$JAVACMD"`
CP=`cygpath --path --windows "$CP"`
JETTY_CONFIG=`cygpath --path --windows "$JETTY_CONFIG"`
JETTY_WEBAPP=`cygpath --path --windows "$JETTY_WEBAPP"`
@@ -154,7 +154,7 @@
;;
debug)
- $JAVACMD $JAVA_OPTIONS -Xdebug -Xrunjdwp:transport=dt_socket,address=$JAVA_DEBUG_PORT,server=y,suspend=n -classpath "$CP" -Djava.endorsed.dirs=build/endorsed -Dxindice.home="$XINDICE_HOME" -Dxindice.db.home="$XINDICE_HOME" -Dwebapp="$JETTY_WEBAPP" -Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser -Djetty.port=$JETTY_PORT -Djetty.admin.port=$JETTY_ADMIN_PORT org.mortbay.jetty.Server "$JETTY_CONFIG" "$XINDICE_HOME/tools/jetty/conf/admin.xml" >> $XINDICE_HOME/logs/xindice.out 2>&1
+ "$JAVACMD" $JAVA_OPTIONS -Xdebug -Xrunjdwp:transport=dt_socket,address=$JAVA_DEBUG_PORT,server=y,suspend=n -classpath "$CP" -Djava.endorsed.dirs=build/endorsed -Dxindice.home="$XINDICE_HOME" -Dxindice.db.home="$XINDICE_HOME" -Dwebapp="$JETTY_WEBAPP" -Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser -Djetty.port=$JETTY_PORT -Djetty.admin.port=$JETTY_ADMIN_PORT org.mortbay.jetty.Server "$JETTY_CONFIG" "$XINDICE_HOME/tools/jetty/conf/admin.xml" >> $XINDICE_HOME/logs/xindice.out 2>&1
;;
stop)
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.