Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

is there a way to determine the Rhino version?

201 views
Skip to first unread message

Merten Schumann

unread,
Aug 30, 2006, 8:52:07 AM8/30/06
to dev-tech-...@lists.mozilla.org
Hello,

I've just searched Rhino classes, if there is the possibility to
programatically find out the Rhino release number, e.g., 1.6R2 1.6R3 ...
Is there such a built-in possibility?

Thanx
Merten

Martin Honnen

unread,
Aug 30, 2006, 9:18:25 AM8/30/06
to
Merten Schumann wrote:

You can call getImplementationVersion() on a Context instance and it
gives a string with e.g.
Rhino 1.6 release 2 2005 09 19
or e.g.
Rhino 1.6 release 1 2004 11 30

<http://www.mozilla.org/rhino/apidocs/org/mozilla/javascript/Context.html#getImplementationVersion()>

--

Martin Honnen
http://JavaScript.FAQTs.com/

Merten Schumann

unread,
Aug 30, 2006, 9:44:55 AM8/30/06
to dev-tech-...@lists.mozilla.org

would be nice to have it in a static way, anyway, it seems it has been
available in older versions of Rhino what is important for me
THAT'S IT, thank you :-)
Merten

Attila Szegedi

unread,
Aug 31, 2006, 5:01:42 AM8/31/06
to dev-tech-...@lists.mozilla.org
Context has a getImplementationVersion() method.

Attila.

0 new messages