Did you add BSF and it's required jar files as <dependencies> in your 
project.xml?
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


"Dominic Sisneros" <[EMAIL PROTECTED]> wrote on 19/02/2003 05:04:44 PM:

> Does anyone know how to use bsf with Maven.  Specifically, I want to use
> jython
> 
> Example maven
> 
> <project
>    xmlns:j="jelly:core"
>    xmlns:m="jelly:maven"
>    xmlns:b="jelly:bsf">
> 
> j:set var="foo.bar" value="hello"/>
> 
> 
> 
> 
> <goal name="mytest">
> <b:jython><![CDATA[
> print "hello world"
> context.setVariable("foo.bar", "worked");
> </b:jython>
> 
> <echo>${foo.bar}</echo>
> </goal>
> 
> ------------
> 
> outputs
> mytest:
> <jython:jython>print "foo.bar"
>    context.setVariable("foo.bar","worked");</jython:jython>  [echo] 
hello
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
[EMAIL PROTECTED]
> For additional commands, e-mail: 
[EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to