]> git.dolda2000.com Git - jsvc.git/commitdiff
Check for the library jars in the bsh sample and fail with information.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 26 Oct 2009 05:33:36 +0000 (06:33 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 26 Oct 2009 05:33:36 +0000 (06:33 +0100)
samples/bsh/build.xml

index ad2e8c3e0c377fddc2f211a741459b2257474aa8..fd6d4df824abbbb21b73679da042782d5d6aa6a1 100644 (file)
@@ -5,6 +5,11 @@
    <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">