1999-08-04 01:29:49 +04:00
|
|
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
2000-05-03 08:58:30 +04:00
|
|
|
<meta name="GENERATOR" content="Mozilla/4.61 (Macintosh; I; PPC) [Netscape]">
|
1999-08-04 01:29:49 +04:00
|
|
|
<title>MRJ Plugin Build Instructions</title>
|
|
|
|
</head>
|
|
|
|
<body bgcolor="#C0C0C0" link="#333333" vlink="#FF0000">
|
|
|
|
|
|
|
|
<center>
|
|
|
|
<h2>
|
|
|
|
MRJ Plugin Build Instructions</h2></center>
|
|
|
|
|
2000-05-03 08:58:30 +04:00
|
|
|
<center><i>(as of 2.V.2000)</i>
|
1999-08-04 01:29:49 +04:00
|
|
|
<p>
|
|
|
|
<hr></center>
|
|
|
|
|
|
|
|
<center>
|
|
|
|
<h3>
|
2000-05-03 08:58:30 +04:00
|
|
|
In 6ish or 8ish Easy Steps</h3></center>
|
2000-02-17 03:30:40 +03:00
|
|
|
|
2000-05-03 08:58:30 +04:00
|
|
|
<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>
|
1999-08-04 01:29:49 +04:00
|
|
|
|
|
|
|
<ol>
|
|
|
|
<li>
|
2000-05-03 08:58:30 +04:00
|
|
|
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>
|
1999-08-04 01:29:49 +04:00
|
|
|
|
2000-02-23 15:26:08 +03:00
|
|
|
<li>
|
2000-05-03 08:58:30 +04:00
|
|
|
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>
|
2000-02-23 15:26:08 +03:00
|
|
|
</ol>
|
|
|
|
|
2000-05-03 08:58:30 +04:00
|
|
|
<h4>
|
|
|
|
Importing the CW project file:</h4>
|
|
|
|
|
|
|
|
<ol>
|
1999-08-04 01:29:49 +04:00
|
|
|
<li>
|
2000-05-03 08:58:30 +04:00
|
|
|
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>
|
2000-02-17 03:30:40 +03:00
|
|
|
|
|
|
|
<ol>
|
|
|
|
<li>
|
2000-05-03 08:58:30 +04:00
|
|
|
Run the AppleScript file called "MRJPlugin.import", and load the resultant
|
|
|
|
CW project file in CodeWarrior</li>
|
2000-02-17 03:30:40 +03:00
|
|
|
|
|
|
|
<li>
|
2000-05-03 08:58:30 +04:00
|
|
|
Or: from CW file menu, choose "Import Project..." and select the XML file.</li>
|
|
|
|
</ol>
|
2000-02-17 03:30:40 +03:00
|
|
|
</ol>
|
1999-08-04 01:29:49 +04:00
|
|
|
|
2000-05-03 08:58:30 +04:00
|
|
|
<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>
|
|
|
|
|
1999-08-04 01:29:49 +04:00
|
|
|
<li>
|
2000-05-03 08:58:30 +04:00
|
|
|
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>
|
1999-08-04 01:29:49 +04:00
|
|
|
|
|
|
|
<li>
|
2000-05-03 08:58:30 +04:00
|
|
|
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>
|
1999-08-04 01:29:49 +04:00
|
|
|
|
|
|
|
<li>
|
2000-05-03 08:58:30 +04:00
|
|
|
Finally, build the <i>MRJPlugin.jar</i> target</li>
|
1999-08-04 01:29:49 +04:00
|
|
|
|
|
|
|
<li>
|
2000-02-17 03:30:40 +03:00
|
|
|
To install the 5.X plugin, find the plugins folder for the debug; it should
|
2000-05-03 08:58:30 +04:00
|
|
|
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>
|
1999-08-04 01:29:49 +04:00
|
|
|
</ol>
|
|
|
|
|
|
|
|
<center>Well that's it. You should now have a working build of the MRJ
|
|
|
|
plugin.
|
|
|
|
<p>
|
|
|
|
<hr>
|
2000-05-03 08:58:30 +04:00
|
|
|
<p>If you have comments or suggestions, email <a href="mailto:beard@netscape.com">beard@netscape.com</a></center>
|
1999-08-04 01:29:49 +04:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|