Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (13 sloc) 446 Bytes
#!/bin/bash
#Copy all libraries
TEST_CLASSPATH=
for i in testlibs/WEB-INF/lib/*
do
if [ "$TEST_CLASSPATH" = "" ] ; then
TEST_CLASSPATH=$i
fi
TEST_CLASSPATH=$TEST_CLASSPATH:$i
done
TEST_CLASSPATH=$TEST_CLASSPATH:build/classes/main:conf/sampleservice
echo CLASSPATH:$TEST_CLASSPATH
java -Deureka.region=default -Deureka.environment=test -Deureka.client.props=sample-eureka-service -cp $TEST_CLASSPATH com.netflix.eureka.SampleEurekaService