Merge pull request #138 from metamx/kit-building

Kit building
This commit is contained in:
cheddar 2013-05-06 09:58:44 -07:00
commit 72e40fd97f
3 changed files with 45 additions and 13 deletions

View File

@ -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:"

View File

@ -63,7 +63,6 @@
</execution>
</executions>
</plugin>
<!--
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
@ -81,7 +80,6 @@
</execution>
</executions>
</plugin>
-->
</plugins>
</build>
</project>

View File

@ -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">
<id>bin</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>tar.gz</format>
</formats>
<fileSets>
<fileSet>
<directory>src/bin</directory>
<directory>../examples/config</directory>
<includes>
<include>*.sh</include>
<include>*</include>
</includes>
<fileMode>0644</fileMode>
<outputDirectory>config</outputDirectory>
</fileSet>
<fileSet>
<directory>/</directory>
<directory>../examples/bin</directory>
<includes>
<include>*sh</include>
</includes>
<fileMode>744</fileMode>
<outputDirectory>/</outputDirectory>
</fileSet>
<fileSet>
<directory>../examples/target</directory>
<includes>
<include>druid-examples-*-selfcontained.jar</include>
</includes>
<outputDirectory>lib</outputDirectory>
</fileSet>
<fileSet>
<directory>../examples/bin/examples</directory>
<includes>
<include>**</include>
</includes>
<outputDirectory>examples</outputDirectory>
</fileSet>
<fileSet>
<directory>../examples/bin/examples/twitter</directory>
<includes>
<include>*sh</include>
</includes>
<fileMode>744</fileMode>
<outputDirectory>examples/twitter</outputDirectory>
</fileSet>
<fileSet>
<directory>../</directory>
<includes>
<include>LICENSE</include>
</includes>
@ -25,7 +54,7 @@
<dependencySet>
<useProjectArtifact>true</useProjectArtifact>
<useTransitiveDependencies>true</useTransitiveDependencies>
<outputDirectory>lib/</outputDirectory>
<outputDirectory>lib</outputDirectory>
</dependencySet>
</dependencySets>
</assembly>
</assembly>