Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

script problem

Dave Pawson

2008-05-28

Replies: Find Java Web Hosting

Author LoginPost Reply
Inside a target I have

<path id="sys.jars">
 <pathelement path="/usr/share/java/bsf.jar"/>
</path>


<script language="beanshell" manager='bsf' >
<classpath refid="sys.jars"/>

   System.out.println("message is " + message);
  </script>


The jar file contains the exception
$jar -tf bsf.jar |grep BSFException
org/apache/bsf/BSFException.class

yet when I run ant I get


BUILD FAILED
/files/java/build.xml:23: java.lang.NoClassDefFoundError:
org/apache/bsf/BSFException

I can't see what is wrong,

Any help appreciated.

regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.