mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
97 lines
3.0 KiB
HTML
97 lines
3.0 KiB
HTML
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="GENERATOR" content="Mozilla/4.61 (Macintosh; I; PPC) [Netscape]">
|
|
<title>MRJ Plugin Build Instructions</title>
|
|
</head>
|
|
<body bgcolor="#C0C0C0" link="#333333" vlink="#FF0000">
|
|
|
|
<center>
|
|
<h2>
|
|
MRJ Plugin Build Instructions</h2></center>
|
|
|
|
<center><i>(as of 2.V.2000)</i>
|
|
<p>
|
|
<hr></center>
|
|
|
|
<center>
|
|
<h3>
|
|
In 6ish or 8ish Easy Steps</h3></center>
|
|
|
|
<center><font size=-1>(this requires the general mac build environment
|
|
as described on the <a href="http://www.mozilla.org/build/mac.html">Mozilla
|
|
Mac Build Page</a>)</font></center>
|
|
|
|
<h4>
|
|
Mac build environment additions:</h4>
|
|
|
|
<ol>
|
|
<li>
|
|
In order to keep with the myth that we "don't use ANYTHING relative to
|
|
CodeWarrior MPW", copy the <b>StdCLib</b> stubs library from MPW (in CodeWarrior
|
|
MPW:Interfaces&Libraries:Libraries:SharedLibraries) to <b>Metrowerks
|
|
CodeWarrior:MacOS Support:Universal:Libraries:StubLibraries:</b></li>
|
|
|
|
<li>
|
|
Now copy <b>jni.h</b> and <b>jni_md.h</b> from the latest <a href="ftp://ftp.apple.com/developer/Development_Kits/">MRJ
|
|
SDK (MRJ_SDK_2.2 or later)</a> to <b>Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:</b></li>
|
|
</ol>
|
|
|
|
<h4>
|
|
Importing the CW project file:</h4>
|
|
|
|
<ol>
|
|
<li>
|
|
The current project file is stored as an importable XML file named <b>MRJPlugin.xml,</b>
|
|
so you can do one of the following:</li>
|
|
|
|
<ol>
|
|
<li>
|
|
Run the AppleScript file called "MRJPlugin.import", and load the resultant
|
|
CW project file in CodeWarrior</li>
|
|
|
|
<li>
|
|
Or: from CW file menu, choose "Import Project..." and select the XML file.</li>
|
|
</ol>
|
|
</ol>
|
|
|
|
<h4>
|
|
Building the plugin:</h4>
|
|
|
|
<ol>
|
|
<li>
|
|
Build the <i>MRJPlugin</i> target - this should automatically first build
|
|
the <i>BackwardAdaptot</i> target. If it doesn't do this, do it by hand
|
|
by choosing the <i>BackwardAdaptor</i> target and building.</li>
|
|
|
|
<li>
|
|
Build the project <b>mozilla:js:macbuild:LiveConnectClasses.mcp</b>, and
|
|
make an alias to the file <b>liveconnect.jar in mozilla:plugin:oji:MRJ:plugin:</b>;
|
|
if <b>liveconnect.jar</b> cannot be found in <b>mozilla:js:macbuild:</b>
|
|
after the build is successful, it can be found in <b>mozilla:dist:liveconnect:</b></li>
|
|
|
|
<li>
|
|
Build the project <b>mozilla:plugin:oji:MRJ:testing:ConsoleApplet.mcp</b>,
|
|
and make an alias to the file <b>ConsoleApplet.jar</b> in <b>mozilla:plugin:oji:MRJ:plugin:</b>.</li>
|
|
|
|
<li>
|
|
Finally, build the <i>MRJPlugin.jar</i> target</li>
|
|
|
|
<li>
|
|
To install the 5.X plugin, find the plugins folder for the debug; it should
|
|
be <b>mozilla:dist:viewer_debug:Plugins:</b>. Drag both <b>MRJInABox</b>
|
|
and <b>MRJPlugin.jar</b> into this folder. To install the 4.X plugin, drag
|
|
both <b>MRJPlugin</b> and <b>MRJPlugin.jar</b> into your "Plug-ins" folder
|
|
located inside your Netscape Communicator folder.</li>
|
|
</ol>
|
|
|
|
<center>Well that's it. You should now have a working build of the MRJ
|
|
plugin.
|
|
<p>
|
|
<hr>
|
|
<p>If you have comments or suggestions, email <a href="mailto:beard@netscape.com">beard@netscape.com</a></center>
|
|
|
|
</body>
|
|
</html>
|