Re: [BSF] Couldn't build bsf project from source
vijayaratha vijayasingam <[email protected]>
| Newsgroups | gmane.comp.jakarta.cactus.devel |
|---|---|
| Message-ID | <[email protected]> |
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]
Partial build is not working for my case to debug...
Without a full success build i can not debug...:(
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]