diff --git a/plugin/oji/MRJ/documentation/build-instructions.html b/plugin/oji/MRJ/documentation/build-instructions.html index eb4338a088d3..a171ea3752ca 100644 --- a/plugin/oji/MRJ/documentation/build-instructions.html +++ b/plugin/oji/MRJ/documentation/build-instructions.html @@ -2,7 +2,7 @@ - + MRJ Plugin Build Instructions @@ -11,68 +11,86 @@

MRJ Plugin Build Instructions

-
(as of 16.II.2000) +
(as of 2.V.2000)


-In 8ish Easy Steps

+In 6ish or 8ish Easy Steps
-
(this requires the mac build environment as described -on the Mozilla Mac Build -Page)
+
(this requires the general mac build environment +as described on the Mozilla +Mac Build Page)
+ +

+Mac build environment additions:

  1. -Download the latest MRJ -SDK (MRJ_SDK_2.2 or later). 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.
  2. +In order to keep with the myth that we "don't use ANYTHING relative to +CodeWarrior MPW", copy the StdCLib stubs library from MPW (in CodeWarrior +MPW:Interfaces&Libraries:Libraries:SharedLibraries) to Metrowerks +CodeWarrior:MacOS Support:Universal:Libraries:StubLibraries: -
    1. -Copy JManager.h from .../Metrowerks CodeWarrior/Java Support/VM_Support/MRJ_Support/CIncludes -into the above copied CIncludes directory in MRJSDK.
    2. +Now copy jni.h and jni_md.h from the latest MRJ +SDK (MRJ_SDK_2.2 or later) to Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:
    -
  3. -Open the project mozilla/plugin/oji/MRJ/plugin/MRJInABox.mcp.
  4. +

    +Importing the CW project file:

    1. -Build the BackwardAdaptor target.
    2. +The current project file is stored as an importable XML file named MRJPlugin.xml, +so you can do one of the following: + +
        +
      1. +Run the AppleScript file called "MRJPlugin.import", and load the resultant +CW project file in CodeWarrior
      2. -To build the plugin for 4.X browsers, build the "MRJInABox (4.X)" target. -To build for 5.X, build the "MRJInABox" target.
      3. +Or: from CW file menu, choose "Import Project..." and select the XML file. +
    +

    +Building the plugin:

    + +
    1. -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/
    2. +Build the MRJPlugin target - this should automatically first build +the BackwardAdaptot target. If it doesn't do this, do it by hand +by choosing the BackwardAdaptor target and building.
    3. -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.
    4. +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 mozilla:js:macbuild: +after the build is successful, it can be found in mozilla:dist:liveconnect:
    5. -Finally, build the "MRJPlugin.jar" target in MRJInABox.mcp.
    6. +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:. + +
    7. +Finally, build the MRJPlugin.jar target
    8. 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 -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.
    9. +be mozilla:dist:viewer_debug:Plugins:.   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.
    Well that's it. You should now have a working build of the MRJ plugin.


    -

    If you have comments or suggestions, email modgock@eng.sun.com

    +

    If you have comments or suggestions, email beard@netscape.com