Dolda2000 GitWeb
/
jsvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check for the library jars in the bsh sample and fail with information.
[jsvc.git]
/
samples
/
bsh
/
build.xml
diff --git
a/samples/bsh/build.xml
b/samples/bsh/build.xml
index
ad2e8c3
..
fd6d4df
100644
(file)
--- a/
samples/bsh/build.xml
+++ b/
samples/bsh/build.xml
@@
-5,6
+5,11
@@
<target name="build-env">
<mkdir dir="build" />
<mkdir dir="build/bin" />
<target name="build-env">
<mkdir dir="build" />
<mkdir dir="build/bin" />
+ <fail message="You need to add the files jsvc.jar and bsh.jar to the lib directory manually.">
+ <condition>
+ <not><and><available file="lib/jsvc.jar" /><available file="lib/bsh.jar" /></and></not>
+ </condition>
+ </fail>
</target>
<target name="bin" depends="build-env">
</target>
<target name="bin" depends="build-env">