diff --git a/mozilla/java/build.properties.sample b/mozilla/java/build.properties.sample
new file mode 100644
index 00000000000..fa2441ffb1f
--- /dev/null
+++ b/mozilla/java/build.properties.sample
@@ -0,0 +1 @@
+build.unix.classes=true
diff --git a/mozilla/java/webclient/build.xml b/mozilla/java/webclient/build.xml
new file mode 100644
index 00000000000..12a75edb731
--- /dev/null
+++ b/mozilla/java/webclient/build.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
* There is one instance of the WebShellCanvas per top level awt Frame. - * @version $Id: MotifBrowserControlCanvas.java,v 1.4 2001-06-01 17:11:30 ashuk%eng.sun.com Exp $ + * @version $Id: GtkBrowserControlCanvas.java,v 1.1 2002-09-18 18:25:23 edburns%acm.org Exp $ * * @see org.mozilla.webclient.BrowserControlCanvasFactory * @@ -51,14 +51,14 @@ import org.mozilla.webclient.*; import org.mozilla.webclient.wrapper_native.*; /** - * MotifBrowserControlCanvas provides a concrete realization + * GtkBrowserControlCanvas provides a concrete realization * of the RaptorCanvas. */ -public class MotifBrowserControlCanvas extends BrowserControlCanvas /* implements ActionListener*/ { +public class GtkBrowserControlCanvas extends BrowserControlCanvas /* implements ActionListener*/ { static { System.loadLibrary("webclientstub"); - MotifBrowserControlCanvas.loadMainDll(); + GtkBrowserControlCanvas.loadMainDll(); } static private boolean firstTime = true; @@ -79,7 +79,7 @@ public class MotifBrowserControlCanvas extends BrowserControlCanvas /* implement //New method for obtaining access to the Native Peer handle private native int getHandleToPeer(); - public MotifBrowserControlCanvas() { + public GtkBrowserControlCanvas() { super(); this.gtkWinID = 0; diff --git a/mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/motif/README b/mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/motif/README new file mode 100644 index 00000000000..62dcfe9e4a4 --- /dev/null +++ b/mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/motif/README @@ -0,0 +1 @@ +All classes in this directory have been cvs removed. See ../gtk. diff --git a/mozilla/java/webclient/src_moz/Makefile.in b/mozilla/java/webclient/src_moz/Makefile.in index c2969703208..c5961893d00 100644 --- a/mozilla/java/webclient/src_moz/Makefile.in +++ b/mozilla/java/webclient/src_moz/Makefile.in @@ -90,35 +90,6 @@ REQUIRES = xpcom \ $(NULL) CPPSRCS = \ - ns_util.cpp \ - ns_util_export.cpp \ - dom_util.cpp \ - nsActions.cpp \ - rdf_util.cpp \ - BookmarksImpl.cpp \ - CBrowserContainer.cpp \ - PromptActionEvents.cpp \ - CurrentPageImpl.cpp \ - CurrentPageActionEvents.cpp \ - HistoryImpl.cpp \ - HistoryActionEvents.cpp \ - ISupportsPeer.cpp \ - NativeEventThread.cpp \ - NativeEventThreadActionEvents.cpp \ - NavigationImpl.cpp \ - NavigationActionEvents.cpp \ - InputStreamShim.cpp \ - RDFEnumeration.cpp \ - RDFTreeNode.cpp \ - RDFActionEvents.cpp \ - wsRDFObserver.cpp \ - WindowControlImpl.cpp \ - WindowControlActionEvents.cpp \ - PreferencesImpl.cpp \ - PreferencesActionEvents.cpp \ - WrapperFactoryImpl.cpp \ - motif/MotifBrowserControlCanvas.cpp \ - motif/gtkmozilla.cpp \ $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/mozilla/java/webclient/src_share/Makefile.in b/mozilla/java/webclient/src_share/Makefile.in index 33b61dcca23..64166a32b92 100644 --- a/mozilla/java/webclient/src_share/Makefile.in +++ b/mozilla/java/webclient/src_share/Makefile.in @@ -22,8 +22,6 @@ topsrcdir = $(DEPTH) srcdir = $(topsrcdir)/java/webclient/src_share VPATH = $(topsrcdir)/java/webclient/src_share -JAVAHOME = $(JDKHOME) - include $(DEPTH)/config/autoconf.mk MODULE = webclient @@ -61,44 +59,3 @@ endif endif -JAVAH_CLS= \ - "-o BookmarksImpl.h org.mozilla.webclient.wrapper_native.BookmarksImpl" \ - "-o PreferencesImpl.h org.mozilla.webclient.wrapper_native.PreferencesImpl" \ - "-o CurrentPageImpl.h org.mozilla.webclient.wrapper_native.CurrentPageImpl" \ - "-o HistoryImpl.h org.mozilla.webclient.wrapper_native.HistoryImpl" \ - "-o WrapperFactoryImpl.h org.mozilla.webclient.wrapper_native.WrapperFactoryImpl" \ - "-o NavigationImpl.h org.mozilla.webclient.wrapper_native.NavigationImpl" \ - "-o RDFEnumeration.h org.mozilla.webclient.wrapper_native.RDFEnumeration" \ - "-o RDFTreeNode.h org.mozilla.webclient.wrapper_native.RDFTreeNode" \ - "-o ISupportsPeer.h org.mozilla.webclient.wrapper_native.ISupportsPeer" \ - "-o WindowControlImpl.h org.mozilla.webclient.wrapper_native.WindowControlImpl" \ - "-o NativeEventThread.h org.mozilla.webclient.wrapper_native.NativeEventThread" \ - $(NULL) - -JAVAH_FILES=\ - BookmarksImpl.h \ - PreferencesImpl.h \ - CurrentPageImpl.h \ - HistoryImpl.h \ - WrapperFactoryImpl.h \ - NavigationImpl.h \ - RDFEnumeration.h \ - RDFTreeNode.h \ - ISupportsPeer.h \ - WindowControlImpl.h \ - NativeEventThread.h \ - $(NULL) - -JAVAH_PROG=$(JDKHOME)/bin/javah -JAVAH_FLAGS=-jni -classpath $(CLASSPATH):$(JAVA_DESTPATH) - -export:: $(JAVAH_FILES) - -$(JAVAH_FILES): - @for c in $(JAVAH_CLS); do \ - echo $(JAVAH_PROG) $(JAVAH_FLAGS) $$c; \ - $(JAVAH_PROG) $(JAVAH_FLAGS) $$c; \ - done - -clobber_all:: - rm -f $(JAVAH_FILES)