ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: Script and BeanShell
Date Fri, 17 May 2002 04:01:35 GMT
I think there is an issue. I had a discussion with Pat a while ago and 
you need to explicitly register BeanShell in the script task. This will 
need a change to the script task. Perhaps we need a nested element to 
allow you to register an aribtrary scripting language.

Conor


Erik Hatcher wrote:
> You should simply be able to say:
> 
>     <script langugage="beanshell">.... </script>
> 
> I believe.  Whatever language name is associate with BeanShell scripts with
> BSF is the one to use. I don't know if you need to have a newer version of
> BSF or not, but looks like you need the BeanShell/BSF adapter:
> http://www.beanshell.org/download.html - probably if you toss them all in
> ANT_HOME/lib it'll work!
> 
>     Erik
> 
> 
> ----- Original Message -----
> From: "Doyle, Jim" <jdoyle@iso-ne.com>
> To: <ant-user@jakarta.apache.org>
> Sent: Thursday, May 16, 2002 3:42 PM
> Subject: Re: Script and BeanShell
> 
> 
> 
>>Hi,
>>
>>I'm interested in using the script task to run beanshell as well.
>>It looks like BSF support was added to beanshell around version 1.2b1.
>>Once a language supports BSF, how can one integrate it into the
>>Script task?
>>
>>Jim
>>jdoyle@iso-ne.com
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>>
>>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
> 
> 
> 



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


Mime
View raw message