You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ck...@apache.org on 2007/06/07 22:57:03 UTC
svn commit: r545308 - /directory/apacheds/trunk/server-main/apacheds.bat
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