# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../bdb-java/sun-friendly-dotjar.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
javac (at least from sun-jdk-142) can't find classes if they are zipped as ./foo instead
of just foo.
Alejandro

--- ./dist/Makefile.in.orig	2005-06-02 21:56:57.148479680 -0400
+++ ./dist/Makefile.in	2005-06-02 21:58:11.440425872 -0400
@@ -734,7 +734,7 @@
 	@test -d $(JAVA_CLASSTOP) || \
 	   ($(mkdir) -p $(JAVA_CLASSTOP) && $(chmod) $(dmode) $(JAVA_CLASSTOP))
 	$(JAVAC) -d $(JAVA_CLASSTOP) $(JAVACFLAGS) $(JAVA_DBSRCS)
-	cd $(JAVA_CLASSTOP) && $(JAR) cf ../$(libj_jarfile) ./com/sleepycat
+	cd $(JAVA_CLASSTOP) && $(JAR) cf ../$(libj_jarfile) com/sleepycat
 
 $(libj_exjarfile): $(libj_jarfile) $(JAVA_EXSRCS)
 	@test -d $(JAVA_EXCLASSTOP) || \
@@ -742,7 +742,7 @@
 		$(chmod) $(dmode) $(JAVA_EXCLASSTOP))
 	$(JAVAC) -classpath $(libj_jarfile) -d $(JAVA_EXCLASSTOP) \
 		$(JAVACFLAGS) $(JAVA_EXSRCS)
-	cd $(JAVA_EXCLASSTOP) && $(JAR) cf ../$(libj_exjarfile) .
+	cd $(JAVA_EXCLASSTOP) && $(JAR) cf ../$(libj_exjarfile) *
 
 $(rpc_jarfile): $(libj_jarfile) $(RPC_JAVASRV_SRCS)
 	@test -d $(JAVA_RPCCLASSTOP) || \