1999-08-28 08:39:56 +04:00
|
|
|
Java-Implemented Plug-ins.
|
|
|
|
================================
|
2000-06-04 05:02:44 +04:00
|
|
|
http://www.mozilla.org/projects/blackwood/java-plugins/
|
|
|
|
--------------------------------
|
1999-08-28 08:39:56 +04:00
|
|
|
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.
|
|
|
|
|
|
|
|
========================================================================
|
1999-11-21 02:19:40 +03:00
|
|
|
Win32 Directions:
|
1999-08-28 08:39:56 +04:00
|
|
|
========================================================================
|
|
|
|
Requirements:
|
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
* current mozilla built tree
|
1999-08-28 08:39:56 +04:00
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
* JDK1.3 or JDK1.2 if you are not using OJI
|
1999-08-28 08:39:56 +04:00
|
|
|
|
|
|
|
* Perl 5 perl.exe must be in your path
|
|
|
|
|
|
|
|
How To Build:
|
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
* make sure the environment var JDKHOME is set to your jdk installation
|
|
|
|
directory, ie SET JDKHOME=C:\jdk1.2
|
1999-08-28 08:39:56 +04:00
|
|
|
|
1999-11-16 13:44:25 +03:00
|
|
|
* if you do not have working OJI set OJI_DISABLE to 1
|
1999-11-02 11:07:09 +03:00
|
|
|
(You can do it in your command prompt, or you can set it in
|
1999-11-21 02:19:40 +03:00
|
|
|
mozilla/java/plugins/src/makefile.win).
|
1999-11-02 11:07:09 +03:00
|
|
|
|
1999-08-28 08:39:56 +04:00
|
|
|
* type "nmake /f makefile.win"
|
|
|
|
|
|
|
|
How to Run:
|
|
|
|
|
|
|
|
* Add following directories to to your path:
|
1999-09-17 22:41:34 +04:00
|
|
|
%MOZILLA_FIVE_HOME%
|
2001-05-09 05:29:06 +04:00
|
|
|
In case OJI_DISABLE add %JDKHOME%\jre\bin\client to your path
|
1999-08-28 08:39:56 +04:00
|
|
|
|
1999-11-02 11:07:09 +03:00
|
|
|
* Copy class files from mozilla/dist/classes to your JRE/lib/ext directory and
|
|
|
|
add JRE/lib/ext to your classpath
|
|
|
|
|
1999-08-28 08:39:56 +04:00
|
|
|
How to build and run test
|
|
|
|
* go to the test directory and type "nmake /f makefile.win"
|
|
|
|
|
|
|
|
* Set PLUGLET environment to the directory you have test.jar
|
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
* Run mozilla and load page test.html from test directory and if everething is ok you will see
|
|
|
|
some awt demo.
|
1999-08-28 08:39:56 +04:00
|
|
|
|
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
=========================================================================
|
|
|
|
Unix (Sparc Solaris and i386 Linux) Directions:
|
|
|
|
=========================================================================
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
|
|
|
* current mozilla built tree
|
|
|
|
|
2000-11-03 02:33:21 +03:00
|
|
|
* JDK1.3
|
1999-11-21 02:19:40 +03:00
|
|
|
|
|
|
|
* Perl 5 must be in your path
|
|
|
|
|
|
|
|
How To Build:
|
|
|
|
|
|
|
|
* make sure the environment var JDKHOME is set to your jdk installation
|
2000-11-03 02:33:21 +03:00
|
|
|
directory, ie export JDKHOME=/usr/local/jdk1.3
|
1999-11-21 02:19:40 +03:00
|
|
|
|
|
|
|
* Add following directories to to your LD_LIBRARY_PATH:
|
|
|
|
|
2001-05-09 05:29:06 +04:00
|
|
|
$MOZILLA_FIVE_HOME:$JDKHOME/jre/lib/$HOSTTYPE/native_threads:$JDKHOME/jre/lib/$HOSTTYPE/client:
|
1999-11-21 02:19:40 +03:00
|
|
|
$JDKHOME/jre/lib/$HOSTTYPE/:
|
|
|
|
|
|
|
|
* type "gmake"
|
|
|
|
|
|
|
|
How to Run:
|
|
|
|
|
|
|
|
* Add $MOZILLA_FILE_HOME/../classes to your CLASSPATH
|
|
|
|
|
|
|
|
How to build and run test
|
2000-11-03 02:33:21 +03:00
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
* go to the test directory and type "gmake"
|
2000-11-03 02:33:21 +03:00
|
|
|
test.jar will be placed in mozilla/dist/bin/plugins directory
|
1999-11-21 02:19:40 +03:00
|
|
|
|
2001-05-09 05:29:06 +04:00
|
|
|
* set LD_PRELOAD to libXm.so (to libawt.so on linux platform)
|
1999-11-21 02:19:40 +03:00
|
|
|
|
2000-11-03 02:33:21 +03:00
|
|
|
* Run mozilla and load page resource:///res/javadev/pluglets/test.html and if everething is ok you will see some awt demo.
|
1999-11-21 02:19:40 +03:00
|
|
|
|
|
|
|
|
|
|
|
========================================================================
|
|
|
|
|
|
|
|
Problems:
|
1999-08-28 08:39:56 +04:00
|
|
|
|
|
|
|
* post to netscape.public.mozilla.java newsgroup
|
|
|
|
|
|
|
|
|
|
|
|
|
2000-11-03 02:33:21 +03:00
|
|
|
|
|
|
|
|
2007-09-09 04:53:45 +04:00
|
|
|
http://osdir.com/ml/mozilla.devel.plugins/2006-10/msg00005.html
|
|
|
|
|
|
|
|
http://groups.google.com/group/mozilla.dev.tech.plugins/browse_thread/thread/97273492c25e4005/2819ed9a111ad17b?lnk=gst&q=edburns&rnum=3#2819ed9a111ad17b
|
|
|
|
|
|
|
|
http://bellsouthpwp.net/e/d/edburns00/ed/plugletStatus.html
|
|
|
|
|
|
|
|
TD> Hello Ed,
|
|
|
|
TD> Sorry to say but there remained something wrong.
|
|
|
|
|
|
|
|
TD> The installation and the building of the project was easy.
|
|
|
|
TD> Firefox is started nicely when running the project,
|
|
|
|
TD> and the ...examples/index.html was displayed.
|
|
|
|
|
|
|
|
TD> But none of the two examples seem to work, only blank pages are sho=
|
|
|
|
wn.
|
|
|
|
TD> (The HTML sources do contain the code we expect i.e. the navigation=
|
|
|
|
from the
|
|
|
|
TD> index.html to the examples works of course.)
|
|
|
|
|
|
|
|
TD> A looked to about:plugins, nppluglet is enabled.
|
|
|
|
TD> I checked prefs.js it contains the following lines (among other one=
|
|
|
|
s):
|
|
|
|
TD> user_pref("plugin.allow_alien_star_handler", true);
|
|
|
|
TD> user_pref("plugin.default_plugin_disabled", false);
|
|
|
|
TD> user_pref("plugin.override_internal_types", true);
|
|
|
|
|
|
|
|
TD> I do not know what the problem is.
|
|
|
|
|
|
|
|
Can you please remove your "Documents and Settings/<USERID>/Application=
|
|
|
|
|
|
|
|
Data/Mozilla" directory, start the browser, stop the browser, re-edit
|
|
|
|
the prefs.js, and try again?
|
|
|
|
|
|
|
|
Ed
|
|
|
|
|
|
|
|
also remove pluginreg.dat
|
2007-09-11 01:52:36 +04:00
|
|
|
|
|
|
|
in C:\Projects\chaff\pluglet-1-1-a1\
|
|
|
|
|
|
|
|
find netbeans -name private -prune -o -type f -exec cp {} "/cygdrive/c/Projects/mozilla/MOZILLA_NIH/FIREFOX_2_0_0_3_RELEASE/mozilla/java/plugins/dist/{}" ;
|
2007-09-12 18:59:22 +04:00
|
|
|
|
|
|
|
|
|
|
|
Compiled from "Concat.java"
|
|
|
|
public class org.apache.tools.ant.taskdefs.Concat extends org.apache.tools.ant.Task{
|
|
|
|
public org.apache.tools.ant.taskdefs.Concat();
|
|
|
|
Signature: ()V
|
|
|
|
public void setDestfile(java.io.File);
|
|
|
|
Signature: (Ljava/io/File;)V
|
|
|
|
public void setAppend(boolean);
|
|
|
|
Signature: (Z)V
|
|
|
|
public void setEncoding(java.lang.String);
|
|
|
|
Signature: (Ljava/lang/String;)V
|
|
|
|
public void setOutputEncoding(java.lang.String);
|
|
|
|
Signature: (Ljava/lang/String;)V
|
|
|
|
public void setForce(boolean);
|
|
|
|
Signature: (Z)V
|
|
|
|
public org.apache.tools.ant.types.Path createPath();
|
|
|
|
Signature: ()Lorg/apache/tools/ant/types/Path;
|
|
|
|
public void addFileset(org.apache.tools.ant.types.FileSet);
|
|
|
|
Signature: (Lorg/apache/tools/ant/types/FileSet;)V
|
|
|
|
public void addFilelist(org.apache.tools.ant.types.FileList);
|
|
|
|
Signature: (Lorg/apache/tools/ant/types/FileList;)V
|
|
|
|
public void addFilterChain(org.apache.tools.ant.types.FilterChain);
|
|
|
|
Signature: (Lorg/apache/tools/ant/types/FilterChain;)V
|
|
|
|
public void addText(java.lang.String);
|
|
|
|
Signature: (Ljava/lang/String;)V
|
|
|
|
public void addHeader(org.apache.tools.ant.taskdefs.Concat$TextElement);
|
|
|
|
Signature: (Lorg/apache/tools/ant/taskdefs/Concat$TextElement;)V
|
|
|
|
public void addFooter(org.apache.tools.ant.taskdefs.Concat$TextElement);
|
|
|
|
Signature: (Lorg/apache/tools/ant/taskdefs/Concat$TextElement;)V
|
|
|
|
public void setFixLastLine(boolean);
|
|
|
|
Signature: (Z)V
|
|
|
|
public void setEol(org.apache.tools.ant.taskdefs.FixCRLF$CrLf);
|
|
|
|
Signature: (Lorg/apache/tools/ant/taskdefs/FixCRLF$CrLf;)V
|
|
|
|
public void setWriter(java.io.Writer);
|
|
|
|
Signature: (Ljava/io/Writer;)V
|
|
|
|
public void setBinary(boolean);
|
|
|
|
Signature: (Z)V
|
|
|
|
public void execute();
|
|
|
|
Signature: ()V
|
|
|
|
public void reset();
|
|
|
|
Signature: ()V
|
|
|
|
static org.apache.tools.ant.util.FileUtils access$200();
|
|
|
|
Signature: ()Lorg/apache/tools/ant/util/FileUtils;
|
|
|
|
static java.lang.String access$300(org.apache.tools.ant.taskdefs.Concat);
|
|
|
|
Signature: (Lorg/apache/tools/ant/taskdefs/Concat;)Ljava/lang/String;
|
|
|
|
static java.util.Vector access$400(org.apache.tools.ant.taskdefs.Concat);
|
|
|
|
Signature: (Lorg/apache/tools/ant/taskdefs/Concat;)Ljava/util/Vector;
|
|
|
|
static java.lang.String access$500(org.apache.tools.ant.taskdefs.Concat);
|
|
|
|
Signature: (Lorg/apache/tools/ant/taskdefs/Concat;)Ljava/lang/String;
|
|
|
|
static boolean access$600(org.apache.tools.ant.taskdefs.Concat);
|
|
|
|
Signature: (Lorg/apache/tools/ant/taskdefs/Concat;)Z
|
|
|
|
static {};
|
|
|
|
Signature: ()V
|
|
|
|
}
|
|
|
|
|
|
|
|
javap
|
|
|
|
C:\PROGRA~1\netbeans-5.5.1>
|
|
|
|
|