|
Re: BIRT 2.6.1 Rhino java script support Question [message #666433 is a reply to message #666401] |
Wed, 20 April 2011 13:07   |
|
This is correct. The packaging for Rhino changed a bit. Same classes
are still available though.
Jason
On 4/20/2011 6:36 AM, Anthony Farrell wrote:
> I see that in the BIRT Runtime 2.6.0, (WebViewerExample), there is a
> folder named "org.mozilla.rhino_1.7.1.v20090608" within the plugins
> folder , a file js.jar exists with the rhino folder.
>
>
>
> The BIRT 2.6.1 runtime does not have a org.mozilla.rhino_1.7.1.v20090608
> plugin folder instead the only rhino based file I can see is
> org.mozilla.javascript_1.7.2.v201005080400.jar
>
>
> Is this correct, is the rhino plug missing or is the 2.6.1 runtime
> configuration correct ?
> Has anyone upgrade to 2.6.1 with out issues ?
|
|
|
|
|
|
|
|
Re: BIRT 2.6.1 Rhino java script support Question [message #905126 is a reply to message #904964] |
Wed, 29 August 2012 18:39   |
|
Anthony
If you try option 3, I would use the POJO runtime with BIRT 3.7 or
greater. You could just try replacing the js.jar.
Jason
On 8/29/2012 9:31 AM, Anthony Farrell wrote:
> One final question on this, during a compliance review of the BIRT
> technolog stack within our application, there has been some questions on
> the use of Rhino Javascript jar file,
> org.mozilla.javascript_1.7.2.v201005080400.jar is the jar shipped with
> BIRT 2.6.1 I believe. There are some parts of this jar file that pose a
> problem for us.
>
> I have a couple of questions, we are currently using BIRT 2.6.1
> 1) As Rhino is shipped with Java 6, could we configure BIRT 2.6.1 to
> use the Rhino engine that ships with Java (as BIRT uses OSGi would this
> be is it possible?)
>
> 2) Is it possilbe to upgrade to a newer version of BIRT that does not
> rely on Rhino or does not rely on the version that ships with BIRT?
>
> 3) Could we overwrite the mozilla jar file above with a compliant Rhino
> jar file that we have access to, a version from the IBM Java 6 release.
> This is something that we can test I guess, but even if we found no
> issues would it be safe to do?
>
> Apologies for the odd questions.
> Anthony.
>
|
|
|
|
Re: BIRT 2.6.1 Rhino java script support Question [message #905585 is a reply to message #905314] |
Thu, 30 August 2012 17:25  |
|
Anthony
I have not tested this, but the js.jar in the POJO runtime is rhino.
What are the packages in the js.jar in your jdk?
Jason
On 8/30/2012 2:38 AM, Anthony Farrell wrote:
> Thanks Jason, Just to clarify, I will copy the js.jar from the IBM Java
> version into the BIRT runtime and test, in your opinion is this safe,
> could it lead to problems or issues over time?
> Are you also saying that BIRT 3.7 or higher does not contain the Rhino
> engine ? it uses the Javascript engine that ships with Java?
|
|
|
Powered by
FUDForum. Page generated in 0.01888 seconds