diff options
author | Roland Grunberg <rgrunber@redhat.com> | 2013-08-09 10:35:40 -0400 |
---|---|---|
committer | Roland Grunberg <rgrunber@redhat.com> | 2013-08-09 13:33:33 -0400 |
commit | 57644f1550f079484653eae3754fea037e13d832 (patch) | |
tree | 8bc9f670c08880fa279907eb6b59145436e8fac8 /prepTestBundle.sh | |
parent | f9a71ca6994a9e9fa7e29451f91fbf4445e53cf7 (diff) | |
download | tycho-surefire-testbundlerunner-57644f1550f079484653eae3754fea037e13d832.tar.gz tycho-surefire-testbundlerunner-57644f1550f079484653eae3754fea037e13d832.tar.xz tycho-surefire-testbundlerunner-57644f1550f079484653eae3754fea037e13d832.zip |
Add some error checking and fix comments.
Diffstat (limited to 'prepTestBundle.sh')
-rwxr-xr-x | prepTestBundle.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/prepTestBundle.sh b/prepTestBundle.sh index be704d2..0271c62 100755 --- a/prepTestBundle.sh +++ b/prepTestBundle.sh @@ -13,9 +13,10 @@ # org.eclipse.tycho:org.eclipse.tycho.surefire.testbundlerunner # | plugin:tycho-maven-plugin # | plugin:target-platform-configuration +# | plugin:tycho-surefire-plugin (pluginManagement) # | # --> osgiTestBundle (gid:aid) -# plugin:tycho-surefire-plugin +# plugin:tycho-surefire-plugin (may inherit) # File System Conceptual Layout @@ -29,6 +30,11 @@ # --> target/classes/**.class # --> resources/ +if [ ! $# -eq 1 ]; then + echo "USAGE : $0 /PATH/TO/JAR" + exit 1 +fi + jarLoc=$1 jarPomPath=`jar -tf ${jarLoc} | grep 'pom.xml'` |