From 2a08bcb325985e122a64f2b230ff0134ffd83d58 Mon Sep 17 00:00:00 2001 From: "edburns%acm.org" Date: Wed, 6 Nov 2002 07:08:30 +0000 Subject: [PATCH] Make it build on win32. --- java/build.properties.sample | 10 +++++++- java/build.xml | 11 ++++++-- java/webclient/build.xml | 25 +++++++++++++++++-- .../src_moz/win32/Win32BrowserControlCanvas.h | 23 ----------------- 4 files changed, 41 insertions(+), 28 deletions(-) delete mode 100644 java/webclient/src_moz/win32/Win32BrowserControlCanvas.h diff --git a/java/build.properties.sample b/java/build.properties.sample index d04c49c82e8d..e3aeafe06b1d 100644 --- a/java/build.properties.sample +++ b/java/build.properties.sample @@ -1,3 +1,11 @@ -debug.jvm.args=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n +# Uncomment the following to enable attaching the debugger on win32 +#debug.jvm.args=-Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n +# Uncomment the following to enable attaching the debugger on Unix +#debug.jvm.args=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n + +# Uncomment the right one for your system build.unix.classes=true +build.win32.classes=true + +# On win32, make sure to use \\ for \ build.home=/home/edburns/Projects/mozilla/NETSCAPE_7_0_RTM_RELEASE/mozilla/dist/classes diff --git a/java/build.xml b/java/build.xml index 63c9d78641da..72360a08646d 100644 --- a/java/build.xml +++ b/java/build.xml @@ -74,6 +74,10 @@ + + + @@ -93,15 +97,18 @@ failonerror="yes"> + + + - - + diff --git a/java/webclient/build.xml b/java/webclient/build.xml index 7ae613066a26..a97dc3b2342a 100644 --- a/java/webclient/build.xml +++ b/java/webclient/build.xml @@ -94,6 +94,10 @@ + + + @@ -159,8 +163,8 @@ - + @@ -173,11 +177,19 @@ + + + + + + @@ -192,6 +204,10 @@ + + + @@ -199,6 +215,10 @@ + + + @@ -210,6 +230,7 @@ + diff --git a/java/webclient/src_moz/win32/Win32BrowserControlCanvas.h b/java/webclient/src_moz/win32/Win32BrowserControlCanvas.h deleted file mode 100644 index dc11cda432e6..000000000000 --- a/java/webclient/src_moz/win32/Win32BrowserControlCanvas.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class org_mozilla_webclient_wrapper_0005fnative_win32_Win32BrowserControlCanvas */ - -#ifndef _Included_org_mozilla_webclient_wrapper_0005fnative_win32_Win32BrowserControlCanvas -#define _Included_org_mozilla_webclient_wrapper_0005fnative_win32_Win32BrowserControlCanvas -#ifdef __cplusplus -extern "C" { -#endif - -/* - * Class: org_mozilla_webclient_wrapper_0005fnative_win32_Win32BrowserControlCanvas - * Method: getHandleToPeer - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_org_mozilla_webclient_wrapper_1native_win32_Win32BrowserControlCanvas_getHandleToPeer - (JNIEnv *, jobject); - - -#ifdef __cplusplus -} -#endif -#endif