pjs/plugin/oji/MRJ/documentation/build-instructions.html

79 строки
2.5 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; U; 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 16.II.2000)</i>
<p>
<hr></center>
<center>
<h3>
In 8ish Easy Steps</h3></center>
<center><font size=-1>(this requires the mac build environment as described
on the <a href="http://www.mozilla.org/build/mac.html">Mozilla Mac Build
Page</a>)</font></center>
<ol>
<li>
Download the latest <a href="ftp://ftp.apple.com/developer/Development_Kits/">MRJ
SDK (MRJ_SDK_2.2 or later)</a>. Run the installer, which should create
a folder at the root of your system volume, called "MRJ SDK 2.2" Copy the
CIncludes and Libraries folders to the "MRJSDK" folder in mozilla/plugin/oji/MRJ.</li>
<ol>
<li>
Copy JManager.h from .../Metrowerks CodeWarrior/Java Support/VM_Support/MRJ_Support/CIncludes
into the above copied CIncludes directory in MRJSDK.</li>
</ol>
<li>
Open the project mozilla/plugin/oji/MRJ/plugin/MRJInABox.mcp.</li>
<ol>
<li>
Build the BackwardAdaptor target.</li>
<li>
To build the plugin for 4.X browsers, build the "MRJInABox (4.X)" target.
To build for 5.X, build the "MRJInABox" target.</li>
</ol>
<li>
Build the project mozilla/js/macbuild/LiveConnectClasses.mcp, and make
an alias to the file liveconnect.jar in mozilla/plugin/oji/MRJ/plugin;
if liveconnect.jar cannot be found in .../js/macbuild/ after the build
is successful, it can be found in .../dist/liveconnect/</li>
<li>
Build the project mozilla/plugin/oji/MRJ/testing/ConsoleApplet.mcp, and
make an alias to the file ConsoleApplet.jar in mozilla/plugin/oji/MRJ/plugin.</li>
<li>
Finally, build the "MRJPlugin.jar" target in MRJInABox.mcp.</li>
<li>
To install the 5.X plugin, find the plugins folder for the debug; it should
be ...dist:viewer_debug:Plugins.&nbsp;&nbsp; Drag both MRJInABox and MRJPlugin.jar
into this folder. To install the 4.X plugin, drag both MRJPlugin and MRJPlugin.jar
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:modgock@eng.sun.com">modgock@eng.sun.com</a></center>
</body>
</html>