diff --git a/java/dom/src/Makefile.in b/java/dom/src/Makefile.in index dbd4365e19e1..ea64dc320039 100644 --- a/java/dom/src/Makefile.in +++ b/java/dom/src/Makefile.in @@ -62,7 +62,8 @@ ifeq ($(OS_ARCH),Darwin) INCLUDES += -I$(MOZ_JDKHOME)/include -I. DSO_LDOPTS += -L/System/Library/Frameworks/JavaVM.Framework/Libraries -ljvm_compat DLL_SUFFIX = .jnilib -else +endif #DARWIN + ifeq ($(OS_ARCH),Linux) INCLUDES += -I$(JAVAHOME)/include -I$(JAVAHOME)/include/linux DSO_LDOPTS += \ @@ -74,12 +75,14 @@ ifeq ($(OS_ARCH),Linux) -Xlinker -rpath $(JAVAHOME)/jre/lib/i386/native_threads \ -ljvm -lhpi DEFINES += -DDISABLE_JIT +endif # LINUX ifeq ($(OS_ARCH),WINNT) INCLUDES += -I$(JAVAHOME)/include -I$(JAVAHOME)/include/win32 EXTRA_LIBS += \ $(JAVAHOME)/lib/jvm.lib \ $(NULL) -else +endif # WINNT +ifeq (($OS_ARCH),SunOS) INCLUDES += -I$(JAVAHOME)/include -I$(JAVAHOME)/include/solaris DSO_LDOPTS += \ -L$(JAVAHOME)/jre/lib/sparc \ @@ -90,10 +93,8 @@ else -R$(JAVAHOME)/jre/lib/sparc/native_threads \ -ljvm -lhpi endif -endif -endif -# ifeq (($OS_ARCH),SunOS) +# EXPORTS = \ nsIJavaDOM.h diff --git a/java/webclient/build-tests.xml b/java/webclient/build-tests.xml index 3738bf016b86..6de47da242b1 100644 --- a/java/webclient/build-tests.xml +++ b/java/webclient/build-tests.xml @@ -152,6 +152,7 @@ + diff --git a/java/webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java b/java/webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java index 4f13006dff41..87e7a707cd16 100644 --- a/java/webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java +++ b/java/webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java @@ -1,5 +1,5 @@ /* - * $Id: WebclientTestCase.java,v 1.8 2004/09/03 19:04:22 edburns%acm.org Exp $ + * $Id: WebclientTestCase.java,v 1.9 2005/08/09 04:43:00 edburns%acm.org Exp $ */ /* @@ -50,7 +50,7 @@ import org.mozilla.util.THTTPD; * * Lifetime And Scope

* - * @version $Id: WebclientTestCase.java,v 1.8 2004/09/03 19:04:22 edburns%acm.org Exp $ + * @version $Id: WebclientTestCase.java,v 1.9 2005/08/09 04:43:00 edburns%acm.org Exp $ * * @see Blah * @see Bloo @@ -65,7 +65,7 @@ public abstract class WebclientTestCase extends TestCase public static final String WEBCLIENTSTUB_LOG_MODULE = "webclientstub"; public static final String WEBCLIENT_LOG_MODULE = "webclient"; -public static final String OUTPUT_FILE_ROOT = "./build.test/"; +public static String OUTPUT_FILE_ROOT = "build.test/"; // // Class Variables @@ -106,6 +106,15 @@ public WebclientTestCase(String name) public void setUp() { verifyPreconditions(); + + String mozSrcValue = null; + + assertTrue(null != (mozSrcValue = + System.getProperty("MOZ_SRC"))); + OUTPUT_FILE_ROOT = mozSrcValue + File.separator + + "mozilla" + File.separator + "java" + File.separator + + "webclient" + File.separator + OUTPUT_FILE_ROOT; + } //