gecko-dev/java/plugins
idk%eng.sun.com a1e921bd32 Moved to OJI.
Added  AWT support.
Added some classes
1999-09-17 18:41:34 +00:00
..
classes Moved to OJI. 1999-09-17 18:41:34 +00:00
jni Moved to OJI. 1999-09-17 18:41:34 +00:00
src Moved to OJI. 1999-09-17 18:41:34 +00:00
test Moved to OJI. 1999-09-17 18:41:34 +00:00
java.zip Moved to OJI. 1999-09-17 18:41:34 +00:00
makefile.win Initial pluglets checkin. 1999-08-28 04:39:56 +00:00
nsPluginHostImpl.patch Moved to OJI. 1999-09-17 18:41:34 +00:00
README Moved to OJI. 1999-09-17 18:41:34 +00:00

Java-Implemented Plug-ins.
================================

This directory contains the beginnings of the Java-Implemented plug-uns.

The sources is divided into four directories

	classes
	       Java source files
	src 
	       Native code (c++/c)
	jni
	       Implamentations of java native methods
	test
	       Test code, including simple pluglet.

========================================================================
Win32 Build Directions:
========================================================================
Requirements:

* built M8 mozilla tree for WinNT4.0

* JDK1.3

* Perl 5 perl.exe must be in your path

How To Build:

* Follow the directions in ..\README

* type "nmake /f makefile.win"

* apply the patch to mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp
  by executing : patch nsPluginHostImpl.cpp  < nsPluginHostImpl.patch
  and execute "nmake /f makefile.win" inside mozilla/modules/plugin/nglsrc
  directory


How to Run:

* Add following directories to to your path:
  %MOZILLA_FIVE_HOME%

How to build and run test
* go to the test directory and type "nmake /f makefile.win"

* add context of java.zip to JRE\1.3\lib\rt.jar (this is a hack. It would be 
  removed soon)		

* Set PLUGLET environment to the  directory you have test.jar

* Run appletviewer and load page test.html from test directory and if evething is ok you will see
  some output from the test pluglet on the stdout.

Problems:

* clobber_all doesn't remove the .class files from dist\classes.  You
  have to do this manually.

* post to netscape.public.mozilla.java newsgroup