diff --git a/examples/bin/run_example_server.sh b/examples/bin/run_example_server.sh index bc7da9269dc..c61b3316bc7 100755 --- a/examples/bin/run_example_server.sh +++ b/examples/bin/run_example_server.sh @@ -52,9 +52,14 @@ fi JAVA_ARGS="-Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8" JAVA_ARGS="${JAVA_ARGS} -Ddruid.realtime.specFile=${SPEC_FILE}" + DRUID_CP=${EXAMPLE_LOC} -DRUID_CP=${DRUID_CP}:../config +#For a pull DRUID_CP=${DRUID_CP}:`ls ../target/druid-examples-*-selfcontained.jar` +DRUID_CP=${DRUID_CP}:../config +#For the kit +DRUID_CP=${DRUID_CP}:`ls ./lib/druid-examples-*-selfcontained.jar` +DRUID_CP=${DRUID_CP}:./config echo "Running command:" diff --git a/services/pom.xml b/services/pom.xml index d3ee8bc00f8..c19a8c3337a 100644 --- a/services/pom.xml +++ b/services/pom.xml @@ -63,7 +63,6 @@ - diff --git a/services/src/assembly/assembly.xml b/services/src/assembly/assembly.xml index 967ed9b2614..6e0b675801d 100644 --- a/services/src/assembly/assembly.xml +++ b/services/src/assembly/assembly.xml @@ -2,20 +2,49 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> bin - - dir - - false + + tar.gz + - src/bin + ../examples/config - *.sh + * - 0644 + config - / + ../examples/bin + + *sh + + 744 + / + + + ../examples/target + + druid-examples-*-selfcontained.jar + + lib + + + ../examples/bin/examples + + ** + + examples + + + ../examples/bin/examples/twitter + + *sh + + 744 + examples/twitter + + + ../ LICENSE @@ -25,7 +54,7 @@ true true - lib/ + lib - \ No newline at end of file +