directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szoer...@apache.org
Subject svn commit: r295093 - /directory/apacheds/trunk/main/src/main/resources/apacheds-server.bat
Date Wed, 05 Oct 2005 19:44:32 GMT
Author: szoerner
Date: Wed Oct  5 12:44:26 2005
New Revision: 295093

URL: http://svn.apache.org/viewcvs?rev=295093&view=rev
Log:
Removed syntax errors from file apacheds-server.bat in order to resolve DIREVE-263 ("apacheds-server.bat
of standalone goal fails on Windows platform").

Modified:
    directory/apacheds/trunk/main/src/main/resources/apacheds-server.bat

Modified: directory/apacheds/trunk/main/src/main/resources/apacheds-server.bat
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/main/src/main/resources/apacheds-server.bat?rev=295093&r1=295092&r2=295093&view=diff
==============================================================================
--- directory/apacheds/trunk/main/src/main/resources/apacheds-server.bat (original)
+++ directory/apacheds/trunk/main/src/main/resources/apacheds-server.bat Wed Oct  5 12:44:26
2005
@@ -5,16 +5,19 @@
 rem @..@ indicates that ant will parse this file and set the correct value.
 
 
-set MAIN_JAR="@APACHE_DS_MAIN_JAR@"
+set MAIN_JAR=@APACHE_DS_MAIN_JAR@
 
-set ARGS="-Xms128m -Xmx256m -jar %MAIN_JAR% apacheds-server.xml"
+set ARGS=-Xms128m -Xmx256m -jar %MAIN_JAR% apacheds-server.xml
 
 rem still needs to be constructed
 rem if someone uses windows and wants to make a duplicate of apacheds-server.sh, go for it.
 
 set CLASSPATH=%CLASSPATH%;.
 
+rem Create the logs dir, if it does not already exist
+if exist logs goto logsExists
 mkdir logs
+:logsExists
 
 java %ARGS%
 



Mime
View raw message