Skip to content
Browse files

adding client script

  • Loading branch information...
1 parent 6c04118 commit bc3f16c705a027aff789fcb7c1419203626b788b Shwetha GS committed Jan 17, 2013
Showing with 14 additions and 1 deletion.
  1. +13 −0 client/bin/ivory
  2. +1 −1 client/pom.xml
View
13 client/bin/ivory
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+PRG="${0}"
+BASEDIR=`dirname ${PRG}`
+BASEDIR=`cd ${BASEDIR}/..;pwd`
+
+
+CLASSPATH=${CLASSPATH}:`ls target/ivory-client-*.jar`
+for f in $BASEDIR/target/dependency/*.jar; do
+ CLASSPATH=${CLASSPATH}:$f;
+done
+
+exec java -cp $CLASSPATH org.apache.ivory.cli.IvoryCLI $@
View
2 client/pom.xml
@@ -68,7 +68,7 @@
<goal>copy-dependencies</goal>
</goals>
<configuration>
- <outputDirectory>${project.build.directory}</outputDirectory>
+ <outputDirectory>${project.build.directory}/dependency</outputDirectory>
</configuration>
</execution>
</executions>

0 comments on commit bc3f16c

Please sign in to comment.
Something went wrong with that request. Please try again.