ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <Juergen.Knuple...@icongmbh.de>
Subject AW: script problem
Date Wed, 28 May 2008 11:17:31 GMT
Do you have bsf.jar in the ANT-classpath?
(You can copy it in the lib-Folder of ANT)

See "Ant-Tasks"-"Library dependencies" in
http://ant.apache.org/manual/  


-- 
Jürgen Knuplesch              

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 
-----Ursprüngliche Nachricht-----
Von: Dave Pawson [mailto:dave.pawson@gmail.com] 
Gesendet: Mittwoch, 28. Mai 2008 12:36
An: Ant Users List
Betreff: script problem

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@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message