You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2008/07/12 22:55:58 UTC
svn commit: r676238 - in /mina/ftpserver/trunk/distribution/bin: ftpd.bat
ftpd.sh service.bat
Author: ngn
Date: Sat Jul 12 13:55:57 2008
New Revision: 676238
URL: http://svn.apache.org/viewvc?rev=676238&view=rev
Log:
Scripts now use the Spring config runners
Modified:
mina/ftpserver/trunk/distribution/bin/ftpd.bat
mina/ftpserver/trunk/distribution/bin/ftpd.sh
mina/ftpserver/trunk/distribution/bin/service.bat
Modified: mina/ftpserver/trunk/distribution/bin/ftpd.bat
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/distribution/bin/ftpd.bat?rev=676238&r1=676237&r2=676238&view=diff
==============================================================================
--- mina/ftpserver/trunk/distribution/bin/ftpd.bat (original)
+++ mina/ftpserver/trunk/distribution/bin/ftpd.bat Sat Jul 12 13:55:57 2008
@@ -57,7 +57,7 @@
cd /d %FTPD_HOME%
rem ----- call java.. ---------------------------------------------------
-set MAIN_CLASS=org.apache.ftpserver.commandline.CommandLine
+set MAIN_CLASS=org.apache.ftpserver.main.CommandLine
set JAVA_CMD=%JAVA_HOME%\bin\java
"%JAVA_CMD%" -classpath "%FTPD_CLASSPATH%" %MAIN_CLASS% %*
Modified: mina/ftpserver/trunk/distribution/bin/ftpd.sh
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/distribution/bin/ftpd.sh?rev=676238&r1=676237&r2=676238&view=diff
==============================================================================
--- mina/ftpserver/trunk/distribution/bin/ftpd.sh (original)
+++ mina/ftpserver/trunk/distribution/bin/ftpd.sh Sat Jul 12 13:55:57 2008
@@ -128,7 +128,7 @@
#
CURR_DIR=`pwd`
cd $FTPD_HOME
-MAIN_CLASS=org.apache.ftpserver.commandline.CommandLine
+MAIN_CLASS=org.apache.ftpserver.main.CommandLine
"$JAVACMD" -classpath "$FTPD_CLASSPATH" $MAIN_CLASS $@
RESULT=$?
cd $CURR_DIR
Modified: mina/ftpserver/trunk/distribution/bin/service.bat
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/distribution/bin/service.bat?rev=676238&r1=676237&r2=676238&view=diff
==============================================================================
--- mina/ftpserver/trunk/distribution/bin/service.bat (original)
+++ mina/ftpserver/trunk/distribution/bin/service.bat Sat Jul 12 13:55:57 2008
@@ -97,7 +97,7 @@
set FTPD_LOGPATH=%FTPD_HOME%\res\log
-set PR_DESCRIPTION=Apache FtpServer (http://incubator.apache.org/ftpserver/)
+set PR_DESCRIPTION=Apache FtpServer (http://mina.apache.org/ftpserver/)
set PR_INSTALL=%EXECUTABLE%
set PR_LOGPATH=%FTPD_LOGPATH%
set PR_CLASSPATH=%FTPD_CLASSPATH%
@@ -127,7 +127,7 @@
:endInit
echo %CMD_LINE_ARGS%
-"%EXECUTABLE%" //IS//%SERVICE_NAME% --StartClass org.apache.ftpserver.commandline.Daemon --StartParams %CMD_LINE_ARGS% --StartPath "%FTPD_HOME%" --StopClass org.apache.ftpserver.commandline.Daemon --StopParams stop
+"%EXECUTABLE%" //IS//%SERVICE_NAME% --StartClass org.apache.ftpserver.main.Daemon --StartParams %CMD_LINE_ARGS% --StartPath "%FTPD_HOME%" --StopClass org.apache.ftpserver.main.Daemon --StopParams stop
if not errorlevel 1 goto installed
echo Failed installing '%SERVICE_NAME%' service
goto end