You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2012/10/02 15:20:52 UTC
svn commit: r1392905 - /directory/apacheds/trunk/service/apacheds.sh
Author: elecharny
Date: Tue Oct 2 13:20:50 2012
New Revision: 1392905
URL: http://svn.apache.org/viewvc?rev=1392905&view=rev
Log:
Discover the JAR using a find command, so that we don't have the hard coded version in the file
Modified:
directory/apacheds/trunk/service/apacheds.sh
Modified: directory/apacheds/trunk/service/apacheds.sh
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/service/apacheds.sh?rev=1392905&r1=1392904&r2=1392905&view=diff
==============================================================================
--- directory/apacheds/trunk/service/apacheds.sh (original)
+++ directory/apacheds/trunk/service/apacheds.sh Tue Oct 2 13:20:50 2012
@@ -18,7 +18,7 @@
# under the License.
# The final jar
-JAR=target/apacheds-service-2.0.0-M7-SNAPSHOT.jar
+JAR=`find . -name "apacheds-server-*[!s].jar"`
# Checking if the final jar exists
if [ -e $JAR ] ; then