You need to add rhino.jar and bsf.jar to your ant/lib directory. However, for some reason, I find that I always have to add a 'taskdef' declaration at the top of the build.xml file declaring the optional script task - you should not have to do this, but I always seem to have to.
Note that I use jython, not rhino, so your mileage may vary. Johannes Zellner wrote: > > Hi, > > As my ant installation (debian) comes w/o script support, > I've grabbed the latest ant from CVS, fetched bsd from ibm > and rhino from mozilla. > > I tried > > export CLASSPATH="/path/to/rhino1_5R2/src:/path/to/bsf/src" > ./build.sh > > in ant's root directory, but apparently script support didn't > get into 'optional.jar'. > > What should I do for getting script support in ? (js is sufficient) > > Any help much appreciated. > > -- > Johannes > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>