directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ckopp...@apache.org
Subject svn commit: r545308 - /directory/apacheds/trunk/server-main/apacheds.bat
Date Thu, 07 Jun 2007 20:57:03 GMT
Author: ckoppelt
Date: Thu Jun  7 13:57:02 2007
New Revision: 545308

URL: http://svn.apache.org/viewvc?view=rev&rev=545308
Log:
added simple batch script for starting ApacheDS as non-windows-service

Added:
    directory/apacheds/trunk/server-main/apacheds.bat

Added: directory/apacheds/trunk/server-main/apacheds.bat
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-main/apacheds.bat?view=auto&rev=545308
==============================================================================
--- directory/apacheds/trunk/server-main/apacheds.bat (added)
+++ directory/apacheds/trunk/server-main/apacheds.bat Thu Jun  7 13:57:02 2007
@@ -0,0 +1,15 @@
+REM this script starts ApacheDS (as non-windows-service)
+
+@echo off
+
+IF NOT exist target/apacheds-server-main-1.5.1-SNAPSHOT-app.jar GOTO :MVN
+   echo uber jar exists
+   GOTO :JAVA
+
+:MVN
+   echo uber jar not found need to build it
+   mvn clean assembly:assembly
+   GOTO :JAVA
+
+:JAVA
+   java -Dlog4j.configuration=file:///%cd%/log4j.properties -jar target/apacheds-server-main-1.5.1-SNAPSHOT-app.jar
server.xml



Mime
View raw message