Rhino on bsd-port/osx-port OpenJDK 7

Damien Raude-Morvan drazzib at drazzib.com
Tue Aug 23 06:56:38 PDT 2011


Hi Henri,

On Tue, 23 Aug 2011 15:49:23 +0200, Henri Gomez <henri.gomez at gmail.com>
wrote:
>> Like some other open source components (VisualVM, for example), they
>> are not included in the OpenJDK source code. If you need them, you
>> can get them from their upstream.
> 
> Yep so there is specific builds or steps to add/inject them in BDS/OSX
> packages ?
> Did the build/packages phases source or phases description for Linux /
> Solaris, as bundled by Oracle are available somewhere ?

I think you can check what's achieved by Icedtea build harness project.
Icedtea include some tool to "rewrite" class from an existing rhino.jar
to sun.org.mozilla package for bundling into OpenJDK distribution.

You can have a look to call to com.redhat.rewriter.ClassRewriter :
http://icedtea.classpath.org/hg/icedtea7/file/8ac25d11a9e5/Makefile.am#l2036

ClassRewriter source code is here (under AGPL-3.0) :
http://icedtea.classpath.org/hg/icedtea7/file/8ac25d11a9e5/rewriter

Hope this help.

Cheers,
-- 
Damien



More information about the bsd-port-dev mailing list