Skip to content
This repository
executable file 16 lines (13 sloc) 0.446 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/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

Something went wrong with that request. Please try again.