Re: [BSF] Couldn't build bsf project from source

vijayaratha vijayasingam <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.devel
Message-ID <[email protected]>




________________________________
From: sebb <[email protected]>
To: [email protected]
Sent: Wed, 27 April, 2011 17:19:20
Subject: Re: [BSF] Couldn't build bsf project from source

On 27 April 2011 12:43, vijayaratha vijayasingam
<[email protected]> wrote:
> Hi,
> After commenting commented out testing/bsf-engines and commented out 
>bsf-engines
> @ the build.xml of distribution module i was able to build project
> successfully... Anyway i couldnt start my application because im getting class
> not found exception[1]

This error is nothing to do with BSF; you need to download the
appropriate scripting engine.
BSF 3.1 does not include any scripting engines.

> Partial build is not working for my case to debug...
> Without a full success build i can not debug...:(

What Java version are you using?

JDK1.6.0_20

I tried to find a location to down that particular jsr223-engines.zip in google 
and all point to this location "https://scripting.dev.java.net"..
BTW if there is no any other solution from ASF side..I try to debug with BSF 3.1 
and see..
Thanks a lot for your help...

Regards,
-Ratha.

> Regards,
> -Ratha.
>
> [1]
> java.lang.NoClassDefFoundError:
> com/sun/phobos/script/javascript/RhinoScriptEngineFactory
>        at
>org.apache.synapse.mediators.bsf.ScriptMediator.initScriptEngine(ScriptMediator.java:402)
>)
>
>
>        at
>org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:268)
>)
>
>
>
>
>
>
> ________________________________
> From: sebb <[email protected]>
> To: [email protected]
> Sent: Wed, 27 April, 2011 16:51:48
> Subject: Re: [BSF] Couldn't build bsf project from source
>
> On 27 April 2011 12:00, vijayaratha vijayasingam
> <[email protected]> wrote:
>>
>>
>>
>>
>>
>> ________________________________
>> From: sebb <[email protected]>
>> To: [email protected]
>> Sent: Wed, 27 April, 2011 16:21:18
>> Subject: Re: [BSF] Couldn't build bsf project from source
>>
>> On 27 April 2011 11:22, vijayaratha vijayasingam
>> <[email protected]> wrote:
>>> Hi all,
>>> I'm trying to build the bsf project from source (version  3.0.0) .I
> downloaded
>>> the source distribution and tried  to build it.. but  anyway  i'm failing
>>  with
>>> the following issue [1], since 'jsr' site is  unavailable..
>>
>> Not a lot we can do to fix that; it's not an ASF resource.
>>
>>> Would be great if someone look into this issue ASAP.. i'm trying to debug my
>>> project,  for that i need the bsf source..
>>
>> Which is available from the download location as usual.
>>
>> The engines are only needed to test some parts of BSF; just comment
>> out the following lines in the top level pom:
>>
>>        <module>bsf-engines</module>
>> and
>>        <module>testing</module>
>>
>> Hi,
>> Thanks for the response ,
>>  i tried to avoid testing/bsf-engines modules..but distribution needs
>> bsf-engines jar..so couldn't build the project...:(
>
> bsf-engines.jar is NOT needed for the distribution.
>
> However, bsf-utils has a dependency on bsf-engines which needs to be
> commented out as well.
> Not sure why it is a compile-time depend (that may be incorrect)
>
> You will then need to run Maven with -DskipTests otherwise the
> bsf-utils module will fail.
>
> ---------------------------------------------------------------------
> 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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.