Skip to content
This repository
Browse code

adding client script

  • Loading branch information...
commit bc3f16c705a027aff789fcb7c1419203626b788b 1 parent 6c04118
Shwetha G S shwethags authored

Showing 2 changed files with 14 additions and 1 deletion. Show diff stats Hide diff stats

  1. +13 0 client/bin/ivory
  2. +1 1  client/pom.xml
13 client/bin/ivory
... ... @@ -0,0 +1,13 @@
  1 +#!/bin/bash
  2 +
  3 +PRG="${0}"
  4 +BASEDIR=`dirname ${PRG}`
  5 +BASEDIR=`cd ${BASEDIR}/..;pwd`
  6 +
  7 +
  8 +CLASSPATH=${CLASSPATH}:`ls target/ivory-client-*.jar`
  9 +for f in $BASEDIR/target/dependency/*.jar; do
  10 + CLASSPATH=${CLASSPATH}:$f;
  11 +done
  12 +
  13 +exec java -cp $CLASSPATH org.apache.ivory.cli.IvoryCLI $@
2  client/pom.xml
@@ -68,7 +68,7 @@
68 68 <goal>copy-dependencies</goal>
69 69 </goals>
70 70 <configuration>
71   - <outputDirectory>${project.build.directory}</outputDirectory>
  71 + <outputDirectory>${project.build.directory}/dependency</outputDirectory>
72 72 </configuration>
73 73 </execution>
74 74 </executions>

0 comments on commit bc3f16c

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