Merged branch JAVADEV_PR3_20001002 into trunk.

git-svn-id: svn://10.0.0.236/trunk@82247 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2000-11-02 23:33:21 +00:00
parent 19a05b26cb
commit aee4ebbf93
71 changed files with 1537 additions and 521 deletions

View File

@@ -0,0 +1,35 @@
#!gmake
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS= \
zip \
rtf \
dom \
demo \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -18,14 +18,9 @@
#
# Contributor(s):
DEPTH= ../../../..
JView.jar: JView.class manifest
$(JDKHOME)/bin/jar cvfm JView.jar manifest *.class
PLUGLET=JMPlayer
CLASSES=JMPlayer.class
.SUFFIXES: .java .class
.java.class:
$(JDKHOME)/bin/javac -classpath ../classes:$(CLASSPATH) $<
clobber:
rm *.class *.jar
install:
cp *.jar $(PLUGLET)
include ../../config/rules.mk

View File

@@ -18,14 +18,11 @@
#
# Contributor(s):
DEPTH= ../../../..
ZipView.jar: ZipView.class manifest
$(JDKHOME)/bin/jar cvfm ZipView.jar manifest *.class
HTML=index.html
.SUFFIXES: .java .class
.java.class:
$(JDKHOME)/bin/javac -classpath ../classes:$(CLASSPATH) $<
clobber:
rm *.class *.jar
install:
cp *.jar $(PLUGLET)
include ../../config/rules.mk
export:
cp pluglet_run.sh $(DEPTH)/bin

View File

@@ -0,0 +1,12 @@
<html>
<title>
Pluglets demo
</title>
<body>
<ul>
<li> <a href="test.html" target="new"> Test plulets </a>
<li> <a href="dom.html" target="new"> DOM viewer plulets </a>
<li> <a href="zip.html" target="new"> Zip viewer plulets </a>
</ul>
</body>
</thml>

View File

@@ -0,0 +1,4 @@
#!/bin/sh
LD_PRELOAD=libXm.so
export LD_PRELOAD
./mozilla resource:///res/javadev/pluglets/index.html

View File

@@ -1,31 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
DOMViewer.jar: DOMViewerFactory.class DOMAccessPanel.class DOMTreeDumper.class manifest
$(JDKHOME)/bin/jar cvfm DOMViewer.jar manifest *.class
.SUFFIXES: .java .class
.java.class:
$(JDKHOME)/bin/javac -classpath .:../../classes:$(CLASSPATH):JavaDOM.jar $<
clobber:
rm *.class *.jar
install:
cp *.jar $(PLUGLET)

View File

@@ -18,14 +18,13 @@
#
# Contributor(s):
DEPTH= ../../../..
PLUGLET=DOMViewer
CLASSES=DOMViewerFactory.class DOMAccessPanel.class DOMTreeDumper.class
HTML=dom.html
include ../../config/rules.mk
PDFView.jar: PDFView.class manifest
$(JDKHOME)/bin/jar cvfm PDFView.jar manifest *.class
.SUFFIXES: .java .class
.java.class:
$(JDKHOME)/bin/javac -classpath ../classes:$(CLASSPATH) $<
clobber:
rm *.class *.jar
install:
cp *.jar $(PLUGLET)

View File

@@ -18,14 +18,9 @@
#
# Contributor(s):
DEPTH= ../../../..
JMPlayer.jar: JMPlayer.class manifest
$(JDKHOME)/bin/jar cvfm JMPlayer.jar manifest *.class
PLUGLET=PDFView.jar
CLASSES=PDFView.class
.SUFFIXES: .java .class
.java.class:
$(JDKHOME)/bin/javac -classpath ../classes:$(CLASSPATH) $<
clobber:
rm *.class *.jar
install:
cp *.jar $(PLUGLET)
include ../../config/rules.mk

View File

@@ -0,0 +1,26 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
DEPTH= ../../../..
PLUGLET=JView
CLASSES=JView.class
include ../../config/rules.mk

View File

@@ -0,0 +1,34 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
DEPTH= ../../../..
PLUGLET=ZipView
CLASSES=ZipView.class
MISC=ZipView.jar
HTML=zip.html
include ../../config/rules.mk