From owner-freebsd-java Sat Mar 9 11: 0:19 2002 Delivered-To: freebsd-java@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EE36637B41D for ; Sat, 9 Mar 2002 11:00:09 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g29J09M26494; Sat, 9 Mar 2002 11:00:09 -0800 (PST) (envelope-from gnats) Date: Sat, 9 Mar 2002 11:00:09 -0800 (PST) Message-Id: <200203091900.g29J09M26494@freefall.freebsd.org> To: java@FreeBSD.org Cc: From: Greg Lewis Subject: Re: ports/35658: java/jdk13 creates too small src.jar Reply-To: Greg Lewis Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/35658; it has been noted by GNATS. From: Greg Lewis To: freebsd-gnats-submit@FreeBSD.org Cc: znerd@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: ports/35658: java/jdk13 creates too small src.jar Date: Sun, 10 Mar 2002 05:21:11 +1030 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Attached patch works for me. Put it in /ports/java/jdk13/files/patch-common::Release.gmk and you should be right. Obviously this is less efficient, but compared to the entire build process the impact is very minimal. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-common::Release.gmk" Index: Release.gmk =================================================================== RCS file: /data/java/JDK2/javasrc_1_3_scsl/j2sdk1.3.1/make/common/Release.gmk,v retrieving revision 1.7 diff -u -r1.7 common/Release.gmk --- common/Release.gmk 21 Jan 2002 22:40:08 -0000 1.7 +++ common/Release.gmk 9 Mar 2002 18:01:51 -0000 @@ -521,10 +521,18 @@ @# src.jar @# $(MKDIR) -p $(JDK_IMAGE_DIR)/src +ifeq ($(PLATFORM), bsd) + # Avoid the "argument list too long" problem. + ($(CD) $(SHARE_SRC)/classes; \ + for list in `$(FIND) $(SOURCES) -name CVS -prune -o -name SCCS -prune -o -name '*.java' -print`; do \ + $(TAR) cf - $$list | ($(CD) $(JDK_IMAGE_DIR)/src; $(TAR) xvf -); \ + done) +else ($(CD) $(SHARE_SRC)/classes; $(TAR) cf - \ `$(FIND) $(SOURCES) -name CVS -prune -o -name SCCS -prune -o \ -name '*.java' -print`)| \ ($(CD) $(JDK_IMAGE_DIR)/src; $(TAR) xvf -) +endif @# We do not want to ship this, it isn't part of the build yet. $(RM) -r $(JDK_IMAGE_DIR)/src/javax/swing/pending $(MKDIR) -p $(JDK_IMAGE_DIR)/src/launcher --mYCpIKhGyMATD0i+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message