зеркало из https://github.com/mozilla/gecko-dev.git
updated build instructions for the new world order.
This commit is contained in:
Родитель
4b64169eb8
Коммит
bc0d7b6dd9
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
<meta name="GENERATOR" content="Mozilla/4.61 (Macintosh; U; PPC) [Netscape]">
|
<meta name="GENERATOR" content="Mozilla/4.61 (Macintosh; I; PPC) [Netscape]">
|
||||||
<title>MRJ Plugin Build Instructions</title>
|
<title>MRJ Plugin Build Instructions</title>
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#C0C0C0" link="#333333" vlink="#FF0000">
|
<body bgcolor="#C0C0C0" link="#333333" vlink="#FF0000">
|
||||||
|
@ -11,68 +11,86 @@
|
||||||
<h2>
|
<h2>
|
||||||
MRJ Plugin Build Instructions</h2></center>
|
MRJ Plugin Build Instructions</h2></center>
|
||||||
|
|
||||||
<center><i>(as of 16.II.2000)</i>
|
<center><i>(as of 2.V.2000)</i>
|
||||||
<p>
|
<p>
|
||||||
<hr></center>
|
<hr></center>
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<h3>
|
<h3>
|
||||||
In 8ish Easy Steps</h3></center>
|
In 6ish or 8ish Easy Steps</h3></center>
|
||||||
|
|
||||||
<center><font size=-1>(this requires the mac build environment as described
|
<center><font size=-1>(this requires the general mac build environment
|
||||||
on the <a href="http://www.mozilla.org/build/mac.html">Mozilla Mac Build
|
as described on the <a href="http://www.mozilla.org/build/mac.html">Mozilla
|
||||||
Page</a>)</font></center>
|
Mac Build Page</a>)</font></center>
|
||||||
|
|
||||||
|
<h4>
|
||||||
|
Mac build environment additions:</h4>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
Download the latest <a href="ftp://ftp.apple.com/developer/Development_Kits/">MRJ
|
In order to keep with the myth that we "don't use ANYTHING relative to
|
||||||
SDK (MRJ_SDK_2.2 or later)</a>. Run the installer, which should create
|
CodeWarrior MPW", copy the <b>StdCLib</b> stubs library from MPW (in CodeWarrior
|
||||||
a folder at the root of your system volume, called "MRJ SDK 2.2" Copy the
|
MPW:Interfaces&Libraries:Libraries:SharedLibraries) to <b>Metrowerks
|
||||||
CIncludes and Libraries folders to the "MRJSDK" folder in mozilla/plugin/oji/MRJ.</li>
|
CodeWarrior:MacOS Support:Universal:Libraries:StubLibraries:</b></li>
|
||||||
|
|
||||||
<ol>
|
|
||||||
<li>
|
<li>
|
||||||
Copy JManager.h from .../Metrowerks CodeWarrior/Java Support/VM_Support/MRJ_Support/CIncludes
|
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
|
||||||
into the above copied CIncludes directory in MRJSDK.</li>
|
SDK (MRJ_SDK_2.2 or later)</a> to <b>Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:</b></li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<li>
|
<h4>
|
||||||
Open the project mozilla/plugin/oji/MRJ/plugin/MRJInABox.mcp.</li>
|
Importing the CW project file:</h4>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
Build the BackwardAdaptor target.</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>
|
<li>
|
||||||
To build the plugin for 4.X browsers, build the "MRJInABox (4.X)" target.
|
Or: from CW file menu, choose "Import Project..." and select the XML file.</li>
|
||||||
To build for 5.X, build the "MRJInABox" target.</li>
|
</ol>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
<h4>
|
||||||
|
Building the plugin:</h4>
|
||||||
|
|
||||||
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
Build the project mozilla/js/macbuild/LiveConnectClasses.mcp, and make
|
Build the <i>MRJPlugin</i> target - this should automatically first build
|
||||||
an alias to the file liveconnect.jar in mozilla/plugin/oji/MRJ/plugin;
|
the <i>BackwardAdaptot</i> target. If it doesn't do this, do it by hand
|
||||||
if liveconnect.jar cannot be found in .../js/macbuild/ after the build
|
by choosing the <i>BackwardAdaptor</i> target and building.</li>
|
||||||
is successful, it can be found in .../dist/liveconnect/</li>
|
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
Build the project mozilla/plugin/oji/MRJ/testing/ConsoleApplet.mcp, and
|
Build the project <b>mozilla:js:macbuild:LiveConnectClasses.mcp</b>, and
|
||||||
make an alias to the file ConsoleApplet.jar in mozilla/plugin/oji/MRJ/plugin.</li>
|
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>
|
<li>
|
||||||
Finally, build the "MRJPlugin.jar" target in MRJInABox.mcp.</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>
|
<li>
|
||||||
To install the 5.X plugin, find the plugins folder for the debug; it should
|
To install the 5.X plugin, find the plugins folder for the debug; it should
|
||||||
be ...dist:viewer_debug:Plugins. Drag both MRJInABox and MRJPlugin.jar
|
be <b>mozilla:dist:viewer_debug:Plugins:</b>. Drag both <b>MRJInABox</b>
|
||||||
into this folder. To install the 4.X plugin, drag both MRJPlugin and MRJPlugin.jar
|
and <b>MRJPlugin.jar</b> into this folder. To install the 4.X plugin, drag
|
||||||
into your "Plug-ins" folder located inside your Netscape Communicator folder.</li>
|
both <b>MRJPlugin</b> and <b>MRJPlugin.jar</b> into your "Plug-ins" folder
|
||||||
|
located inside your Netscape Communicator folder.</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<center>Well that's it. You should now have a working build of the MRJ
|
<center>Well that's it. You should now have a working build of the MRJ
|
||||||
plugin.
|
plugin.
|
||||||
<p>
|
<p>
|
||||||
<hr>
|
<hr>
|
||||||
<p>If you have comments or suggestions, email <a href="mailto:modgock@eng.sun.com">modgock@eng.sun.com</a></center>
|
<p>If you have comments or suggestions, email <a href="mailto:beard@netscape.com">beard@netscape.com</a></center>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче