From owner-freebsd-java Sun Feb 24 6:44:28 2002 Delivered-To: freebsd-java@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id B4BDB37B400 for ; Sun, 24 Feb 2002 06:44:26 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 16ezt3-000HOE-00; Sun, 24 Feb 2002 14:44:25 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1OEiPL39958; Sun, 24 Feb 2002 14:44:25 GMT (envelope-from jcm) Date: Sun, 24 Feb 2002 14:44:24 +0000 From: j mckitrick To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Best IDE for slow system? Message-ID: <20020224144424.A39935@dogma.freebsd-uk.eu.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA389@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA389@l04.research.kpn.com>; from K.J.Koster@kpn.com on Thu, Feb 21, 2002 at 08:32:38PM +0100 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 If I decide to use ant with the latest jdk, can I get by without installing Apache? I don't see any indication that this would be a problem, but I'd like to be sure. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 24 7:22:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from Thanatos.Shenton.Org (a3.ebbed1.client.atlantech.net [209.190.235.163]) by hub.freebsd.org (Postfix) with SMTP id A60F437B402 for ; Sun, 24 Feb 2002 07:22:41 -0800 (PST) Received: (qmail 94621 invoked by uid 1000); 24 Feb 2002 15:22:40 -0000 To: Cedric Berger Cc: Tim E Schafer , java@FreeBSD.ORG Subject: Re: linux-jdk14 bombs (running tomcat with servlet) References: <018e01c1bb4a$a45fa470$441814ac@newtim> <87664psave.fsf@thanatos.shenton.org> <3C77CF16.4090304@wireless-networks.com> From: Chris Shenton Date: 24 Feb 2002 10:22:40 -0500 In-Reply-To: <3C77CF16.4090304@wireless-networks.com> Message-ID: <871yfakipr.fsf@thanatos.shenton.org> Lines: 7 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Cedric Berger writes: > This is because if you want to "turn off hotspot", you can use "pkg_remove". > What I mean is that the 1.4 VM = hotspot, period. There is no 1.4 > classic VM. Bummer, cuz I can't get it the VM to run reliably with Tomcat. :-( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 24 7:55:17 2002 Delivered-To: freebsd-java@freebsd.org Received: from blue.eslitebooks.com (211-23-184-179.eslitebooks.com [211.23.184.179]) by hub.freebsd.org (Postfix) with ESMTP id 0F00F37B400; Sun, 24 Feb 2002 07:55:01 -0800 (PST) Received: from malloc.eb.kliev.net (pc186.office.eslite [192.168.7.186]) by blue.eslitebooks.com (8.12.2/8.12.2) with SMTP id g1OFsxPF012342; Sun, 24 Feb 2002 23:54:59 +0800 Received: (nullmailer pid 83039 invoked by uid 1000); Sun, 24 Feb 2002 15:54:51 -0000 Date: Sun, 24 Feb 2002 23:54:51 +0800 From: Clive Lin To: znerd@FreeBSD.org Cc: freebsd-java@FreeBSD.org Subject: jakarta-tomcat port Message-ID: <20020224155451.GA83007@malloc.eb.kliev.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline User-Agent: Mutt/1.3.27i X-Operating-System: FreeBSD 4.5-RELEASE i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E 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 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I think this patch is tiny but essential.. Inclusion of tools.jar should be after awareness of JAVA_HOME, for people like me do not like to pollute environment variables with JAVA* ;) How do you think ? - -- PGP key in header X-PGP-key. Mutt users simply do |gpg --verify would be fine. Win32 users please google for "pgp freeware." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8eQytdFUoBaAIwD4RAmngAJ44MBDlBNlS2VsXR2DHEVaJCBhpywCeM6B0 rPoqgZVHWFk6CN9gsixofW0= =yVtz -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="tomcat.diff" Index: files/tomcatctl =================================================================== RCS file: /home/ncvs/ports/www/jakarta-tomcat/files/tomcatctl,v retrieving revision 1.4 diff -u -r1.4 tomcatctl --- files/tomcatctl 21 Feb 2002 20:06:55 -0000 1.4 +++ files/tomcatctl 24 Feb 2002 15:45:10 -0000 @@ -16,14 +16,14 @@ CLASSPATH=$i fi done -if [ -f ${JAVA_HOME}/lib/tools.jar ] ; then - CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar -fi # Check if the JAVA_HOME directory is defined, otherwise set it to the # fallback default if [ "${JAVA_HOME}a" = "a" ]; then JAVA_HOME=%%JAVA_HOME%% +fi +if [ -f ${JAVA_HOME}/lib/tools.jar ] ; then + CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar fi JAVA_CMD=${JAVA_HOME}/bin/java --azLHFNyN32YCQGCU-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 24 9:30:47 2002 Delivered-To: freebsd-java@freebsd.org Received: from Thanatos.Shenton.Org (a3.ebbed1.client.atlantech.net [209.190.235.163]) by hub.freebsd.org (Postfix) with SMTP id B79A737B417 for ; Sun, 24 Feb 2002 09:30:43 -0800 (PST) Received: (qmail 1819 invoked by uid 1000); 24 Feb 2002 17:30:37 -0000 To: j mckitrick Cc: "Koster, K.J." , freebsd-java@FreeBSD.ORG Subject: Re: Best IDE for slow system? References: <59063B5B4D98D311BC0D0001FA7E452205FDA389@l04.research.kpn.com> <20020224144424.A39935@dogma.freebsd-uk.eu.org> From: Chris Shenton Date: 24 Feb 2002 12:30:37 -0500 In-Reply-To: <20020224144424.A39935@dogma.freebsd-uk.eu.org> Message-ID: <877kp2iy82.fsf@thanatos.shenton.org> Lines: 8 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 j mckitrick writes: > If I decide to use ant with the latest jdk, can I get by without > installing Apache? I don't see any indication that this would be a > problem, but I'd like to be sure. I believe I had ant installed on my box before installing apache. Ant's just a build tool, kinda like Make. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 24 15:30:22 2002 Delivered-To: freebsd-java@freebsd.org Received: from jupiter.linuxengine.net (jupiter2.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id D902837B426 for ; Sun, 24 Feb 2002 15:30:13 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g1ONSiR20078; Sun, 24 Feb 2002 17:28:44 -0600 Date: Sun, 24 Feb 2002 17:28:44 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: j mckitrick Cc: "Koster, K.J." , Subject: Re: Best IDE for slow system? In-Reply-To: <20020224144424.A39935@dogma.freebsd-uk.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 yup; On Sun, 24 Feb 2002, j mckitrick wrote: > > If I decide to use ant with the latest jdk, can I get by without > installing Apache? I don't see any indication that this would be a > problem, but I'd like to be sure. installing apache would be highly irrelevant. > jm > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 24 23:38:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 6E5BC37B405 for ; Sun, 24 Feb 2002 23:38:33 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16fFiN-000159-00; Sun, 24 Feb 2002 23:38:27 -0800 Date: Sun, 24 Feb 2002 23:38:27 -0800 To: freebsd-java@freebsd.org Cc: Bill Huey Subject: HotSpot progress report Message-ID: <20020225073827.GA3969@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i From: Bill Huey 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 Hey Folks, I've been working on various platform dependent parts of HotSpot and have made a lot of progress both piecing together the various non-portable parts and getting a clear mental image of how the VM threading systems works. I've got most of those files compiling cleanly with some left overs with (1) signal delivery per thread and (2) thread stack redzones. With: 1) Read the pthreads implemenation of signal delivery (i'm doing that now) and see how Solaris signaling conventions map over to FreeBSD's stuff semantically. It's bit scary since signals are kind of an amorpheous thingy, but I'm still keeping my head above the water. 2) Stack red-zoning with funky mmap/mprotect trickery and alignment. Which, BTW, I'm thinking about ignoring. Only a handful of compile time errors are left in the platform dependent parts and the rest are pretty superficial. This is a good thing and implies that a kind of "smoke test" might be coming soon. Cross your fingers on that one. There are other things that I have to still worry about it's interrupt and callback framework, but I have most of threading system clearly understood and it's being worked out pretty automatically with a kind of coding unconsciousness that's rare in my personal history with this project. This is a good sign. We'll see. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 0: 3:55 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 2B5F437B402 for ; Mon, 25 Feb 2002 00:03:51 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1P83Z001962; Mon, 25 Feb 2002 09:03:35 +0100 (CET) (envelope-from ernst) Message-Id: <200202250803.g1P83Z001962@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Clive Lin Subject: Re: jakarta-tomcat port Date: Mon, 25 Feb 2002 09:03:34 +0100 X-Mailer: KMail [version 1.3.2] Cc: freebsd-java@FreeBSD.org References: <20020224155451.GA83007@malloc.eb.kliev.net> In-Reply-To: <20020224155451.GA83007@malloc.eb.kliev.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi Clive, Thanks for the patch. I committed the changes to www/jakarta-tomcat. Please confirm that it is correct after CVSupping. I really appreciate the feedback!!! Ernst On Sunday 24 February 2002 16:54, Clive Lin wrote: > Hi, > > I think this patch is tiny but essential.. Inclusion of > tools.jar should be after awareness of JAVA_HOME, for people like me > do not like to pollute environment variables with JAVA* ;) How do you > think ? -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 1:16:49 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id D945437B404 for ; Mon, 25 Feb 2002 01:16:45 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1P9GgM02402; Mon, 25 Feb 2002 10:16:42 +0100 (CET) (envelope-from ernst) Message-Id: <200202250916.g1P9GgM02402@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Chris Shenton , "Tim E Schafer" Subject: Re: linux-jdk14 bombs (running tomcat with servlet) Date: Mon, 25 Feb 2002 10:16:42 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@freebsd.org References: <018e01c1bb4a$a45fa470$441814ac@newtim> <87664psave.fsf@thanatos.shenton.org> In-Reply-To: <87664psave.fsf@thanatos.shenton.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Please file a PR. I will look at it ASAP. Ernst On Friday 22 February 2002 18:08, Chris Shenton wrote: > [java@freebsd.org CCd so they can archive your suggestions] > > "Tim E Schafer" writes: > > I noticed that the port linux-jdk1.4 doesn't do something that the > > linux-jdk1.3.1 port does, that is turn off hotspot. Take a look at: > > /usr/local/linux-jdk1.3.1/jre/lib/jvm.cfg > > > > should look like: > > > > -classic > > -client > > -hotspot > > -server > > > > with -classic at the top it chooses to use classic VM over hotspot > > From native jdk-1.3.1p6 built from ports last night, jre/lib/jvm.cfg: > > -client > -hotspot > -server > -classic > > with the only implementation in jdk1.3.1/jre/lib/i386/classic/libjvm.so. > (The Linux jdk13 had additional libjvm.so under different dirs). > > The linux-jdk14 moves this to linux-jdk1.4.0/jre/lib/i386/jvm.cfg: > > -client KNOWN > -server KNOWN > -hotspot ALIASED_TO -client > -classic WARN > -native ERROR > -green ERROR > > with libjvm.so under client/ and server/. So there's no "classic" > libjvm, and the "client" is the same as "hotspot". So I tried the > only option I have: swapping -client with -server. No help, not > surprisingly: same error. Bummer. > > Thanks for your suggestions. I've never looked under the covers of the > java machine, didn't know these knobs were there to tweak. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 2:19: 7 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id C7E4737B400; Mon, 25 Feb 2002 02:18:53 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PAIqi02136; Mon, 25 Feb 2002 11:18:52 +0100 (CET) (envelope-from ernst) Message-Id: <200202251018.g1PAIqi02136@zaphod.euronet.nl> From: Ernst de Haan Organization: EuroNet Internet B.V. To: portmgr@FreeBSD.org Subject: Request for changing bsd.port.mk and adding bsd.java.mk Date: Mon, 25 Feb 2002 11:18:52 +0100 X-Mailer: KMail [version 1.3.2] Cc: ports@FreeBSD.org, java@FreeBSD.org, sobomax@FreeBSD.org, kevlo@FreeBSD.org, sebster@sebster.org MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_GB3371A0GFVL5VDBIE8Z" 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 --------------Boundary-00=_GB3371A0GFVL5VDBIE8Z Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi, In order to make writing Java-based ports much easier, I've developped a bsd.java.mk. Below I explain how this bsd.java.mk works. My request is threefold. First I would ask for permission to modify bsd.port.mk to include bsd.java.mk (see attached diff). Secondly, I would like to add the attached bsd.java.mk file as Mk/bsd.java.mk in the ports CVS module. Third, I would like to get the right to make updates to this latter file. When this bsd.java.mk is added, it will have *no* effect on current ports, these will keep working. Note that this bsd.java.mk is specific for FreeBSD, I do not know if that is a problem. This bsd.java.mk is loosely based on the following proposal: http://www.metaverse.nl/~ernst/freebsd-java-proposal-20011116.html It is loosely modelled after bsd.ruby.mk. The current bsd.java.mk allows ports to use the following construction to use a Java runtime environment in their Makefile: USE_JAVA= [ "YES" | "1.1" | "1.2" | "1.3" | "1.4" ] If it set to "YES" then the default version of Java will be used, currently 1.3, this can be overridden (for example in /etc/make.conf) by defining DEFAULT_JAVA_VER. After setting USE_JAVA to a valid value, the port writer can use the following variables in the targets: JAVA_VENDOR: Vendor of the Java JAVA_VER: Java version, for example "1.1.8" or "1.3.1" JAVA_OS: Target OS for the JDK/JRE, "FreeBSD" or "Linux" JAVA_HOME: Home directory of the Java runtime environment JAVA_PORT: The location for the JDK/JRE port JAVA_CLASSES: Reference to classes.zip or rt.jar JAVAC: Points to a Java compiler (possibly Jikes) APPLETVIEWER: Appletviewer location JAVA: Points to JRE or JDK java executable JAVADOC: Points to the javadoc utility JAVAH: Points to the javah utility JAVAP: Points to the javap utility JAVA_N2A: Points to the native2ascii utility RMIC: Points to the rmic program RMIREGISTRY: Points to the rmiregistry program JAVA_SERIALVER: Points to the serialver program And only for JDK 1.2+: JAVA_POLICYTOOL: Points to the policytool program RMID: Points to the rmid program The correct JDK/JRE will be added to BUILD_DEPENDS unless JAVA_NO_BUILD_DEPENDS. It will be added to RUN_DEPENDS unless JAVA_NO_RUN_DEPENDS is defined. Any and all comments are welcome, of course. Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ --------------Boundary-00=_GB3371A0GFVL5VDBIE8Z Content-Type: text/x-diff; charset="iso-8859-1"; name="bsd.port.mk.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bsd.port.mk.diff" SW5kZXg6IGJzZC5wb3J0Lm1rCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9ob21lL25jdnMvcG9ydHMv TWsvYnNkLnBvcnQubWssdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNDAwCmRpZmYgLWQgLXUgLXIx LjQwMCBic2QucG9ydC5tawotLS0gYnNkLnBvcnQubWsJMjQgRmViIDIwMDIgMTY6NTQ6MzQgLTAw MDAJMS40MDAKKysrIGJzZC5wb3J0Lm1rCTI1IEZlYiAyMDAyIDA5OjQ5OjI3IC0wMDAwCkBAIC03 ODEsNiArNzgxLDggQEAKIC5pbmNsdWRlICIke1BPUlRTRElSfS9Nay9ic2QucnVieS5tayIKIC5l bmRpZgogCisuaW5jbHVkZSAiJHtQT1JUU0RJUn0vTWsvYnNkLmphdmEubWsiCisKIC5pZiBkZWZp bmVkKFVTRV9RVCkgfHwgZGVmaW5lZChVU0VfUVQyKSB8fCBkZWZpbmVkKFVTRV9RVF9WRVIpIHx8 IGRlZmluZWQoVVNFX0tERUxJQlNfVkVSKSB8fCBkZWZpbmVkKFVTRV9LREVCQVNFX1ZFUikKIC5p bmNsdWRlICIke1BPUlRTRElSfS9Nay9ic2Qua2RlLm1rIgogLmVuZGlmCg== --------------Boundary-00=_GB3371A0GFVL5VDBIE8Z Content-Type: text/plain; charset="iso-8859-1"; name="bsd.java.mk" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bsd.java.mk" Iy0qLSBtb2RlOiBGdW5kYW1lbnRhbDsgdGFiLXdpZHRoOiA0OyAtKi0KIyBleDp0cz00CiMKIyBi c2QuamF2YS5tayAtIFN1cHBvcnQgZm9yIEphdmEtYmFzZWQgcG9ydHMuCiMKIyBDcmVhdGVkIGJ5 OiBFcm5zdCBkZSBIYWFuIDx6bmVyZEBGcmVlQlNELm9yZz4KIwojICRGcmVlQlNEJAojCgouaWYg IWRlZmluZWQoSmF2YV9JbmNsdWRlKQoKSmF2YV9JbmNsdWRlPQkJCQlic2QuamF2YS5tawpKYXZh X0luY2x1ZGVfTUFJTlRBSU5FUj0Jem5lcmRARnJlZUJTRC5vcmcKCi4JaWYgZGVmaW5lZChVU0Vf SkFWQSkKCiMgVGhlIGNvbXBsZXRlIGxpc3Qgb2YgSmF2YSB2ZXJzaW9ucyBzdXBwb3J0ZWQuCkpB VkFfVkVSU0lPTlM9CQkxLjEgMS4yIDEuMyAxLjQKCiMgVGhlIGRlZmF1bHQgSmF2YSB2ZXJzaW9u LiBUaGlzIHNldHRpbmcgY2FuIGJlIG92ZXJyaWRkZW4uCkRFRkFVTFRfSkFWQV9WRVI/PQkxLjMK CiMgQ2hlY2sgdGhhdCB0aGUgREVGQVVMVF9KQVZBX1ZFUiBzZXR0aW5nIGlzIHZhbGlkCi4JCWZv ciBfVE1QX0pBVkFfVkVSIGluICR7SkFWQV9WRVJTSU9OU30KLgkJCWlmICR7REVGQVVMVF9KQVZB X1ZFUn0gPT0gJHtfVE1QX0pBVkFfVkVSfQpfREVGQVVMVF9KQVZBX1ZFUl9WQUxJRD0JeWVzCi4J CQllbmRpZgouCQllbmRmb3IKLgkJaWYgIWRlZmluZWQoX0RFRkFVTFRfSkFWQV9WRVJfVkFMSUQp Ci5CRUdJTjoKCUAke0VDSE99ICIke1BLR05BTUV9OiBcIiR7REVG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xEX0RFUEVORFMrPQkJJHtERVBFTkRfSkFWQX0KLgkJZW5kaWYKLgkJaWYg IWRlZmluZWQoSkFWQV9OT19SVU5fREVQRU5EUykKUlVOX0RFUEVORFMrPQkJJHtERVBFTkRfSkFW QX0KLgkJZW5kaWYKLgllbmRpZgouZW5kaWYK --------------Boundary-00=_GB3371A0GFVL5VDBIE8Z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 2:46:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 310CA37B400; Mon, 25 Feb 2002 02:46:30 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PAkTH02215; Mon, 25 Feb 2002 11:46:29 +0100 (CET) (envelope-from ernst) Message-Id: <200202251046.g1PAkTH02215@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: portmgr@FreeBSD.org Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk Date: Mon, 25 Feb 2002 11:46:28 +0100 X-Mailer: KMail [version 1.3.2] Cc: ports@FreeBSD.org, java@FreeBSD.org, sobomax@FreeBSD.org, kevlo@FreeBSD.org, sebster@sebster.org References: <200202251018.g1PAIqi02136@zaphod.euronet.nl> In-Reply-To: <200202251018.g1PAIqi02136@zaphod.euronet.nl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 To avoid confusion, note that I'm znerd@FreeBSD.org. This ernsth@nl.euro.net address is my email address at work, I forgot to select znerd@FreeBSD.org as my identity. Ernst On Monday 25 February 2002 11:18, Ernst de Haan wrote: > Hi, > > > In order to make writing Java-based ports much easier, I've developped a > bsd.java.mk. > > Below I explain how this bsd.java.mk works. My request is threefold. First > I would ask for permission to modify bsd.port.mk to include bsd.java.mk > (see attached diff). Secondly, I would like to add the attached bsd.java.mk > file as Mk/bsd.java.mk in the ports CVS module. Third, I would like to get > the right to make updates to this latter file. > > When this bsd.java.mk is added, it will have *no* effect on current ports, > these will keep working. Note that this bsd.java.mk is specific for > FreeBSD, I do not know if that is a problem. > > > This bsd.java.mk is loosely based on the following proposal: > > http://www.metaverse.nl/~ernst/freebsd-java-proposal-20011116.html > > It is loosely modelled after bsd.ruby.mk. > > The current bsd.java.mk allows ports to use the following construction to > use a Java runtime environment in their Makefile: > > USE_JAVA= [ "YES" | "1.1" | "1.2" | "1.3" | "1.4" ] > > If it set to "YES" then the default version of Java will be used, currently > 1.3, this can be overridden (for example in /etc/make.conf) by defining > DEFAULT_JAVA_VER. > > After setting USE_JAVA to a valid value, the port writer can use the > following variables in the targets: > > JAVA_VENDOR: Vendor of the Java > JAVA_VER: Java version, for example "1.1.8" or "1.3.1" > JAVA_OS: Target OS for the JDK/JRE, "FreeBSD" or "Linux" > JAVA_HOME: Home directory of the Java runtime environment > JAVA_PORT: The location for the JDK/JRE port > JAVA_CLASSES: Reference to classes.zip or rt.jar > JAVAC: Points to a Java compiler (possibly Jikes) > APPLETVIEWER: Appletviewer location > JAVA: Points to JRE or JDK java executable > JAVADOC: Points to the javadoc utility > JAVAH: Points to the javah utility > JAVAP: Points to the javap utility > JAVA_N2A: Points to the native2ascii utility > RMIC: Points to the rmic program > RMIREGISTRY: Points to the rmiregistry program > JAVA_SERIALVER: Points to the serialver program > > And only for JDK 1.2+: > > JAVA_POLICYTOOL: Points to the policytool program > RMID: Points to the rmid program > > The correct JDK/JRE will be added to BUILD_DEPENDS unless > JAVA_NO_BUILD_DEPENDS. It will be added to RUN_DEPENDS unless > JAVA_NO_RUN_DEPENDS is defined. > > Any and all comments are welcome, of course. > > > Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 2:52:29 2002 Delivered-To: freebsd-java@freebsd.org Received: from draco.macsch.com (ns1.mscsoftware.com [192.207.69.10]) by hub.freebsd.org (Postfix) with ESMTP id DD48237B404; Mon, 25 Feb 2002 02:52:24 -0800 (PST) Received: from mailmuc.muc.eu.mscsoftware.com (mailmuc.muc.macsch.com [161.34.37.20]) by draco.macsch.com (8.11.6+Sun/8.9.3) with ESMTP id g1PAqUB01060; Mon, 25 Feb 2002 02:52:30 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mailmuc.muc.eu.mscsoftware.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g1PApa107222; Mon, 25 Feb 2002 11:51:36 +0100 Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG Content-Type: text/plain; charset=US-ASCII Date: Mon, 25 Feb 2002 11:50:54 +0100 From: Georg-W Koltermann In-Reply-To: <200202212033.g1LKXv256350@zaphod.euronet.nl> Message-ID: MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Organization: MSC Software Received: from hunter.muc.macsch.com by mailmuc.muc.eu.mscsoftware.com (AvMailGate-6.12.0.0) id 07204-19BAF724; Mon, 25 Feb 2002 11:50:55 +0100 Received: from hunter.muc.macsch.com (localhost.muc.macsch.com [127.0.0.1]) by hunter.muc.macsch.com (8.11.6/8.11.6) with ESMTP id g1PAosp01574; Mon, 25 Feb 2002 11:50:56 +0100 (CET) (envelope-from Georg.Koltermann@mscsoftware.com) References: <200202212033.g1LKXv256350@zaphod.euronet.nl> Subject: Re: Port www/jakarta-tomcat refactored To: Ernst de Haan User-Agent: Wanderlust/2.4.1 (Stand By Me) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) X-AntiVirus: OK! AvMailGate Version 6.12.1.21 at mailmuc has not found any known virus in this email. X-Attribution: gwk 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 At Thu, 21 Feb 2002 21:33:56 +0100, Ernst de Haan wrote: > > Hi all, > > Just finished refactoring the Jakarta Tomcat port (www/jakarta-tomcat). There > were a lot of suggestions and comments, and I tried to squeeze them all in. Ernst, the port is still for Tomcat 3.x, right? Are there any plans for a port of Tomcat 4? I'm running it right now, and it seems to be quite usable. The only problems that I remember are occasional out-of-memory errors (caused by reloading classes during the development cycle, I assume), and some problems with CGI scripts in standalone mode, which probably doesn't hurt anybody because in the end most people would serve static and CGI content by Apache anyway. -- Regards, Georg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 2:53:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from server.intra.blender.nl (nan.iae.nl [212.61.24.44]) by hub.freebsd.org (Postfix) with ESMTP id 373C437B402; Mon, 25 Feb 2002 02:53:10 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by server.intra.blender.nl (Postfix) with ESMTP id 6730B1D103; Mon, 25 Feb 2002 11:53:09 +0100 (CET) Received: by server.intra.blender.nl (Postfix, from userid 1001) id 1FF971D119; Mon, 25 Feb 2002 11:53:08 +0100 (CET) Date: Mon, 25 Feb 2002 11:53:08 +0100 To: Ernst de Haan Cc: portmgr@FreeBSD.ORG, ports@FreeBSD.ORG, java@FreeBSD.ORG, sobomax@FreeBSD.ORG, kevlo@FreeBSD.ORG, sebster@sebster.org Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk Message-ID: <20020225115308.C62742@server.intra.blender.nl> References: <200202251018.g1PAIqi02136@zaphod.euronet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200202251018.g1PAIqi02136@zaphod.euronet.nl>; from ernsth@nl.euro.net on Mon, Feb 25, 2002 at 11:18:52AM +0100 From: hans@blender.nl (Hans Lambermont) X-Virus-Scanned: by AMaViS perl-10 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 Ernst de Haan wrote: > In order to make writing Java-based ports much easier, I've developped a > bsd.java.mk. snip > Any and all comments are welcome, of course. I think it is a good idea to do this. The bsd.java.mk looks OK to me. Hans Lambermont -- ir Hans Lambermont Software Architect hans@blender.nl Not a Number 3D Enabling Technology www.blender3d.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 4:43:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 5247F37B402 for ; Mon, 25 Feb 2002 04:43:14 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16fKT8-000JFO-00; Mon, 25 Feb 2002 12:43:02 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1PCgvg46909; Mon, 25 Feb 2002 12:42:57 GMT (envelope-from jcm) Date: Mon, 25 Feb 2002 12:42:57 +0000 From: j mckitrick To: Chris Shenton Cc: "Koster, K.J." , freebsd-java@FreeBSD.ORG Subject: Re: Best IDE for slow system? Message-ID: <20020225124256.A46879@dogma.freebsd-uk.eu.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA389@l04.research.kpn.com> <20020224144424.A39935@dogma.freebsd-uk.eu.org> <877kp2iy82.fsf@thanatos.shenton.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <877kp2iy82.fsf@thanatos.shenton.org>; from chris@shenton.org on Sun, Feb 24, 2002 at 12:30:37PM -0500 X-Scanner: exiscan *16fKT8-000JFO-00*kMpjesUwxs6* (Manchester Computing, University of Manchester) 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 | I believe I had ant installed on my box before installing apache. | Ant's just a build tool, kinda like Make. I keep wanting to get back into Java since I took it a few semesters ago, but I always felt my P2-266 would be a bottleneck. Maybe with the right combination of these tools even Java can be developed efficiently. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 4:47:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 729A237B400; Mon, 25 Feb 2002 04:47:07 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PCl0s07455; Mon, 25 Feb 2002 13:47:00 +0100 (CET) (envelope-from ernst) Message-Id: <200202251247.g1PCl0s07455@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Georg-W Koltermann Subject: Re: Port www/jakarta-tomcat refactored Date: Mon, 25 Feb 2002 13:47:00 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG References: <200202212033.g1LKXv256350@zaphod.euronet.nl> In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi Georg, > the port is still for Tomcat 3.x, right? Are there any plans for a > port of Tomcat 4? I'm running it right now, and it seems to be quite > usable. The architecture of Tomcat 4.x is completely different compared to 3.x. This is a reason for some companies or individuals to prefer Tomcat 3.x. There is still active development on the 3.x branch. That's why Tomcat 4.0 should not (yet) be in www/jakarta-tomcat. I'm working on www/jakarta-tomcat4 though. Kind regards, Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 7:44:58 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 416A837B404 for ; Mon, 25 Feb 2002 07:44:56 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id KAA19203; Mon, 25 Feb 2002 10:44:53 -0500 Date: Mon, 25 Feb 2002 10:44:53 -0500 (EST) From: Mikhail Kruk To: Ernst de Haan Cc: java@FreeBSD.ORG Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk In-Reply-To: <200202251018.g1PAIqi02136@zaphod.euronet.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Sorry I woke up to this so late, but I got two questions: how come keytool isn't there? I can imagine a port installation requiring keytool.. at least more likely than java_n2a. Also shouldn't ant be included too? > JAVA_VENDOR: Vendor of the Java > JAVA_VER: Java version, for example "1.1.8" or "1.3.1" > JAVA_OS: Target OS for the JDK/JRE, "FreeBSD" or "Linux" > JAVA_HOME: Home directory of the Java runtime environment > JAVA_PORT: The location for the JDK/JRE port > JAVA_CLASSES: Reference to classes.zip or rt.jar > JAVAC: Points to a Java compiler (possibly Jikes) > APPLETVIEWER: Appletviewer location > JAVA: Points to JRE or JDK java executable > JAVADOC: Points to the javadoc utility > JAVAH: Points to the javah utility > JAVAP: Points to the javap utility > JAVA_N2A: Points to the native2ascii utility > RMIC: Points to the rmic program > RMIREGISTRY: Points to the rmiregistry program > JAVA_SERIALVER: Points to the serialver program To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:16:29 2002 Delivered-To: freebsd-java@freebsd.org Received: from Thanatos.Shenton.Org (a3.ebbed1.client.atlantech.net [209.190.235.163]) by hub.freebsd.org (Postfix) with SMTP id 0755A37B41A for ; Mon, 25 Feb 2002 08:16:25 -0800 (PST) Received: (qmail 40390 invoked by uid 1000); 25 Feb 2002 16:16:23 -0000 To: Ernst de Haan Cc: Georg-W Koltermann , java@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: Port www/jakarta-tomcat refactored References: <200202212033.g1LKXv256350@zaphod.euronet.nl> <200202251247.g1PCl0s07455@zaphod.euronet.nl> From: Chris Shenton Date: 25 Feb 2002 11:16:23 -0500 In-Reply-To: <200202251247.g1PCl0s07455@zaphod.euronet.nl> Message-ID: <87vgclo7u0.fsf@thanatos.shenton.org> Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Ernst de Haan writes: > There is still active development on the 3.x branch. That's why > Tomcat 4.0 should not (yet) be in www/jakarta-tomcat. I'm working on > www/jakarta-tomcat4 though. Excellent news. I've been developing against Tomcat4 (under the Turbine Development Kit) for the past few months and have had almost no problems -- just the occasional Out Of Memory errors Georg mentioned when doing automatic class reloading. Thanks for all your work! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:21:59 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 9DB8437B405 for ; Mon, 25 Feb 2002 08:21:55 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g1PGSXp53469; Mon, 25 Feb 2002 17:28:33 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Mon, 25 Feb 2002 17:28:33 +0100 (CET) From: Herve Quiroz To: Mikhail Kruk Cc: java@FreeBSD.ORG Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk In-Reply-To: Message-ID: <20020225172049.Y50703-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE 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 > keytool.. at least more likely than java_n2a. Also shouldn't ant be > included too? IMO ant installs always in the same directory (as long as you install it via the ports collection) which lets us use it directly (as for gmake or cc). So any maintainer for a port using ant would just add it in the dependancies of its port and use it via ${PREFFIX}/bin/ant. I am not very familiar with ant (actually not using it) but it sounds to me like gmake or any make tool and should probably be managed the same way others are. Again I am no expert in ant... Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:29:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 0724F37B404 for ; Mon, 25 Feb 2002 08:29:32 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id LAA19263; Mon, 25 Feb 2002 11:29:10 -0500 Date: Mon, 25 Feb 2002 11:29:09 -0500 (EST) From: Mikhail Kruk To: Herve Quiroz Cc: java@FreeBSD.ORG Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk In-Reply-To: <20020225172049.Y50703-100000@puget.esil.univ-mrs.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=KOI8-R Content-Transfer-Encoding: 8BIT 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 Well, I make analogy is not perfect because make is part of the OS, but gmake is a good example: /usr/ports/Mk/bsd.port.mk: # USE_GMAKE - Says that the port uses gmake. # GMAKE - Set to path of GNU make if not in $PATH (default: gmake). > IMO ant installs always in the same directory (as long as you install it > via the ports collection) which lets us use it directly (as for gmake or > cc). So any maintainer for a port using ant would just add it in the > dependancies of its port and use it via ${PREFFIX}/bin/ant. > I am not very familiar with ant (actually not using it) but it sounds to > me like gmake or any make tool and should probably be managed the same way > others are. > Again I am no expert in ant... > > > Hervé > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:38:32 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 9616637B404 for ; Mon, 25 Feb 2002 08:38:26 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g1PGjWL56236 for ; Mon, 25 Feb 2002 17:45:32 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Mon, 25 Feb 2002 17:45:32 +0100 (CET) From: Herve Quiroz X-X-Sender: hquiroz@puget.esil.univ-mrs.fr To: java@freebsd.org Subject: bsd.java.mk and native jdk1.3.1p6 Message-ID: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE 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 Does the bsd.java.mk effort means we will soon be able to build jdk1.3.1p6 using jikes (with $JAVAC variable correctly set up) ? I am asking so because I have been compiling the native jdk 1.3.1p6 on a P133/64M for 4+ hours now and I am wondering if I will be able to use it before 2024... And as jikes is known to produce correct/valid class files maybe we could use it to build rt.jar... Just wondering... Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:39: 5 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id E301C37B402 for ; Mon, 25 Feb 2002 08:39:01 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16fO9P-0000zp-00 for freebsd-java@freebsd.org; Mon, 25 Feb 2002 16:38:55 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1PGcs348365 for freebsd-java@freebsd.org; Mon, 25 Feb 2002 16:38:54 GMT (envelope-from jcm) Date: Mon, 25 Feb 2002 16:38:54 +0000 From: j mckitrick To: freebsd-java@freebsd.org Subject: Java with simpler tools - question Message-ID: <20020225163854.A48327@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Scanner: exiscan *16fO9P-0000zp-00*OdCetx8Txrw* (Manchester Computing, University of Manchester) 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 So when you are developing Java under FreeBSD, and if you choose to use basic editors and not IDEs, what references do you keep open to substitute for all the API and Class help that IDEs normally offer? Since I have a fundamental knowledge of Java but I need a way to look up functions, I'd like a good combination of tools that would let me do this. I think I'll install ant at home as well as the new native jdk, but I'd like to know what other resources are most valuable for a new Java developer. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:39:34 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id B26AE37B402 for ; Mon, 25 Feb 2002 08:39:30 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA25736; Mon, 25 Feb 2002 09:39:29 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1PGdS029574; Mon, 25 Feb 2002 09:39:28 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15482.26816.891227.469480@caddis.yogotech.com> Date: Mon, 25 Feb 2002 09:39:28 -0700 To: Herve Quiroz Cc: java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 In-Reply-To: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > Does the bsd.java.mk effort means we will soon be able to build jdk1.3.1p6 > using jikes (with $JAVAC variable correctly set up) ? Almost certainly not, since the building of the JDK is really tied to having an existing JDK for things other than compiling. :( Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:43:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 18D8E37B404 for ; Mon, 25 Feb 2002 08:43:08 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g1PGoBi57380; Mon, 25 Feb 2002 17:50:11 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Mon, 25 Feb 2002 17:50:11 +0100 (CET) From: Herve Quiroz To: Mikhail Kruk Cc: java@FreeBSD.ORG Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk In-Reply-To: Message-ID: <20020225174705.N50703-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE 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 > /usr/ports/Mk/bsd.port.mk: > > # USE_GMAKE - Says that the port uses gmake. > # GMAKE - Set to path of GNU make if not in $PATH (defaul= t: gmake). This said I agree on the fact that something like $USE_ANT and $ANT should probably be used with bsd.java.mk Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:43:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 2135237B400 for ; Mon, 25 Feb 2002 08:42:45 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA25869; Mon, 25 Feb 2002 09:42:38 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1PGgc929621; Mon, 25 Feb 2002 09:42:38 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15482.27006.112444.64119@caddis.yogotech.com> Date: Mon, 25 Feb 2002 09:42:38 -0700 To: j mckitrick Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java with simpler tools - question In-Reply-To: <20020225163854.A48327@dogma.freebsd-uk.eu.org> References: <20020225163854.A48327@dogma.freebsd-uk.eu.org> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > So when you are developing Java under FreeBSD, and if you choose to use > basic editors and not IDEs, what references do you keep open to > substitute for all the API and Class help that IDEs normally offer? When *I* did Java work, all those years ago (*sigh*), I used netscape with the standard documentation up. Also, The Addison Wessley books were invaluable with well written docuementation that included good examples in most classes of how to use the functions. However, I don't know if they've been able to keep up with the plethora of new classes/methods in later releases. I found that it was sometimes more work to lookup the API/Classes within the IDE, but that may have been because I got used to doing things a different way. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:45:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id A3C1637B405 for ; Mon, 25 Feb 2002 08:45:40 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PGjVf08863; Mon, 25 Feb 2002 17:45:31 +0100 (CET) (envelope-from ernst) Message-Id: <200202251645.g1PGjVf08863@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Herve Quiroz , java@freebsd.org Subject: Re: bsd.java.mk and native jdk1.3.1p6 Date: Mon, 25 Feb 2002 17:45:31 +0100 X-Mailer: KMail [version 1.3.2] References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi Herve, It is possible that the java/jdk13 port will be integrated with bsd.java.mk once that is accepted by portmgr. If it is, then we can test to see if it works with jikes enabled. This is actually a good idea, I had not thought of it yet. :) Ernst On Monday 25 February 2002 17:45, Herve Quiroz wrote: > Does the bsd.java.mk effort means we will soon be able to build jdk1.3.1p6 > using jikes (with $JAVAC variable correctly set up) ? I am asking so > because I have been compiling the native jdk 1.3.1p6 on a P133/64M for 4+ > hours now and I am wondering if I will be able to use it before 2024... > And as jikes is known to produce correct/valid class files maybe we could > use it to build rt.jar... > > Just wondering... > > > Hervé > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:46:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from pe4.eziba.com (mail.eziba.com [64.80.31.203]) by hub.freebsd.org (Postfix) with ESMTP id ADE7637B402 for ; Mon, 25 Feb 2002 08:46:21 -0800 (PST) Received: from eziba.com (thelonius.eziba.com [192.168.0.31]) by pe4.eziba.com (8.11.2/8.11.2) with ESMTP id g1PGkKu05809 for ; Mon, 25 Feb 2002 11:46:20 -0500 Message-ID: <3C7A6A5C.7060908@eziba.com> Date: Mon, 25 Feb 2002 11:46:20 -0500 From: Jay Sachs User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020205 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> <15482.26816.891227.469480@caddis.yogotech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Nate Williams wrote: >>Does the bsd.java.mk effort means we will soon be able to build jdk1.3.1p6 >>using jikes (with $JAVAC variable correctly set up) ? >> > > Almost certainly not, since the building of the JDK is really tied to > having an existing JDK for things other than compiling. :( > But does that preclude using jikes for compilation? It might be tricky to integrate, but it would certainly speed up the build. jay To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:47: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from khoral.com (charon.khoral.com [65.100.30.50]) by hub.freebsd.org (Postfix) with ESMTP id 3D2A737B404 for ; Mon, 25 Feb 2002 08:47:07 -0800 (PST) Received: from chucky.alb.khoral.com (chucky.alb.khoral.com [10.1.3.228]) by khoral.com (8.9.3/8.9.3) with ESMTP id JAA21028; Mon, 25 Feb 2002 09:43:49 -0700 (MST) Subject: Re: Java with simpler tools - question From: Steven Jorgensen To: j mckitrick Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20020225163854.A48327@dogma.freebsd-uk.eu.org> References: <20020225163854.A48327@dogma.freebsd-uk.eu.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.1 Date: 25 Feb 2002 09:43:24 -0700 Message-Id: <1014655404.332.3.camel@chucky.local.spukhaus.com> Mime-Version: 1.0 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 Well, it kind of depends on what classes I'm using, but it's usually sufficient to just point my browser at the Sun javadoc pages for help on the general classes. If I need to know how to use a set of API's, I usually do a search in the java developer forum on Sun's site, or follow one of look at the tutorials. I hope this helps. Steve On Mon, 2002-02-25 at 09:38, j mckitrick wrote: > > So when you are developing Java under FreeBSD, and if you choose to use > basic editors and not IDEs, what references do you keep open to > substitute for all the API and Class help that IDEs normally offer? > > Since I have a fundamental knowledge of Java but I need a way to look up > functions, I'd like a good combination of tools that would let me do > this. I think I'll install ant at home as well as the new native jdk, > but I'd like to know what other resources are most valuable for a new > Java developer. > > jm > -- > My other computer is your windows box. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- ----------------------------------------------------------- Steven Jorgensen steve@khoral.com steve@spukhaus.com ------------------------------+---------------------------- Khoral Inc. | PHONE: (505) 837-6500 6200 Uptown Blvd, Suite 200 | FAX: (505) 881-3842 Albuquerque, NM 87110 | URL: http://www.khoral.com/ ----------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:49: 3 2002 Delivered-To: freebsd-java@freebsd.org Received: from encontacto.net (adsl-64-173-182-158.dsl.mtry01.pacbell.net [64.173.182.158]) by hub.freebsd.org (Postfix) with ESMTP id F23C737B402; Mon, 25 Feb 2002 08:48:54 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) (uid 0) by encontacto.net with local; Mon, 25 Feb 2002 08:48:52 -0800 Received: from 64.173.182.155 ( [64.173.182.155]) as user eculp@mail.mexcomusa.net by Mail.MexComUSA.Net with HTTP; Mon, 25 Feb 2002 08:48:52 -0800 Message-ID: <1014655732.3c7a6af40a4c9@Mail.MexComUSA.Net> Date: Mon, 25 Feb 2002 08:48:52 -0800 From: Edwin Culp To: java@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: Port www/jakarta-tomcat refactored References: <200202212033.g1LKXv256350@zaphod.euronet.nl> <200202251247.g1PCl0s07455@zaphod.euronet.nl> <87vgclo7u0.fsf@thanatos.shenton.org> In-Reply-To: <87vgclo7u0.fsf@thanatos.shenton.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 64.173.182.155 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 Quoting Chris Shenton : | Ernst de Haan writes: | | > There is still active development on the 3.x branch. That's why | > Tomcat 4.0 should not (yet) be in www/jakarta-tomcat. I'm working on | > www/jakarta-tomcat4 though. | | Excellent news. I've been developing against Tomcat4 (under the | Turbine Development Kit) for the past few months and have had almost | no problems -- just the occasional Out Of Memory errors Georg | mentioned when doing automatic class reloading. | | Thanks for all your work! Same here. We look forward to the Tomcat4 port. Thanks for the extra work, ed | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-ports" in the body of the message | ------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:50:58 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 4D33F37B405 for ; Mon, 25 Feb 2002 08:50:54 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PGont08876; Mon, 25 Feb 2002 17:50:49 +0100 (CET) (envelope-from ernst) Message-Id: <200202251650.g1PGont08876@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Herve Quiroz , Mikhail Kruk Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk Date: Mon, 25 Feb 2002 17:50:49 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG References: <20020225174705.N50703-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020225174705.N50703-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hey Herve, Mikhail and others, > This said I agree on the fact that something like $USE_ANT and $ANT should > probably be used with bsd.java.mk Hehe, I already thought about this, and I intend to add something like USE_ANT to the bsd.java.mk. *But* I did not want to do this at this stage for several reasons: 1) One step at a time. 2) The bsd.java.mk is now simple, which makes it more probable that portmgr will understand the purpose and the impact and accept it for inclusion. Once I've got control over bsd.java.mk we can support Ant as well USE_ANT. This is the main reason I did not include an .if like this: .if defined(USE_JAVA) in the bsd.port.mk diff :-). I want bsd.java.mk to be included at all times, so I can check for something like USE_ANT in the future too. This bsd.java.mk is simple, but it's *only* the first version :-) Don't think I don't want to improve it as soon as it is accepted and I've got control over it. Ofcourse I will make sure that all changes to the bsd.java.mk are very well tested, since the ports system may break if it is not. Kind regards, Ernst (striving for perfect Java support on FreeBSD) -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:53: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 3200337B400 for ; Mon, 25 Feb 2002 08:52:55 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PGq2x08879; Mon, 25 Feb 2002 17:52:02 +0100 (CET) (envelope-from ernst) Message-Id: <200202251652.g1PGq2x08879@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: nate@yogotech.com (Nate Williams), Herve Quiroz Subject: Re: bsd.java.mk and native jdk1.3.1p6 Date: Mon, 25 Feb 2002 17:52:02 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> <15482.26816.891227.469480@caddis.yogotech.com> In-Reply-To: <15482.26816.891227.469480@caddis.yogotech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hey Nate and all, On Monday 25 February 2002 17:39, Nate Williams wrote: > > Does the bsd.java.mk effort means we will soon be able to build > > jdk1.3.1p6 using jikes (with $JAVAC variable correctly set up) ? > > Almost certainly not, since the building of the JDK is really tied to > having an existing JDK for things other than compiling. :( Well, this does not mean that we can't use jikes. It will have to be investigated, but I think our chances are quite good :) Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:55: 3 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id A48BC37B405 for ; Mon, 25 Feb 2002 08:55:00 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA26341; Mon, 25 Feb 2002 09:54:51 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1PGspF29782; Mon, 25 Feb 2002 09:54:51 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15482.27739.171795.631246@caddis.yogotech.com> Date: Mon, 25 Feb 2002 09:54:51 -0700 To: Ernst de Haan Cc: nate@yogotech.com (Nate Williams), Herve Quiroz , java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 In-Reply-To: <200202251652.g1PGq2x08879@zaphod.euronet.nl> References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> <15482.26816.891227.469480@caddis.yogotech.com> <200202251652.g1PGq2x08879@zaphod.euronet.nl> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > > Does the bsd.java.mk effort means we will soon be able to build > > > jdk1.3.1p6 using jikes (with $JAVAC variable correctly set up) ? > > > > Almost certainly not, since the building of the JDK is really tied to > > having an existing JDK for things other than compiling. :( > > Well, this does not mean that we can't use jikes. It will have to be > investigated, but I think our chances are quite good :) You'd have to convince the JDK porters to accept a number of Makefile changes to the JDK, which I don't see happening for reasons outlined in a different email. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 8:55:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 45A4B37B402 for ; Mon, 25 Feb 2002 08:54:16 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA26306; Mon, 25 Feb 2002 09:54:02 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1PGs1G29768; Mon, 25 Feb 2002 09:54:01 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15482.27689.514402.133071@caddis.yogotech.com> Date: Mon, 25 Feb 2002 09:54:01 -0700 To: Jay Sachs Cc: freebsd-java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 In-Reply-To: <3C7A6A5C.7060908@eziba.com> References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> <15482.26816.891227.469480@caddis.yogotech.com> <3C7A6A5C.7060908@eziba.com> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > >>Does the bsd.java.mk effort means we will soon be able to build jdk1.3.1p6 > >>using jikes (with $JAVAC variable correctly set up) ? > >> > > > > Almost certainly not, since the building of the JDK is really tied to > > having an existing JDK for things other than compiling. :( > > > > But does that preclude using jikes for compilation? It might be tricky > to integrate, but it would certainly speed up the build. Sure, but hopefully (knock on wood) we will get a binary release of the JDK out soon enough, such that regular users won't have to compile the JDK at all. The reasons for not using Jikes is not a good idea (IMHO) is: 1) It requires alot of changes to the existing Makefile structure as released from Sun. 2) Even if #1 is done, we would have to maintain these changes on our own, and Sun has shown a propensity to radically change the build environment between releases, such that the work would have to be redone everytime a new release of the JDK was released. 3) The number of times a user has to build the JDK should be *very* small (once every 6 months or so), so the amount of work saved vs. the amount of time saved is very little (IMO). A binary release would solve most of the user problems, so hopefully that will happen soon. (And no, I don't know when it will happen.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9: 4:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id DAE8437B405 for ; Mon, 25 Feb 2002 09:04:34 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PH4Pg08912; Mon, 25 Feb 2002 18:04:25 +0100 (CET) (envelope-from ernst) Message-Id: <200202251704.g1PH4Pg08912@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: nate@yogotech.com (Nate Williams), Jay Sachs Subject: Re: bsd.java.mk and native jdk1.3.1p6 Date: Mon, 25 Feb 2002 18:04:25 +0100 X-Mailer: KMail [version 1.3.2] Cc: freebsd-java@FreeBSD.ORG References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> <3C7A6A5C.7060908@eziba.com> <15482.27689.514402.133071@caddis.yogotech.com> In-Reply-To: <15482.27689.514402.133071@caddis.yogotech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Nate, I'm quite stubborn, I know: > 1) It requires alot of changes to the existing Makefile structure as > released from Sun. Perhaps some ${SED} magic ? :-) > 2) Even if #1 is done, we would have to maintain these changes on our > own, and Sun has shown a propensity to radically change the build > environment between releases, such that the work would have to be > redone everytime a new release of the JDK was released. If we would be able to use ${SED} magic, then perhaps this won't be necessary? > 3) The number of times a user has to build the JDK should be *very* > small (once every 6 months or so), so the amount of work saved > vs. the amount of time saved is very little (IMO). Well, up until now, we have no JDK, so people do need to compile the whole thing :-) And even if we had a binary JDK: Making the life of the porters easier is in my opinion even more important than making the life easier of normal users ;-) Sincerely, Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9: 6:21 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 0544637B400 for ; Mon, 25 Feb 2002 09:06:14 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PH6Bq08926; Mon, 25 Feb 2002 18:06:11 +0100 (CET) (envelope-from ernst) Message-Id: <200202251706.g1PH6Bq08926@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Mikhail Kruk Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk Date: Mon, 25 Feb 2002 18:06:11 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Mikhail, > how come keytool isn't there? I can imagine a port installation requiring > keytool.. at least more likely than java_n2a. Next version... next version... :-) > Also shouldn't ant be included too? See one of my previous emails. Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9: 7:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from firewall.ox.com (firewall.ox.com [129.77.1.1]) by hub.freebsd.org (Postfix) with ESMTP id 4EE5F37B417 for ; Mon, 25 Feb 2002 09:07:14 -0800 (PST) Received: from firewall.ox.com (root@localhost) by firewall.ox.com with ESMTP id g1PH7DL25679 for ; Mon, 25 Feb 2002 12:07:13 -0500 (EST) Received: from pur-sv-tumbmms1.ox.com (pur-sv-tumbmms1.ox.com [129.77.103.5]) by firewall.ox.com with SMTP id g1PH7DX25675 for ; Mon, 25 Feb 2002 12:07:13 -0500 (EST) Received: from 129.77.2.97 by pur-sv-tumbmms1.ox.com with ESMTP ( Tumbleweed MMS SMTP Relay (MMS v4.7)); Mon, 25 Feb 2002 12:07:13 -0500 X-Server-Uuid: 7c16403c-60dc-47d4-9228-e9695ec29764 Message-ID: <3C7A6F41.70308@ox.com> Date: Mon, 25 Feb 2002 12:07:13 -0500 From: "Robert Furphy" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020220 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Re: Java with simpler tools - question References: <15482.27006.112444.64119@caddis.yogotech.com> X-WSS-ID: 1064B0CB147803-01-01 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 I've done the same thing as Nate (used to do) for years now and find it completely workable. The html documemtation has kept up with the "plethora of new classes/methods in later releases". These docs stay the most up to date with each release. The beta docs even give you a peek at what's coming so you can account for it in new development. I keep locally downloaded copies for speed of access with a bookmark to api/index.html. Rob Nate Williams wrote: >>So when you are developing Java under FreeBSD, and if you choose to >> >use > >>basic editors and not IDEs, what references do you keep open to >>substitute for all the API and Class help that IDEs normally offer? >> > >When *I* did Java work, all those years ago (*sigh*), I used netscape >with the standard documentation up. > >Also, The Addison Wessley books were invaluable with well written >docuementation that included good examples in most classes of how to use >the functions. However, I don't know if they've been able to keep up >with the plethora of new classes/methods in later releases. > >I found that it was sometimes more work to lookup the API/Classes within >the IDE, but that may have been because I got used to doing things a >different way. > > >Nate > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-java" in the body of the message > -- F.Y.I. Due to severe bugs in Microsoft Outlook, Outlook users may not be able to read beyond this point... begin Your mail client is begin-bug free. [;-)] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9: 8:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 35AE537B400 for ; Mon, 25 Feb 2002 09:08:04 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA26809; Mon, 25 Feb 2002 10:07:16 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1PH7GV29867; Mon, 25 Feb 2002 10:07:16 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15482.28484.144473.915897@caddis.yogotech.com> Date: Mon, 25 Feb 2002 10:07:16 -0700 To: Ernst de Haan Cc: nate@yogotech.com (Nate Williams), Jay Sachs , freebsd-java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 In-Reply-To: <200202251704.g1PH4Pg08912@zaphod.euronet.nl> References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> <3C7A6A5C.7060908@eziba.com> <15482.27689.514402.133071@caddis.yogotech.com> <200202251704.g1PH4Pg08912@zaphod.euronet.nl> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > I'm quite stubborn, I know: > > > 1) It requires alot of changes to the existing Makefile structure as > > released from Sun. > > Perhaps some ${SED} magic ? :-) Unfortunately, it's not that easy (seriously). > > 2) Even if #1 is done, we would have to maintain these changes on our > > own, and Sun has shown a propensity to radically change the build > > environment between releases, such that the work would have to be > > redone everytime a new release of the JDK was released. > > If we would be able to use ${SED} magic, then perhaps this won't be > necessary? See above. > > 3) The number of times a user has to build the JDK should be *very* > > small (once every 6 months or so), so the amount of work saved > > vs. the amount of time saved is very little (IMO). > > Well, up until now, we have no JDK, so people do need to compile the whole > thing :-) Agreed. Hopefully that will change soon. > And even if we had a binary JDK: Making the life of the porters > easier is in my opinion even more important than making the life easier of > normal users ;-) Sure, but having a binary version will make the life of the porters *much* *much* *much* easier. And, don't forget that the porters are volunteers. If you make the life of the porters too hard or place unreasonable expectation of them, they may no longer provide any help to the normal users. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9: 9:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by hub.freebsd.org (Postfix) with ESMTP id D743837B402 for ; Mon, 25 Feb 2002 09:09:32 -0800 (PST) Received: from vee.net (wintermute.home.vee.net [203.18.245.2]) by smtp0.adl1.internode.on.net (8.11.6/8.11.6) with ESMTP id g1PH98a38621; Tue, 26 Feb 2002 03:39:09 +1030 (CST) (envelope-from mike@vee.net) Message-ID: <3C7A6F0E.4020706@vee.net> Date: Tue, 26 Feb 2002 03:36:22 +1030 From: Mike Gratton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020221 X-Accept-Language: en-au, en-gb MIME-Version: 1.0 To: j mckitrick Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java with simpler tools - question References: <20020225163854.A48327@dogma.freebsd-uk.eu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 j mckitrick wrote: > So when you are developing Java under FreeBSD, and if you choose to use > basic editors and not IDEs, what references do you keep open to > substitute for all the API and Class help that IDEs normally offer? Mozilla, and a copy of the Javadoc for all the APIs I'm using in the project I'm working on. I usually find that well written Javadoc and maybe some sample code is all I need to get up to speed with a particular component or library. If you have you Javadoc organised into a useful directory structure, then add a bookmark on Moz's Personal Toolbar pointing to the root of that directory structure, Moz will display the bookmark as a folder, and allow you to navigate through all subdirectories thereof. This makes it extremely easy to get to all of your documentation and because it handles this automatically, you don't need to continually update your bookmarks to point to any new additions. BTW, whilst I did't point it out in the other "Which IDE?" thread, but I use Emacs+JDE and Ant for all my Java development, and Moz for documentation as outlined above. HTH, Mike. -- Mike Gratton "Every motive escalate." Blatant self-promotion: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9:13: 3 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id D447D37B405 for ; Mon, 25 Feb 2002 09:12:56 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PHCnu08937; Mon, 25 Feb 2002 18:12:49 +0100 (CET) (envelope-from ernst) Message-Id: <200202251712.g1PHCnu08937@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: nate@yogotech.com (Nate Williams) Subject: Re: bsd.java.mk and native jdk1.3.1p6 Date: Mon, 25 Feb 2002 18:12:49 +0100 X-Mailer: KMail [version 1.3.2] Cc: nate@yogotech.com (Nate Williams), Jay Sachs , freebsd-java@FreeBSD.ORG References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> <200202251704.g1PH4Pg08912@zaphod.euronet.nl> <15482.28484.144473.915897@caddis.yogotech.com> In-Reply-To: <15482.28484.144473.915897@caddis.yogotech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Nate, > > Perhaps some ${SED} magic ? :-) > > Unfortunately, it's not that easy (seriously). Okay, you're more into that than me, so I guess you're probably right. > > And even if we had a binary JDK: Making the life of the porters > > easier is in my opinion even more important than making the life easier > > of normal users ;-) > > Sure, but having a binary version will make the life of the porters > *much* *much* *much* easier. And, don't forget that the porters are > volunteers. > > If you make the life of the porters too hard or place unreasonable > expectation of them, they may no longer provide any help to the normal > users. This does not make sense to me. I was saying that I *would* like to make the life of porters easier, as I stated above. Allowing them to compile things faster, using Jikes, was something I considered an advantage for them. :-) Sincerely, Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9:16:30 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 0F94E37B404; Mon, 25 Feb 2002 09:16:28 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA27156; Mon, 25 Feb 2002 10:15:40 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1PHFcZ30187; Mon, 25 Feb 2002 10:15:38 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15482.28986.122736.283512@caddis.yogotech.com> Date: Mon, 25 Feb 2002 10:15:38 -0700 To: Ernst de Haan Cc: nate@yogotech.com (Nate Williams), Jay Sachs , freebsd-java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 In-Reply-To: <200202251712.g1PHCnu08937@zaphod.euronet.nl> References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> <200202251704.g1PH4Pg08912@zaphod.euronet.nl> <15482.28484.144473.915897@caddis.yogotech.com> <200202251712.g1PHCnu08937@zaphod.euronet.nl> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > Unfortunately, it's not that easy (seriously). > > Okay, you're more into that than me, so I guess you're probably right. > > > > And even if we had a binary JDK: Making the life of the porters > > > easier is in my opinion even more important than making the life easier > > > of normal users ;-) > > > > Sure, but having a binary version will make the life of the porters > > *much* *much* *much* easier. And, don't forget that the porters are > > volunteers. > > > > If you make the life of the porters too hard or place unreasonable > > expectation of them, they may no longer provide any help to the normal > > users. > > This does not make sense to me. I was saying that I *would* like to make the > life of porters easier, as I stated above. Allowing them to compile things > faster, using Jikes, was something I considered an advantage for them. :-) Right, but the java-porters who maintain the JDK have to maintain the patches you provide to cause the JDK-build to use jikes in subsequent releases, which may make their life harder. See previous email. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9:17:46 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id F2F5F37B400 for ; Mon, 25 Feb 2002 09:17:42 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g1PHOkT70556; Mon, 25 Feb 2002 18:24:47 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Mon, 25 Feb 2002 18:24:46 +0100 (CET) From: Herve Quiroz To: Nate Williams Cc: freebsd-java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 In-Reply-To: <15482.27689.514402.133071@caddis.yogotech.com> Message-ID: <20020225181523.E67358-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE 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 > Sure, but hopefully (knock on wood) we will get a binary release of the > JDK out soon enough, such that regular users won't have to compile the > JDK at all. Sounds geek but I prefer compiling that installing binaries. But I agree most users will use the binary distribution available. > The reasons for not using Jikes is not a good idea (IMHO) is: > > 1) It requires alot of changes to the existing Makefile structure as > released from Sun. Maybe some awk/sed surgery... ;) > 2) Even if #1 is done, we would have to maintain these changes on our > own, and Sun has shown a propensity to radically change the build > environment between releases, such that the work would have to be > redone everytime a new release of the JDK was released. Maybe the #1 surgery could be (quite) easily preformed again with just some little modification. > A binary release would solve most of the user problems, so hopefully > that will happen soon. (And no, I don't know when it will happen.) Soon people all around the world will bow before the Java/FreeBSD alliance brandishing the HotSpot banner... but not before a 10+ hours of compiling :( Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9:19:47 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 6F6EC37B402 for ; Mon, 25 Feb 2002 09:19:40 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA27316; Mon, 25 Feb 2002 10:19:39 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1PHJb830248; Mon, 25 Feb 2002 10:19:37 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15482.29225.183484.547813@caddis.yogotech.com> Date: Mon, 25 Feb 2002 10:19:37 -0700 To: Herve Quiroz Cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 In-Reply-To: <20020225181523.E67358-100000@puget.esil.univ-mrs.fr> References: <15482.27689.514402.133071@caddis.yogotech.com> <20020225181523.E67358-100000@puget.esil.univ-mrs.fr> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > Sure, but hopefully (knock on wood) we will get a binary release of the > > JDK out soon enough, such that regular users won't have to compile the > > JDK at all. > > Sounds geek but I prefer compiling that installing binaries. Most do not. Especially something as complicated as the JDK. Also, in the future we may (??) get access to software bits that normal users can't compile (due to legal reasons), so you may be forced to use a pre-compiled binary if you want a newer JDK (1.4) with HotSpot or something. (However, I'm just guessing.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9:24:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 395B337B405 for ; Mon, 25 Feb 2002 09:24:34 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA27509; Mon, 25 Feb 2002 10:24:23 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1PHOKt30337; Mon, 25 Feb 2002 10:24:20 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15482.29508.429438.172841@caddis.yogotech.com> Date: Mon, 25 Feb 2002 10:24:20 -0700 To: nate@yogotech.com (Nate Williams) Cc: Herve Quiroz , freebsd-java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 In-Reply-To: <15482.29225.183484.547813@caddis.yogotech.com> References: <15482.27689.514402.133071@caddis.yogotech.com> <20020225181523.E67358-100000@puget.esil.univ-mrs.fr> <15482.29225.183484.547813@caddis.yogotech.com> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > > Sure, but hopefully (knock on wood) we will get a binary release of the > > > JDK out soon enough, such that regular users won't have to compile the > > > JDK at all. > > > > Sounds geek but I prefer compiling that installing binaries. > > Most do not. Especially something as complicated as the JDK. Also, in > the future we may (??) get access to software bits that normal users > can't compile (due to legal reasons), so you may be forced to use a > pre-compiled binary if you want a newer JDK (1.4) with HotSpot or > something. (However, I'm just guessing.) To clear things up, when I saw 'we' above, I mean the FreeBSD users. I've very little influence on how the java-porters do their job anymore, as I've not done anything technical in years. In no way am I implying that they will get access to technology, let alone port this newer JDK technology to FreeBSD. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9:39:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 4149337B400; Mon, 25 Feb 2002 09:39:36 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g1PHdU5s048284; Mon, 25 Feb 2002 12:39:30 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200202251018.g1PAIqi02136@zaphod.euronet.nl> References: <200202251018.g1PAIqi02136@zaphod.euronet.nl> Date: Mon, 25 Feb 2002 12:39:29 -0500 To: Ernst de Haan , portmgr@FreeBSD.ORG From: Garance A Drosihn Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk Cc: ports@FreeBSD.ORG, java@FreeBSD.ORG, sobomax@FreeBSD.ORG, kevlo@FreeBSD.ORG, sebster@sebster.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 At 11:18 AM +0100 2/25/02, Ernst de Haan wrote: >This bsd.java.mk is loosely based on the following proposal: > >http://www.metaverse.nl/~ernst/freebsd-java-proposal-20011116.html > >It is loosely modelled after bsd.ruby.mk. I should note that bsd.ruby.mk has a few rough edges, and it needs to be fixed up. (actually, what I should do is write a PR which says this, but I keep hoping to figure out what the problem is, so I could include a patch in the PR...) -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9:44:57 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 6904737B41A; Mon, 25 Feb 2002 09:44:51 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PHilj09014; Mon, 25 Feb 2002 18:44:47 +0100 (CET) (envelope-from ernst) Message-Id: <200202251744.g1PHilj09014@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Garance A Drosihn , portmgr@FreeBSD.ORG Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk Date: Mon, 25 Feb 2002 18:44:47 +0100 X-Mailer: KMail [version 1.3.2] Cc: ports@FreeBSD.ORG, java@FreeBSD.ORG, sobomax@FreeBSD.ORG, kevlo@FreeBSD.ORG, sebster@sebster.org References: <200202251018.g1PAIqi02136@zaphod.euronet.nl> In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Garance, > >It is loosely modelled after bsd.ruby.mk. > > I should note that bsd.ruby.mk has a few rough edges, and it > needs to be fixed up. That's why it's *loosely* modelled after bsd.ruby.mk ;-) The bsd.java.mk file is very simple in its current form, so my guess is that whatever your problems are with the bsd.ruby.mk, they probably don't apply to the bsd.java.mk. :) Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9:47:45 2002 Delivered-To: freebsd-java@freebsd.org Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by hub.freebsd.org (Postfix) with ESMTP id ACA4037B404; Mon, 25 Feb 2002 09:47:34 -0800 (PST) Received: (from remco@localhost) by azrael.xs4all.nl (8.11.6/8.11.6) id g1PHlUq41966; Mon, 25 Feb 2002 18:47:30 +0100 (CET) (envelope-from remco) Date: Mon, 25 Feb 2002 18:47:30 +0100 From: "Remco van 't Veer" To: Ernst de Haan Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: Port www/jakarta-tomcat refactored Message-ID: <20020225174730.GJ88307@azrael.xs4all.nl> References: <200202212033.g1LKXv256350@zaphod.euronet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202212033.g1LKXv256350@zaphod.euronet.nl> User-Agent: Mutt/1.3.27i X-Spook: tekka BNC Hmong van Balen Lanceros SE Treasury WISDIM WHCA AIMSX 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 I've cvsup-ed this morning and tried to upgrade tomcat but the install crashes and burns. As you can see from the output below the www user and group are not created, IOW the pkg-install script is not called. Other ports like apache2 have a call to the pkg-install script in the pre-install Makefile target. Adding: ${SH} pkg-install ${PKGNAME} PRE-INSTALL to the end of the pre-install target seem to fix this problem. Regards, Remco # make install ===> Extracting for jakarta-tomcat-3.2.4_2 >> Checksum OK for jakarta-tomcat-3.2.4.tar.gz. ===> Patching for jakarta-tomcat-3.2.4_2 ===> Applying FreeBSD patches for jakarta-tomcat-3.2.4_2 ===> Configuring for jakarta-tomcat-3.2.4_2 ===> Installing for jakarta-tomcat-3.2.4_2 ===> jakarta-tomcat-3.2.4_2 depends on file: /usr/local/jdk1.3.1/bin/javac - found Installation settings: Destination directory: /usr/local/jakarta-tomcat3.2.4 Control script location: /usr/local/bin/tomcatctl Startup script location: /usr/local/etc/rc.d/020.jakarta-tomcat.sh Location of JDK: /usr/local/jdk1.3.1 Location of Java port: /usr/ports/java/jdk13 Running as (user/group): www/www Port to listen at: 8080 Logfile stdout: /usr/local/jakarta-tomcat3.2.4/logs/stdout.log Logfile stderr: /usr/local/jakarta-tomcat3.2.4/logs/stderr.log Starting after install: NO /bin/mkdir -p /usr/local/jakarta-tomcat3.2.4 /bin/rm -f `/usr/bin/find /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4 -name '*.bat'` /bin/rm -f `/usr/bin/find /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4 -name '*.orig'` /bin/cp -R /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4/* /usr/local/jakarta-tomcat3.2.4 /bin/chmod 755 `find /usr/local/jakarta-tomcat3.2.4 -type d` /bin/cat /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4/conf/workers.properties | /usr/bin/sed "/%%TOMCAT_HOME%%/s//\/usr\/local\/jakarta-tomcat3.2.4/" | /usr/bin/sed "/%%JAVA_HOME%%/s//\/usr\/local\/jdk1.3.1/" > /big/ports/www/jakarta-tomcat/work/workers.properties /bin/mv /big/ports/www/jakarta-tomcat/work/workers.properties /usr/local/jakarta-tomcat3.2.4/conf/workers.properties /bin/cat /big/ports/www/jakarta-tomcat/files/jakarta-tomcat.sh | /usr/bin/sed "/%%USER_NAME%%/s//www/" | /usr/bin/sed "/%%APP_SHORTNAME%%/s//tomcat/" | /usr/bin/sed "/%%CONTROL_SCRIPT%%/s//\/usr\/local\/bin\/tomcatctl/" > /usr/local/etc/rc.d/020.jakarta-tomcat.sh /bin/chmod 0554 /usr/local/etc/rc.d/020.jakarta-tomcat.sh /bin/cat /big/ports/www/jakarta-tomcat/files/tomcatctl | /usr/bin/sed "/%%PORTNAME%%/s//jakarta-tomcat/" | /usr/bin/sed "/%%APP_TITLE%%/s//Jakarta Tomcat/" | /usr/bin/sed "/%%APP_SHORTNAME%%/s//tomcat/" | /usr/bin/sed "/%%APP_HOME%%/s//\/usr\/local\/jakarta-tomcat3.2.4/" | /usr/bin/sed "/%%LOG_DIR%%/s//\/usr\/local\/jakarta-tomcat3.2.4\/logs/" | /usr/bin/sed "/%%STARTUP_SCRIPT_NAME%%/s//jakarta-tomcat.sh/" | /usr/bin/sed "/%%JAVA_HOME%%/s//\/usr\/local\/jdk1.3.1/" | /usr/bin/sed "/%%USER_NAME%%/s//www/" | /usr/bin/sed "/%%STDOUT_LOG%%/s//\/usr\/local\/jakarta-tomcat3.2.4\/logs\/stdout.log/" | /usr/bin/sed "/%%STDERR_LOG%%/s//\/usr\/local\/jakarta-tomcat3.2.4\/logs\/stderr.log/" > /usr/local/bin/tomcatctl /usr/sbin/chown www:www /usr/local/bin/tomcatctl chown: www: illegal group name *** Error code 1 Stop in /big/ports/www/jakarta-tomcat. *** Error code 1 Stop in /big/ports/www/jakarta-tomcat. *** Error code 1 Stop in /big/ports/www/jakarta-tomcat. On Thu, Feb 21, 2002 at 21:33, Ernst de Haan wrote: > Hi all, > > Just finished refactoring the Jakarta Tomcat port (www/jakarta-tomcat). There > were a lot of suggestions and comments, and I tried to squeeze them all in. > Any comments on the new version would be more than welcome. Just make install > (or portupgrade) after a cvsup :) > > Next thing for me to do is sort out the mod_jk problems.... > > Ernst -- We resolve to execute a strategic plan involving synergizing our frictionless communities as part of our five-year plan to embrace leadership skills to permit us to produce a higher quality product line that kicks the competition's butt. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 9:51:34 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 0CD6E37B402; Mon, 25 Feb 2002 09:51:21 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1PHpJm09064; Mon, 25 Feb 2002 18:51:19 +0100 (CET) (envelope-from ernst) Message-Id: <200202251751.g1PHpJm09064@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: "Remco van 't Veer" Subject: Re: Port www/jakarta-tomcat refactored Date: Mon, 25 Feb 2002 18:51:19 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG References: <200202212033.g1LKXv256350@zaphod.euronet.nl> <20020225174730.GJ88307@azrael.xs4all.nl> In-Reply-To: <20020225174730.GJ88307@azrael.xs4all.nl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Huh? What version of FreeBSD have you? /me ponders Will have to look into this later. Please file a PR. Ernst On Monday 25 February 2002 18:47, Remco van 't Veer wrote: > I've cvsup-ed this morning and tried to upgrade tomcat but the > install crashes and burns. As you can see from the output below > the www user and group are not created, IOW the pkg-install > script is not called. > > Other ports like apache2 have a call to the pkg-install script in > the pre-install Makefile target. Adding: > > ${SH} pkg-install ${PKGNAME} PRE-INSTALL > > to the end of the pre-install target seem to fix this problem. > > Regards, > Remco > > > # make install > ===> Extracting for jakarta-tomcat-3.2.4_2 > > >> Checksum OK for jakarta-tomcat-3.2.4.tar.gz. > > ===> Patching for jakarta-tomcat-3.2.4_2 > ===> Applying FreeBSD patches for jakarta-tomcat-3.2.4_2 > ===> Configuring for jakarta-tomcat-3.2.4_2 > ===> Installing for jakarta-tomcat-3.2.4_2 > ===> jakarta-tomcat-3.2.4_2 depends on file: > /usr/local/jdk1.3.1/bin/javac - found Installation settings: > Destination directory: /usr/local/jakarta-tomcat3.2.4 > Control script location: /usr/local/bin/tomcatctl > Startup script location: /usr/local/etc/rc.d/020.jakarta-tomcat.sh > Location of JDK: /usr/local/jdk1.3.1 > Location of Java port: /usr/ports/java/jdk13 > Running as (user/group): www/www > Port to listen at: 8080 > Logfile stdout: /usr/local/jakarta-tomcat3.2.4/logs/stdout.log > Logfile stderr: /usr/local/jakarta-tomcat3.2.4/logs/stderr.log > Starting after install: NO > /bin/mkdir -p /usr/local/jakarta-tomcat3.2.4 > /bin/rm -f `/usr/bin/find > /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4 -name '*.bat'` > /bin/rm -f `/usr/bin/find > /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4 -name '*.orig'` > /bin/cp -R /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4/* > /usr/local/jakarta-tomcat3.2.4 /bin/chmod 755 `find > /usr/local/jakarta-tomcat3.2.4 -type d` > /bin/cat > /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4/conf/workers.proper >ties | /usr/bin/sed > "/%%TOMCAT_HOME%%/s//\/usr\/local\/jakarta-tomcat3.2.4/" | /usr/bin/sed > "/%%JAVA_HOME%%/s//\/usr\/local\/jdk1.3.1/" > > /big/ports/www/jakarta-tomcat/work/workers.properties /bin/mv > /big/ports/www/jakarta-tomcat/work/workers.properties > /usr/local/jakarta-tomcat3.2.4/conf/workers.properties /bin/cat > /big/ports/www/jakarta-tomcat/files/jakarta-tomcat.sh | /usr/bin/sed > "/%%USER_NAME%%/s//www/" | /usr/bin/sed "/%%APP_SHORTNAME%%/s//tomcat/" | > /usr/bin/sed "/%%CONTROL_SCRIPT%%/s//\/usr\/local\/bin\/tomcatctl/" > > /usr/local/etc/rc.d/020.jakarta-tomcat.sh /bin/chmod 0554 > /usr/local/etc/rc.d/020.jakarta-tomcat.sh > /bin/cat /big/ports/www/jakarta-tomcat/files/tomcatctl | /usr/bin/sed > "/%%PORTNAME%%/s//jakarta-tomcat/" | /usr/bin/sed > "/%%APP_TITLE%%/s//Jakarta Tomcat/" | /usr/bin/sed > "/%%APP_SHORTNAME%%/s//tomcat/" | /usr/bin/sed > "/%%APP_HOME%%/s//\/usr\/local\/jakarta-tomcat3.2.4/" | /usr/bin/sed > "/%%LOG_DIR%%/s//\/usr\/local\/jakarta-tomcat3.2.4\/logs/" | /usr/bin/sed > "/%%STARTUP_SCRIPT_NAME%%/s//jakarta-tomcat.sh/" | /usr/bin/sed > "/%%JAVA_HOME%%/s//\/usr\/local\/jdk1.3.1/" | /usr/bin/sed > "/%%USER_NAME%%/s//www/" | /usr/bin/sed > "/%%STDOUT_LOG%%/s//\/usr\/local\/jakarta-tomcat3.2.4\/logs\/stdout.log/" > | /usr/bin/sed > "/%%STDERR_LOG%%/s//\/usr\/local\/jakarta-tomcat3.2.4\/logs\/stderr.log/" > > /usr/local/bin/tomcatctl /usr/sbin/chown www:www /usr/local/bin/tomcatctl > chown: www: illegal group name > *** Error code 1 > > Stop in /big/ports/www/jakarta-tomcat. > *** Error code 1 > > Stop in /big/ports/www/jakarta-tomcat. > *** Error code 1 > > Stop in /big/ports/www/jakarta-tomcat. > > On Thu, Feb 21, 2002 at 21:33, Ernst de Haan wrote: > > Hi all, > > > > Just finished refactoring the Jakarta Tomcat port (www/jakarta-tomcat). > > There were a lot of suggestions and comments, and I tried to squeeze them > > all in. Any comments on the new version would be more than welcome. Just > > make install (or portupgrade) after a cvsup :) > > > > Next thing for me to do is sort out the mod_jk problems.... > > > > Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 10:55:47 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 9922837B400; Mon, 25 Feb 2002 10:55:36 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g1PIcd5s032856; Mon, 25 Feb 2002 13:38:39 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200202251744.g1PHilj09014@zaphod.euronet.nl> References: <200202251018.g1PAIqi02136@zaphod.euronet.nl> <200202251744.g1PHilj09014@zaphod.euronet.nl> Date: Mon, 25 Feb 2002 13:38:38 -0500 To: Ernst de Haan , portmgr@FreeBSD.ORG From: Garance A Drosihn Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk (+ruby) Cc: ports@FreeBSD.ORG, java@FreeBSD.ORG, sobomax@FreeBSD.ORG, kevlo@FreeBSD.ORG, knu@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 At 6:44 PM +0100 2/25/02, Ernst de Haan wrote: >Garance, > >> >It is loosely modelled after bsd.ruby.mk. >> >> I should note that bsd.ruby.mk has a few rough edges, and it >> needs to be fixed up. > >That's why it's *loosely* modelled after bsd.ruby.mk ;-) > >The bsd.java.mk file is very simple in its current form, so my >guess is that whatever your problems are with the bsd.ruby.mk, >they probably don't apply to the bsd.java.mk. :) I'm being pestered with "emergency" phone calls at the moment, so my last message wasn't as useful as it should have been. I should have done a bit more checking into the problem, and at least described what the problem was! This will seem a bit contorted, but it's a trap I fell into one time by mistake, and it took me quite awhile to figure out how I got there and how to get out of it... If you go into a port like 'portupgrade', and do a 'make', you will see some familiar-looking messages such as: Warning: Object directory not changed from original /usr/ports/sysutils/portupgrade/work/pkgtools-... A person *might* then be tempted to do something like: make clean make extract cd work/pkgtools-20020204 make obj cd ../.. # back to the sysutils/portupgrade level make [at the time I was trying to figure out a different problem with portugprade, so in my situation it wasn't quite as crazy to do that 'make obj' as it seems in this message... :-) ] At this point, 'make's done at the port-level will fail with various weird errors. I got as far as making a patch to bsd.ruby.mk which solved some of those problems, and then I ran into a problem which was too complicated for me to figure out at the time. While it may be a bit odd to do the 'make obj', the warning messages certainly imply that it would be reasonable to do, and the target is recognized and does work. But if that 'make obj' is done, then the port will no longer work. So, you might want to check this new bsd.java.mk, and see if it has this same problem as bsd.ruby.mk does. -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 11: 3:29 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 1BC7B37B4B8 for ; Mon, 25 Feb 2002 11:02:11 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1PJ2Ai17726 for java@freebsd.org; Mon, 25 Feb 2002 11:02:10 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 25 Feb 2002 11:02:10 -0800 (PST) Message-Id: <200202251902.g1PJ2Ai17726@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you 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 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/11/01] ports/31688 java JDK 1.3.1 Update for Sun's Java Communica o [2002/01/20] ports/34099 java /usr/ports/java/jdk13 fails to build 2 problems total. Non-critical problems To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 11:11:20 2002 Delivered-To: freebsd-java@freebsd.org Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by hub.freebsd.org (Postfix) with ESMTP id A159137B400; Mon, 25 Feb 2002 11:11:08 -0800 (PST) Received: (from remco@localhost) by azrael.xs4all.nl (8.11.6/8.11.6) id g1PJAxo52250; Mon, 25 Feb 2002 20:10:59 +0100 (CET) (envelope-from remco) Date: Mon, 25 Feb 2002 20:10:59 +0100 From: "Remco van 't Veer" To: Ernst de Haan Cc: "Remco van 't Veer" , java@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: Port www/jakarta-tomcat refactored Message-ID: <20020225191059.GK88307@azrael.xs4all.nl> References: <200202212033.g1LKXv256350@zaphod.euronet.nl> <20020225174730.GJ88307@azrael.xs4all.nl> <200202251751.g1PHpJm09064@zaphod.euronet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202251751.g1PHpJm09064@zaphod.euronet.nl> User-Agent: Mutt/1.3.27i X-Spook: tekka BNC Hmong van Balen Lanceros SE Treasury WISDIM WHCA AIMSX 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 $ uname -r 4.4-RELEASE I'll upgrade to 4.5-RELEASE and try again. :( On Mon, Feb 25, 2002 at 18:51, Ernst de Haan wrote: > Huh? What version of FreeBSD have you? > > /me ponders > > Will have to look into this later. Please file a PR. > > > Ernst > > > On Monday 25 February 2002 18:47, Remco van 't Veer wrote: > > I've cvsup-ed this morning and tried to upgrade tomcat but the > > install crashes and burns. As you can see from the output below > > the www user and group are not created, IOW the pkg-install > > script is not called. > > > > Other ports like apache2 have a call to the pkg-install script in > > the pre-install Makefile target. Adding: > > > > ${SH} pkg-install ${PKGNAME} PRE-INSTALL > > > > to the end of the pre-install target seem to fix this problem. > > > > Regards, > > Remco > > > > > > # make install > > ===> Extracting for jakarta-tomcat-3.2.4_2 > > > > >> Checksum OK for jakarta-tomcat-3.2.4.tar.gz. > > > > ===> Patching for jakarta-tomcat-3.2.4_2 > > ===> Applying FreeBSD patches for jakarta-tomcat-3.2.4_2 > > ===> Configuring for jakarta-tomcat-3.2.4_2 > > ===> Installing for jakarta-tomcat-3.2.4_2 > > ===> jakarta-tomcat-3.2.4_2 depends on file: > > /usr/local/jdk1.3.1/bin/javac - found Installation settings: > > Destination directory: /usr/local/jakarta-tomcat3.2.4 > > Control script location: /usr/local/bin/tomcatctl > > Startup script location: /usr/local/etc/rc.d/020.jakarta-tomcat.sh > > Location of JDK: /usr/local/jdk1.3.1 > > Location of Java port: /usr/ports/java/jdk13 > > Running as (user/group): www/www > > Port to listen at: 8080 > > Logfile stdout: /usr/local/jakarta-tomcat3.2.4/logs/stdout.log > > Logfile stderr: /usr/local/jakarta-tomcat3.2.4/logs/stderr.log > > Starting after install: NO > > /bin/mkdir -p /usr/local/jakarta-tomcat3.2.4 > > /bin/rm -f `/usr/bin/find > > /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4 -name '*.bat'` > > /bin/rm -f `/usr/bin/find > > /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4 -name '*.orig'` > > /bin/cp -R /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4/* > > /usr/local/jakarta-tomcat3.2.4 /bin/chmod 755 `find > > /usr/local/jakarta-tomcat3.2.4 -type d` > > /bin/cat > > /big/ports/www/jakarta-tomcat/work/jakarta-tomcat-3.2.4/conf/workers.proper > >ties | /usr/bin/sed > > "/%%TOMCAT_HOME%%/s//\/usr\/local\/jakarta-tomcat3.2.4/" | /usr/bin/sed > > "/%%JAVA_HOME%%/s//\/usr\/local\/jdk1.3.1/" > > > /big/ports/www/jakarta-tomcat/work/workers.properties /bin/mv > > /big/ports/www/jakarta-tomcat/work/workers.properties > > /usr/local/jakarta-tomcat3.2.4/conf/workers.properties /bin/cat > > /big/ports/www/jakarta-tomcat/files/jakarta-tomcat.sh | /usr/bin/sed > > "/%%USER_NAME%%/s//www/" | /usr/bin/sed "/%%APP_SHORTNAME%%/s//tomcat/" | > > /usr/bin/sed "/%%CONTROL_SCRIPT%%/s//\/usr\/local\/bin\/tomcatctl/" > > > /usr/local/etc/rc.d/020.jakarta-tomcat.sh /bin/chmod 0554 > > /usr/local/etc/rc.d/020.jakarta-tomcat.sh > > /bin/cat /big/ports/www/jakarta-tomcat/files/tomcatctl | /usr/bin/sed > > "/%%PORTNAME%%/s//jakarta-tomcat/" | /usr/bin/sed > > "/%%APP_TITLE%%/s//Jakarta Tomcat/" | /usr/bin/sed > > "/%%APP_SHORTNAME%%/s//tomcat/" | /usr/bin/sed > > "/%%APP_HOME%%/s//\/usr\/local\/jakarta-tomcat3.2.4/" | /usr/bin/sed > > "/%%LOG_DIR%%/s//\/usr\/local\/jakarta-tomcat3.2.4\/logs/" | /usr/bin/sed > > "/%%STARTUP_SCRIPT_NAME%%/s//jakarta-tomcat.sh/" | /usr/bin/sed > > "/%%JAVA_HOME%%/s//\/usr\/local\/jdk1.3.1/" | /usr/bin/sed > > "/%%USER_NAME%%/s//www/" | /usr/bin/sed > > "/%%STDOUT_LOG%%/s//\/usr\/local\/jakarta-tomcat3.2.4\/logs\/stdout.log/" > > | /usr/bin/sed > > "/%%STDERR_LOG%%/s//\/usr\/local\/jakarta-tomcat3.2.4\/logs\/stderr.log/" > > > /usr/local/bin/tomcatctl /usr/sbin/chown www:www /usr/local/bin/tomcatctl > > chown: www: illegal group name > > *** Error code 1 > > > > Stop in /big/ports/www/jakarta-tomcat. > > *** Error code 1 > > > > Stop in /big/ports/www/jakarta-tomcat. > > *** Error code 1 > > > > Stop in /big/ports/www/jakarta-tomcat. > > > > On Thu, Feb 21, 2002 at 21:33, Ernst de Haan wrote: > > > Hi all, > > > > > > Just finished refactoring the Jakarta Tomcat port (www/jakarta-tomcat). > > > There were a lot of suggestions and comments, and I tried to squeeze them > > > all in. Any comments on the new version would be more than welcome. Just > > > make install (or portupgrade) after a cvsup :) > > > > > > Next thing for me to do is sort out the mod_jk problems.... > > > > > > Ernst > > -- > Ernst de Haan > EuroNet Internet B.V. > > "Come to me all who are weary and burdened > and I will give you rest" -- Jesus Christ -- It is our obligation to synergize our e-mindshare as part of our master plan to aggregate future-proof e-channels as part of our five-year plan to increase customer satisfaction. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 11:37:17 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id C913437B402 for ; Mon, 25 Feb 2002 11:37:10 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16fQvr-0007rF-00; Mon, 25 Feb 2002 12:37:08 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1PJb2w13005; Tue, 26 Feb 2002 06:07:02 +1030 (CST) (envelope-from glewis) Date: Tue, 26 Feb 2002 06:07:02 +1030 From: Greg Lewis To: Herve Quiroz Cc: java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 Message-ID: <20020226060702.A12966@misty.eyesbeyond.com> References: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020225172933.L50703-100000@puget.esil.univ-mrs.fr>; from herve.quiroz@esil.univ-mrs.fr on Mon, Feb 25, 2002 at 05:45:32PM +0100 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 On Mon, Feb 25, 2002 at 05:45:32PM +0100, Herve Quiroz wrote: > Does the bsd.java.mk effort means we will soon be able to build jdk1.3.1p6 > using jikes (with $JAVAC variable correctly set up) ? I am asking so > because I have been compiling the native jdk 1.3.1p6 on a P133/64M for 4+ > hours now and I am wondering if I will be able to use it before 2024... The answer is yes. I've compiled it on such a machine. In fact, my development machine is a PII 233 (a bit more RAM though :), so I'm well aware of how long compiles can take. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 11:44:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id DFFD237B402 for ; Mon, 25 Feb 2002 11:44:09 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16fR2d-0000Df-00; Mon, 25 Feb 2002 12:44:08 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1PJi3D13042; Tue, 26 Feb 2002 06:14:03 +1030 (CST) (envelope-from glewis) Date: Tue, 26 Feb 2002 06:14:03 +1030 From: Greg Lewis To: Nate Williams Cc: Herve Quiroz , freebsd-java@FreeBSD.ORG Subject: Re: bsd.java.mk and native jdk1.3.1p6 Message-ID: <20020226061402.B12966@misty.eyesbeyond.com> References: <15482.27689.514402.133071@caddis.yogotech.com> <20020225181523.E67358-100000@puget.esil.univ-mrs.fr> <15482.29225.183484.547813@caddis.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15482.29225.183484.547813@caddis.yogotech.com>; from nate@yogotech.com on Mon, Feb 25, 2002 at 10:19:37AM -0700 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 On Mon, Feb 25, 2002 at 10:19:37AM -0700, Nate Williams wrote: > > > Sure, but hopefully (knock on wood) we will get a binary release of the > > > JDK out soon enough, such that regular users won't have to compile the > > > JDK at all. > > > > Sounds geek but I prefer compiling that installing binaries. > > Most do not. Especially something as complicated as the JDK. Also, in > the future we may (??) get access to software bits that normal users > can't compile (due to legal reasons), so you may be forced to use a > pre-compiled binary if you want a newer JDK (1.4) with HotSpot or > something. (However, I'm just guessing.) This will absolutely be the case. In fact, its almost the case now. The 1.3.1 SCSL code base we're using is quite a bit behind the code base used to produce Sun's 1.3.1_02 binaries. We can/will shift to using the more up to date code thanks to the Foundation's license, but this either means that we don't do a source code based port or that the source code based port will be based off the current SCSL code base rather than what the binary ends up being based on. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 25 13: 2:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from arjun.niksun.com (gwnew.niksun.com [63.148.27.34]) by hub.freebsd.org (Postfix) with ESMTP id E269337B400 for ; Mon, 25 Feb 2002 13:02:30 -0800 (PST) Received: from niksun.com (arjun.niksun.com [10.0.0.5]) by arjun.niksun.com (8.9.3/8.9.3) with ESMTP id QAA24557 for ; Mon, 25 Feb 2002 16:02:29 -0500 (EST) (envelope-from dragos@niksun.com) Message-ID: <3C7AA672.46B8DEFE@niksun.com> Date: Mon, 25 Feb 2002 16:02:42 -0500 From: Dragos Ilie Organization: NIKSUN, Inc. http://www.niksun.com X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Java Subject: patch 6 doesn't work for me Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 When I run make everything is fine until it tries to build the plugin. Any ideas what is wrong? I'm running FreeBSD 4.2 and I have build and installed mozilla-0.9.8_2,1 from ports. g++ -Wall -Wno-unused -Wconversion -O -c -I/usr/local/include -w -D_GNU_SOURCE -DXP_UNIX -DVERSION="\"1.3.1-p6-root-020225-15:21\"" -DDATE="\"Feb-25-2002\"" -DARCH="\"i386\"" -DRAPTOR_API -DNEW_STREAMING_API -I../../tmp/bsd/i386/CClassHeaders -I../../oji-plugin/src/motif/common -I../../oji-plugin/src/motif/navig5 -I/usr/X11R6/include -I/usr/X11R6/include -I../../../../src/share/javavm/export -I../../../../src/solaris/javavm/export -I../../oji-plugin/include/solaris/navig5 -I/usr/local/include/glib12 -I/usr/X11R6/include/gtk12 -I -I/usr/local/bin//../plugin/libg/lib/glib/include -I/usr/local/bin//../../share/plugin -o ../../tmp/bsd/i386/utils_gnu.o ../../oji-plugin/src/motif/common/utils.c ../../oji-plugin/src/motif/common/utils.c: In function `int sendfd(int, int)': ../../oji-plugin/src/motif/common/utils.c:215: implicit declaration of function `int ALIGN(...)' gmake[1]: *** [../../tmp/bsd/i386/utils_gnu.o] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' gmake: *** [plugin-all] Error 1 *** Error code 2 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 0:44:47 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id B3D2A37B405; Tue, 26 Feb 2002 00:44:19 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1Q8iHu11156; Tue, 26 Feb 2002 09:44:17 +0100 (CET) (envelope-from ernst) Message-Id: <200202260844.g1Q8iHu11156@zaphod.euronet.nl> From: Ernst de Haan To: java@FreeBSD.org, ports@FreeBSD.org Subject: New version of bsd.java.mk Date: Tue, 26 Feb 2002 09:44:17 +0100 X-Mailer: KMail [version 1.3.2] Cc: sobomax@FreeBSD.org, kevlo@FreeBSD.org, sebster@sebster.org MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_TLT422O3FE7QWW9ZLQIE" 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 --------------Boundary-00=_TLT422O3FE7QWW9ZLQIE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Here's a new proposed version of bsd.java.mk. I am not going to submit this one to portmgr, because I don't want to bother portmgr with all new versions I have. Major changes: * Added a lot of documentation in the file itself * Added JAVA_KEYTOOL * Added support for FastJAR, added support for USE_FASTJAR * Now using USE_JIKES instead of NO_JIKES * Recognizes already installed Linux JDKs Any and all comments are -as usual- more than welcome. Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ --------------Boundary-00=_TLT422O3FE7QWW9ZLQIE Content-Type: text/plain; charset="iso-8859-1"; name="bsd.java.mk" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bsd.java.mk" Iy0qLSBtb2RlOiBGdW5kYW1lbnRhbDsgdGFiLXdpZHRoOiA0OyAtKi0KIyBleDp0cz00CiMKIyBi c2QuamF2YS5tayAtIFN1cHBvcnQgZm9yIEphdmEtYmFzZWQgcG9ydHMuCiMKIyBDcmVhdGVkIGJ5 OiBFcm5zdCBkZSBIYWFuIDx6bmVyZEBGcmVlQlNELm9yZz4KIwojICRGcmVlQlNEJAojCgoKIy0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tCiMgSW5mb3JtYXRpb24gZm9yIHN5c3RlbSBhZG1pbmlzdHJhdG9y czoKIwojCiMgWW91IGNhbiBvdmVycmlkZSB0aGUgZGVmYXVsdCBKYXZhIHZlcnNpb24gYnkgc2V0 dGluZyBERUZBVUxUX0pBVkFfVkVSIGluCiMgeW91ciAvZXRjL21ha2UuY29uZiB0byBvbmUgb2Yg dGhlIGFsbG93ZWQgdmFsdWVzLiBUaGVzZ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QlVJTERfREVQRU5EUys9CQkke19ERVBFTkRfSkFW QX0KLgkJZW5kaWYKLgkJaWYgIWRlZmluZWQoSkFWQV9OT19SVU5fREVQRU5EUykKUlVOX0RFUEVO RFMrPQkJJHtfREVQRU5EX0pBVkF9Ci4JCWVuZGlmCi4JZW5kaWYKLmVuZGlmCg== --------------Boundary-00=_TLT422O3FE7QWW9ZLQIE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 7:46: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 52C8937B417 for ; Tue, 26 Feb 2002 07:45:55 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16fjnU-000AU5-00; Tue, 26 Feb 2002 15:45:44 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1QFjhZ56109; Tue, 26 Feb 2002 15:45:43 GMT (envelope-from jcm) Date: Tue, 26 Feb 2002 15:45:43 +0000 From: j mckitrick To: Mike Gratton Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java with simpler tools - question Message-ID: <20020226154543.B55088@dogma.freebsd-uk.eu.org> References: <20020225163854.A48327@dogma.freebsd-uk.eu.org> <3C7A6F0E.4020706@vee.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3C7A6F0E.4020706@vee.net>; from mike@vee.net on Tue, Feb 26, 2002 at 03:36:22AM +1030 X-Scanner: exiscan *16fjnU-000AU5-00*vYZYkVF39ZI* (Manchester Computing, University of Manchester) 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 So about the fastest/lightest combination would be an editor, jikes, and ant, correct? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 8: 5:22 2002 Delivered-To: freebsd-java@freebsd.org Received: from Millions.Ca (h-207-228-120-32.gen.cadvision.com [207.228.120.32]) by hub.freebsd.org (Postfix) with ESMTP id 8DAE237B402 for ; Tue, 26 Feb 2002 08:05:18 -0800 (PST) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id g1QG2Et82813; Tue, 26 Feb 2002 09:02:14 -0700 (MST) (envelope-from stacy@Millions.Ca) Received: from Cedar.Millions.Ca(192.168.64.8) via SMTP by mail-gw-0.millions.ca, id smtpdi82811; Tue Feb 26 09:02:11 2002 Received: from millions.ca (Maple.Millions.Ca [192.168.64.2]) by cedar.millions.ca (8.11.1/8.11.3) with ESMTP id g1QG2As16639; Tue, 26 Feb 2002 09:02:11 -0700 (MST) (envelope-from stacy@millions.ca) Message-ID: <3C7BB182.FECB073@millions.ca> Date: Tue, 26 Feb 2002 09:02:10 -0700 From: Stacy Millions Organization: Millions Consulting Limited X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Cc: j mckitrick Subject: Re: Java with simpler tools - question References: <20020225163854.A48327@dogma.freebsd-uk.eu.org> <3C7A6F0E.4020706@vee.net> <20020226154543.B55088@dogma.freebsd-uk.eu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 j mckitrick wrote: > So about the fastest/lightest combination would be an editor, jikes, > and ant, correct? That is my take on it, yes. You had stated that you were doing this for education purposes. I don't know what level of a programmer you are, but you might want to take a look at bluej. I am using it to teach my kids java, it has a couple of interesting features as a learning tool (what it was designed for). The ports version assumes the linux-jdk1.3, but it is not difficult to make it work with the native jdk1.3. -stacy -- You'll see it's all a show. Keep 'em laughing as you go. Just remember that the last laugh is on you. - Monty Python _The Life Of Brian_ Stacy Millions stacy@millions.ca Millions Consulting Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 8: 8:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from aiai.ed.ac.uk (eigg.aiai.ed.ac.uk [129.215.41.7]) by hub.freebsd.org (Postfix) with ESMTP id DD5BE37B400 for ; Tue, 26 Feb 2002 08:08:45 -0800 (PST) Received: from todday (todday.aiai.ed.ac.uk [129.215.105.40]) by aiai.ed.ac.uk (8.9.3/8.9.3) with SMTP id QAA02817 for ; Tue, 26 Feb 2002 16:08:43 GMT Date: Tue, 26 Feb 2002 16:08:42 GMT Message-Id: <23033.200202261608@todday> From: Jeff Dalton Subject: What is ant good for? To: freebsd-java@FreeBSD.ORG In-Reply-To: j mckitrick's message of Tue, 26 Feb 2002 15:45:43 +0000 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 I've been reading the "tools" discussion, and all I use is emacs, jdk, and Netscape for reading the on-line documentation. The only change I'm tempted to make is to start using ant. But every time I've looked at anyone's ant script (is script the right word?), it's seemed alarmingly complex. So I'm wondering whether ant does anything that would make it worth the effort of learning to use it. Does it, for instance, work out the dependencies between files to determine what needs to be recompiled and what doesn't? -- Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 8:38:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 609C737B402 for ; Tue, 26 Feb 2002 08:38:15 -0800 (PST) Received: from dialup-64.157.61.24.dial1.washington1.level3.net ([64.157.61.24] helo=[192.168.1.2]) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16fkbb-0000lt-00; Tue, 26 Feb 2002 08:37:31 -0800 Mime-Version: 1.0 X-Sender: bcox@linux.virtualschool.edu Message-Id: In-Reply-To: <20020226154543.B55088@dogma.freebsd-uk.eu.org> References: <20020225163854.A48327@dogma.freebsd-uk.eu.org> <3C7A6F0E.4020706@vee.net> <20020226154543.B55088@dogma.freebsd-uk.eu.org> Date: Tue, 26 Feb 2002 11:37:22 -0500 To: j mckitrick , Mike Gratton From: Brad Cox Subject: Re: Java with simpler tools - question Cc: freebsd-java@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 At 3:45 PM +0000 2/26/02, j mckitrick wrote: >So about the fastest/lightest combination would be an editor, jikes, and >ant, correct? With jikes, make is at least as fast/lightweight as ant, and more familiar to unix old-timers. Its not as portable to non-unix systems though. -- Brad Cox, PhD; bcox@virtualschool.edu 703 361 4751 o For industrial age goods there were checks and credit cards. For everything else there is http://virtualschool.edu/mybank o Java Interactive Learning Environment http://virtualschool.edu/jile o Java Web Application Architecture: http://virtualschool.edu/jwaa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 8:41: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 7651637B402 for ; Tue, 26 Feb 2002 08:40:57 -0800 (PST) Received: from dialup-64.157.61.24.dial1.washington1.level3.net ([64.157.61.24] helo=[192.168.1.2]) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16fkee-0001DH-00; Tue, 26 Feb 2002 08:40:41 -0800 Mime-Version: 1.0 X-Sender: bcox@linux.virtualschool.edu Message-Id: In-Reply-To: <23033.200202261608@todday> References: <23033.200202261608@todday> Date: Tue, 26 Feb 2002 11:40:37 -0500 To: Jeff Dalton , freebsd-java@FreeBSD.ORG From: Brad Cox Subject: Re: What is ant good for? Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 At 4:08 PM +0000 2/26/02, Jeff Dalton wrote: >I've been reading the "tools" discussion, and all I use is emacs, >jdk, and Netscape for reading the on-line documentation. The only >change I'm tempted to make is to start using ant. > >But every time I've looked at anyone's ant script (is script >the right word?), it's seemed alarmingly complex. > >So I'm wondering whether ant does anything that would make it >worth the effort of learning to use it. > >Does it, for instance, work out the dependencies between files >to determine what needs to be recompiled and what doesn't? Yes, but that's rarely useful since jikes handles dependencies internally. Ant is a portable alternative to unix make. Of course, make is alarmingly complex too. ;) -- Brad Cox, PhD; bcox@virtualschool.edu 703 361 4751 o For industrial age goods there were checks and credit cards. For everything else there is http://virtualschool.edu/mybank o Java Interactive Learning Environment http://virtualschool.edu/jile o Java Web Application Architecture: http://virtualschool.edu/jwaa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 8:47:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.looneys.net (crufty.looneys.net [63.231.250.33]) by hub.freebsd.org (Postfix) with ESMTP id DDFEB37B42B for ; Tue, 26 Feb 2002 08:46:35 -0800 (PST) Received: from there (serpico.looneys.net [63.231.250.36]) by mail.looneys.net (Postfix) with SMTP id 6954C22522 for ; Tue, 26 Feb 2002 10:46:34 -0600 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Mcclain Looney Reply-To: mcclain@looneys.net To: freebsd-java@freebsd.org Subject: Re: What is ant good for? Date: Tue, 26 Feb 2002 10:46:38 -0600 X-Mailer: KMail [version 1.3.2] References: <23033.200202261608@todday> In-Reply-To: <23033.200202261608@todday> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020226164634.6954C22522@mail.looneys.net> 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 On Tuesday 26 February 2002 10:08 am, you wrote: > But every time I've looked at anyone's ant script (is script > the right word?), it's seemed alarmingly complex. sorta like a decent makefile? :) it is possible to write a simple ant make file, in fact i keep one around as a starter template for new projects. what you have seen are probably relatively complex ant files. getting make to do the same stuff (build javadoc, run junit tests etc) would probably take even more lines, and actually be less readable to the uninitiated. > So I'm wondering whether ant does anything that would make it > worth the effort of learning to use it. it's much easier to grok (imho), and was designed for java and it's weird directory tendencies. > Does it, for instance, work out the dependencies between files > to determine what needs to be recompiled and what doesn't? yes. as a side note, ant was actually developed and used at sun before being given to the jakarta project. -mcclain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 8:47:20 2002 Delivered-To: freebsd-java@freebsd.org Received: from ops-03.itg.discovery.com (ops-03.itg.discovery.com [198.147.14.35]) by hub.freebsd.org (Postfix) with ESMTP id E18EF37B436 for ; Tue, 26 Feb 2002 08:46:55 -0800 (PST) Received: by ops-03.itg.discovery.com; id LAA06925; Tue, 26 Feb 2002 11:45:49 -0500 (EST) From: patrick@freebsd.org Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <23033.200202261608@todday> Date: Tue, 26 Feb 2002 11:47:15 -0500 (EST) To: Jeff Dalton Subject: RE: What is ant good for? Cc: freebsd-java@freebsd.org 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 Well, you could say the same thing about "make", if you've used it. It's funny you should bring this up right now, since I was writing an ant build file to compile our JMS server code in the office. Just taking the default build.xml from the docs did nearly everything I wanted it to do. I just wrote it, added a classpath tag, and I was set. It does work out the dependencies, so that's taken care of. Whether or not you use it depends on how complex your build is right now. To build using ant, you just type "ant". Then it does the rest for you. Much nicer in a group environment than trying to figure out how to compile something, with a large number of jars, etc. If you just type "javac com/blah/test/*.java", you probably don't need ant. Otherwise, you would be better off learning ant. It's not that tough. Really. Patrick On 26-Feb-2002 Jeff Dalton wrote: > I've been reading the "tools" discussion, and all I use is emacs, > jdk, and Netscape for reading the on-line documentation. The only > change I'm tempted to make is to start using ant. > > But every time I've looked at anyone's ant script (is script > the right word?), it's seemed alarmingly complex. > > So I'm wondering whether ant does anything that would make it > worth the effort of learning to use it. > > Does it, for instance, work out the dependencies between files > to determine what needs to be recompiled and what doesn't? > > -- Jeff > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 8:49: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.net2000.ch (mail.net2000.ch [62.2.252.229]) by hub.freebsd.org (Postfix) with ESMTP id 0688337B417 for ; Tue, 26 Feb 2002 08:48:58 -0800 (PST) Received: from wireless-networks.com ([62.2.196.33]) by mail.net2000.ch (Netscape Messaging Server 3.5) with ESMTP id AAA1E3D; Tue, 26 Feb 2002 17:46:12 +0100 Message-ID: <3C7BBF09.4010709@wireless-networks.com> Date: Tue, 26 Feb 2002 17:59:53 +0100 From: Cedric Berger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7+) Gecko/20020123 X-Accept-Language: en-us MIME-Version: 1.0 To: Jeff Dalton Cc: freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? References: <23033.200202261608@todday> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Jeff Dalton wrote: >I've been reading the "tools" discussion, and all I use is emacs, >jdk, and Netscape for reading the on-line documentation. The only >change I'm tempted to make is to start using ant. > Great idea. >But every time I've looked at anyone's ant script (is script >the right word?), it's seemed alarmingly complex. > Well, ant scripts are like makefile. there is small ones, and there is big ones. You can put anything in an ant script: compiling, but also regressions tests, deployment, packaging. But an ant script doesn't need to be big. >So I'm wondering whether ant does anything that would make it >worth the effort of learning to use it. > Yes. 1) it's portable (really) 2) it has an easy syntax (yes) There is only few things you can do with an Ant file that you cannot do with a makefile or a shell script, but all common task of building, packaging, testing and deploying java apps are very easy and straightforward to do. >Does it, for instance, work out the dependencies between files >to determine what needs to be recompiled and what doesn't? > I'm not sure. Cedric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 8:59:30 2002 Delivered-To: freebsd-java@freebsd.org Received: from aiai.ed.ac.uk (eigg.aiai.ed.ac.uk [129.215.41.7]) by hub.freebsd.org (Postfix) with ESMTP id 3C24E37B420 for ; Tue, 26 Feb 2002 08:59:18 -0800 (PST) Received: from todday (todday.aiai.ed.ac.uk [129.215.105.40]) by aiai.ed.ac.uk (8.9.3/8.9.3) with SMTP id QAA03705; Tue, 26 Feb 2002 16:59:16 GMT Date: Tue, 26 Feb 2002 16:59:16 GMT Message-Id: <23144.200202261659@todday> From: Jeff Dalton Subject: Re: What is ant good for? To: Brad Cox , freebsd-java@FreeBSD.ORG In-Reply-To: Brad Cox's message of Tue, 26 Feb 2002 11:40:37 -0500 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 > >So I'm wondering whether ant does anything that would make it > >worth the effort of learning to use it. > > > >Does it, for instance, work out the dependencies between files > >to determine what needs to be recompiled and what doesn't? > > Yes, but that's rarely useful since jikes handles dependencies > internally. Ant is a portable alternative to unix make. Of course, > make is alarmingly complex too. ;) But make doesn't determine the dependencies: you have to list at least the direct ones yourself. Does any actually work them out? -- Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 9: 2:55 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail3.drkw.com (mail3.drkw.com [195.42.238.78]) by hub.freebsd.org (Postfix) with ESMTP id 4A9FE37B400 for ; Tue, 26 Feb 2002 09:02:49 -0800 (PST) Message-ID: From: "Bissell, Tim" To: freebsd-java@FreeBSD.ORG Subject: RE: What is ant good for? Date: Tue, 26 Feb 2002 17:00:52 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" 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 Tubby honest, I'm not convinced Jikes and Ant go together - Jikes' raison d'etre is speed, but the java compiler is quite fast when used inside the Ant JVM - you lose the startup costs. > I've been reading the "tools" discussion, and all I use is emacs, > jdk, and Netscape for reading the on-line documentation. The only > change I'm tempted to make is to start using ant. > > But every time I've looked at anyone's ant script (is script > the right word?), it's seemed alarmingly complex. They often are, but that is because people do lots of things with them > So I'm wondering whether ant does anything that would make it > worth the effort of learning to use it. Yes. Built in and added in tasks are very useful; preprocess entire source trees to fix the source code for JDK 1.1 / Java2 API differences. You can dynamically build classpaths for the ant environment - e.g. put every .jar and .zip in your 'classes' directory into the classpath. build code only if the classes needed to build it are present - see above. Fix line endings e.g. CRLF. Run junit tests Build installations e.g. tar / jar / zip, or run external installer builders And it's portable... I'm sure all of this could be done in make, but not as elegantly. Plus spaces/tabs at the beginning of lines don't break your build 8-) > Does it, for instance, work out the dependencies between files > to determine what needs to be recompiled and what doesn't? Javac does that, so it comes for free in Ant. P.S. On the subject of IDEs, I 've been a staunch Emacs user for the past nineteen years (eeeek!) but for Java, IDEA from www.intellij.com is brilliant, even if it costs lots of money ($200 for a personal licence) and does not provide a GUI builder. The authors churn out new releases with useful improvements fairly regularly as well. Unfortunately my favourite WM (Window Maker) does not like its popup windows, but I just switch to IceWM. ---------------------------------------------------------------------- If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 9: 6:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by hub.freebsd.org (Postfix) with ESMTP id 0233437B400 for ; Tue, 26 Feb 2002 09:06:09 -0800 (PST) Received: (from remco@localhost) by azrael.xs4all.nl (8.11.6/8.11.6) id g1QH61555894; Tue, 26 Feb 2002 18:06:01 +0100 (CET) (envelope-from remco) Date: Tue, 26 Feb 2002 18:06:00 +0100 From: "Remco van 't Veer" To: Jeff Dalton Cc: freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? Message-ID: <20020226170600.GN88307@azrael.xs4all.nl> References: <23033.200202261608@todday> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23033.200202261608@todday> User-Agent: Mutt/1.3.27i X-Spook: tekka BNC Hmong van Balen Lanceros SE Treasury WISDIM WHCA AIMSX 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 main advantage of ant is portability. Ant features alot of nice build-in tasks for coping/deleting files, java stuff like jar javac javadoc rmic etc, execution of sql statements via jdbc, processing of xslt, downloads ala wget, cvs stuff, applying patches etc. etc. It's quite powerful. It is relatively easy to write a build.xml which downloads all needed sources, compiles and installs. Adding new specialized tasks isn't very hard either. I see alot of messages in this thread stating ant will work out dependencies between files. I guess people are refering to the javac task. In my experience it does not work out dependencies. Try compiling to classes A and B, with A depending on method B.something(). Now edit B and remove the something() method then recompile again using ant and you will see only B will be compiled. No errors, no warnings, but A is not functional.. HTH, Remco On Tue, Feb 26, 2002 at 16:08, Jeff Dalton wrote: > I've been reading the "tools" discussion, and all I use is emacs, > jdk, and Netscape for reading the on-line documentation. The only > change I'm tempted to make is to start using ant. > > But every time I've looked at anyone's ant script (is script > the right word?), it's seemed alarmingly complex. > > So I'm wondering whether ant does anything that would make it > worth the effort of learning to use it. > > Does it, for instance, work out the dependencies between files > to determine what needs to be recompiled and what doesn't? > > -- Jeff -- Our duty is to execute a strategic plan to visualize our leadership skills so that we may produce money for our executive officers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 9:12: 5 2002 Delivered-To: freebsd-java@freebsd.org Received: from hronir.scardini.com (dsl-209-162-215-176.easystreet.com [209.162.215.176]) by hub.freebsd.org (Postfix) with ESMTP id 5D02037B422 for ; Tue, 26 Feb 2002 09:11:38 -0800 (PST) Received: from uqbar.lan.scardini.com (uqbar.lan.scardini.com [192.168.2.100]) (authenticated) by hronir.scardini.com (8.11.6/8.11.6) with ESMTP id g1QHBcN48659; Tue, 26 Feb 2002 09:11:38 -0800 (PST) (envelope-from chrise@scardini.com) Received: (from chrise@localhost) by uqbar.lan.scardini.com (8.11.6/8.11.6) id g1QHBap02074; Tue, 26 Feb 2002 09:11:36 -0800 (PST) (envelope-from chrise) Date: Tue, 26 Feb 2002 09:11:36 -0800 From: Christopher Elkins To: Jeff Dalton Cc: Brad Cox , freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? Message-ID: <20020226091136.F220@uqbar.lan.scardini.com> Mail-Followup-To: Jeff Dalton , Brad Cox , freebsd-java@FreeBSD.ORG References: <23144.200202261659@todday> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <23144.200202261659@todday>; from jeff@aiai.ed.ac.uk on Tue, Feb 26, 2002 at 04:59:16PM +0000 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 On Tue, Feb 26, 2002 at 04:59:16PM +0000, Jeff Dalton wrote: > > >So I'm wondering whether ant does anything that would make it > > >worth the effort of learning to use it. > > > > > >Does it, for instance, work out the dependencies between files > > >to determine what needs to be recompiled and what doesn't? > > > > Yes, but that's rarely useful since jikes handles dependencies > > internally. Ant is a portable alternative to unix make. Of course, > > make is alarmingly complex too. ;) > > But make doesn't determine the dependencies: you have to list > at least the direct ones yourself. > > Does any actually work them out? Yes. -- Christopher Elkins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 9:21: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from hronir.scardini.com (dsl-209-162-215-176.easystreet.com [209.162.215.176]) by hub.freebsd.org (Postfix) with ESMTP id 7B34237B402 for ; Tue, 26 Feb 2002 09:21:05 -0800 (PST) Received: from uqbar.lan.scardini.com (uqbar.lan.scardini.com [192.168.2.100]) (authenticated) by hronir.scardini.com (8.11.6/8.11.6) with ESMTP id g1QHL5N48738; Tue, 26 Feb 2002 09:21:05 -0800 (PST) (envelope-from chrise@scardini.com) Received: (from chrise@localhost) by uqbar.lan.scardini.com (8.11.6/8.11.6) id g1QHL4c02206; Tue, 26 Feb 2002 09:21:04 -0800 (PST) (envelope-from chrise) Date: Tue, 26 Feb 2002 09:21:04 -0800 From: Christopher Elkins To: Jeff Dalton Cc: Brad Cox , freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? Message-ID: <20020226092104.G220@uqbar.lan.scardini.com> Mail-Followup-To: Jeff Dalton , Brad Cox , freebsd-java@FreeBSD.ORG References: <23144.200202261659@todday> <20020226091136.F220@uqbar.lan.scardini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020226091136.F220@uqbar.lan.scardini.com>; from chrise@scardini.com on Tue, Feb 26, 2002 at 09:11:36AM -0800 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 On Tue, Feb 26, 2002 at 09:11:36AM -0800, Christopher Elkins wrote: > > Yes. Sorry, not enough coffee yet. That should've been: No. -- Christopher Elkins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 9:24: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from Millions.Ca (h-207-228-120-32.gen.cadvision.com [207.228.120.32]) by hub.freebsd.org (Postfix) with ESMTP id 7883237B417 for ; Tue, 26 Feb 2002 09:23:55 -0800 (PST) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id g1QHNn582972; Tue, 26 Feb 2002 10:23:49 -0700 (MST) (envelope-from stacy@Millions.Ca) Received: from Cedar.Millions.Ca(192.168.64.8) via SMTP by mail-gw-0.millions.ca, id smtpdV82970; Tue Feb 26 10:23:42 2002 Received: from millions.ca (Maple.Millions.Ca [192.168.64.2]) by cedar.millions.ca (8.11.1/8.11.3) with ESMTP id g1QHNgs16888; Tue, 26 Feb 2002 10:23:42 -0700 (MST) (envelope-from stacy@millions.ca) Message-ID: <3C7BC49E.43B396C7@millions.ca> Date: Tue, 26 Feb 2002 10:23:42 -0700 From: Stacy Millions Organization: Millions Consulting Limited X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Jeff Dalton Cc: freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? References: <23033.200202261608@todday> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Jeff Dalton wrote: > So I'm wondering whether ant does anything that would make it > worth the effort of learning to use it. It has a lot of built in functionality. For the project I am currently working on, I have a 250 line ant build file. From a cron job, I do a nightly build ant clean update jar which removes all class file and resource files, updates sources from the cvs server, build some java files using javacc, compiles everything and package everything up in their respective jar files. It will even sign the jars for you if you don't mind leaving your key passwords in the build file. If anything breaks in the nightly build, I go and beat on the person who committed something that does not build, sometimes, that is me :-( > Does it, for instance, work out the dependencies between files > to determine what needs to be recompiled and what doesn't? From the ant docs: The source and destination directory will be recursively scanned for Java source files to compile. Only Java files that have no corresponding class file or where the class file is older than the java file will be compiled. Note: Ant uses only the names of the source and class files to find the classes that need a rebuild. It will not scan the source and therefor will have no knowledge about nested classes, classes that are named different from the source file and so on. So, no it does not work out dependencies. That is why I like the fact that I can do "ant clean compile" and have everything recompiled fairly quickly. -stacy -- You'll see it's all a show. Keep 'em laughing as you go. Just remember that the last laugh is on you. - Monty Python _The Life Of Brian_ Stacy Millions stacy@millions.ca Millions Consulting Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 9:30:24 2002 Delivered-To: freebsd-java@freebsd.org Received: from jupiter.linuxengine.net (jupiter2.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 5838F37B400 for ; Tue, 26 Feb 2002 09:30:19 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g1QHU8V08778; Tue, 26 Feb 2002 11:30:08 -0600 Date: Tue, 26 Feb 2002 11:30:08 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: Jeff Dalton Cc: freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? In-Reply-To: <23033.200202261608@todday> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I am another rabid emacs user. and we use ant at work too. On Tue, 26 Feb 2002, Jeff Dalton wrote: > I've been reading the "tools" discussion, and all I use is emacs, > jdk, and Netscape for reading the on-line documentation. The only > change I'm tempted to make is to start using ant. > > But every time I've looked at anyone's ant script (is script > the right word?), it's seemed alarmingly complex. 'tisnt script! it's xml. xml is *cool*. use psgml and font-lock in emacs and the build.xml file will start to make much more sense, assuming it references a dtd somehow, i forget if they do. > So I'm wondering whether ant does anything that would make it > worth the effort of learning to use it. > > Does it, for instance, work out the dependencies between files > to determine what needs to be recompiled and what doesn't? does all of that and more.... we used to replace a python/make combo that required frequent changes to keep up. build.xml's are pretty simple once you understand xml > -- Jeff > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 9:36:29 2002 Delivered-To: freebsd-java@freebsd.org Received: from jupiter.linuxengine.net (jupiter2.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 50F0637B443 for ; Tue, 26 Feb 2002 09:36:21 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g1QHaBV08983; Tue, 26 Feb 2002 11:36:11 -0600 Date: Tue, 26 Feb 2002 11:36:11 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: Jeff Dalton Cc: freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 ok, beat me with a clue-hammer several people have correctly pointed out that ant doesnt know how to do dependencies. but, i must point out that i didnt know this because i hadnt realized that i was building from *scratch*, every time. it be plenty fast man! On Tue, 26 Feb 2002, John Utz wrote: > I am another rabid emacs user. > > and we use ant at work too. > > On Tue, 26 Feb 2002, Jeff Dalton wrote: > > > I've been reading the "tools" discussion, and all I use is emacs, > > jdk, and Netscape for reading the on-line documentation. The only > > change I'm tempted to make is to start using ant. > > > > But every time I've looked at anyone's ant script (is script > > the right word?), it's seemed alarmingly complex. > > 'tisnt script! it's xml. xml is *cool*. use psgml and font-lock in emacs > and the build.xml file will start to make much more sense, assuming it > references a dtd somehow, i forget if they do. > > > So I'm wondering whether ant does anything that would make it > > worth the effort of learning to use it. > > > > Does it, for instance, work out the dependencies between files > > to determine what needs to be recompiled and what doesn't? > > does all of that and more.... > > we used to replace a python/make combo that required frequent changes to > keep up. > > build.xml's are pretty simple once you understand xml > > > -- Jeff > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > > > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 9:37:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 422E937B41A for ; Tue, 26 Feb 2002 09:37:13 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F7WP3>; Tue, 26 Feb 2002 18:37:11 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3A1@l04.research.kpn.com> From: "Koster, K.J." To: 'John Utz' Cc: freebsd-java@FreeBSD.ORG Subject: RE: What is ant good for? Date: Tue, 26 Feb 2002 18:37:11 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear John, > > 'tisnt script! it's xml. xml is *cool*. use psgml and > font-lock in emacs > and the build.xml file will start to make much more sense, > assuming it references a dtd somehow, i forget if they do. > Since Ant scripts can be extended with tags that you yourself define, a DTD for Ant is pretty much impossible. As with all impossible tasks, someone has already undertaken it. Some French dude, I forget who. Look for "Ant DTD" in your favorite search engine. He outlines the problem with DTD's for Ant and gives a partial DTD that you can use. As for XML being cool ... yes. Very cool. Just as cool as jo-jo's were back when I was in highschool. Everyone had to have one. :-) That said, I cannot think of a better syntax for now. > > build.xml's are pretty simple once you understand xml > Just do it. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 10: 4:59 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id E22BA37B400 for ; Tue, 26 Feb 2002 10:04:54 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F7WTA>; Tue, 26 Feb 2002 19:04:54 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3A2@l04.research.kpn.com> From: "Koster, K.J." To: 'j mckitrick' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Best IDE for slow system? Date: Tue, 26 Feb 2002 19:04:52 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Jm, > > | In my current project we have a mix > | of FreeBSD, Linux, cygwin on Windows and Windows on the > | developer's desktops > | and roll-out is on a Solaris box. How's that for > | heterogenous environments? > > What kind of applications are you working on? > It's not the application that makes the environment heterogenous, it is the problem that we're a little short on developers at this time and we need to be friends. No dictating development environments. :) > > And let me guess: you are the one with the BSD box? > I'm also the one who is root on the test boxes, so FreeBSD is used quite extensively. *grin* Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 10:30:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from aiai.ed.ac.uk (eigg.aiai.ed.ac.uk [129.215.41.7]) by hub.freebsd.org (Postfix) with ESMTP id 70A6037B400 for ; Tue, 26 Feb 2002 10:30:07 -0800 (PST) Received: from todday (todday.aiai.ed.ac.uk [129.215.105.40]) by aiai.ed.ac.uk (8.9.3/8.9.3) with SMTP id SAA05283 for ; Tue, 26 Feb 2002 18:30:06 GMT Date: Tue, 26 Feb 2002 18:30:05 GMT Message-Id: <23270.200202261830@todday> From: Jeff Dalton Subject: RE: What is ant good for? To: freebsd-java@FreeBSD.ORG In-Reply-To: Bissell, Tim's message of Tue, 26 Feb 2002 17:00:52 -0000 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 > > Does it, for instance, work out the dependencies between files > > to determine what needs to be recompiled and what doesn't? > > Javac does that, so it comes for free in Ant. javac works out only some fairly direct dependencies. Some versions used to do more with -depend or, later, -Xdepend; but that doesn't seem to be something I can rely on. > ... It is relatively easy to write a build.xml > which downloads all needed sources, compiles and installs. > Adding new specialized tasks isn't very hard either. But since I don't download sources or install ... It sounds like ant is useful if you're doing things in a way that's already fairly elaborate, like using CVS and moving things to some installed location after they're built, etc; but if instead I'm trying to avoid such complexity ... > the java compiler is quite > fast when used inside the Ant JVM - you lose the startup costs. That sounds good. > 'tisnt script! it's xml. xml is *cool*. use psgml and font-lock in emacs > and the build.xml file will start to make much more sense, But what you you call the file the tells Ant what to do? (I knew the *contents* was XML ...) (BTW, I find XML quite verbose and hard to read. What is psgml?) Thanks to everyone who's responded, by the way. Indeed, the whole tools / IDE discussion has been very useful. -- Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 10:33: 6 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id DB2B637B431 for ; Tue, 26 Feb 2002 10:32:25 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F7WWL>; Tue, 26 Feb 2002 19:32:25 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> From: "Koster, K.J." To: "FreeBSD Java mailing list (E-mail)" Subject: 1.3.1p6 dies sigbus with threads Date: Tue, 26 Feb 2002 19:32:24 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear All, and Bill Huey in particular, :) I can make 1.3.1p6 fall onto it's face by creating threads and having them generate HTTP traffic against a local web server (HTTPUnit against an Orion server). The code works fine on a FreeBSD machine with Linux-jdk13 and on the massive Sun that will be our production server. However, in the interest of testing our native port I have been running the same test in our native port on a spare box. It does not hold as well. I'm rerunning the tests with java_g instead of java but I won't stick around for the results tonight. The test loads the box past comfortable memory allocation. It's swapping and generally not having a fun time with this. It's a 64MB box, 200MHz cpu. 128 threads make it die occasionally. nobby% gdb -core java.core /usr/local/jdk1.3.1/jre/bin/i386/green_threads/java GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... Core was generated by `java'. Program terminated with signal 6, Abort trap. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so...(no debugging symbols found)...done. Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libverify.so...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libjava.so...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libzip.so...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libnet.so...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done. #0 0x280b6994 in kill () from /usr/lib/libc.so.4 (gdb) bt #0 0x280b6994 in kill () from /usr/lib/libc.so.4 #1 0x280f2b35 in abort () from /usr/lib/libc.so.4 #2 0x28160ad9 in Abort () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #3 0x28189a9f in panicHandler () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #4 0x28076647 in userSignalHandler () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so #5 0x28076600 in intrDispatch () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so #6 0x2806f917 in intrDispatchMD () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so #7 0xbfbfffac in ?? () #8 0x2815a7d5 in cacheAlloc () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #9 0x2815abe9 in allocArray () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #10 0x28190e4f in N1_newarray6 () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #11 0x28e7c7e8 in ?? () #12 0x8052400 in ?? () #13 0x0 in ?? () (gdb) I would appreciate suggestions on how to debug this in more detail. How can I enable additional debugging code that can help track this bug down? Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 10:41:22 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.looneys.net (crufty.looneys.net [63.231.250.33]) by hub.freebsd.org (Postfix) with ESMTP id 24BB637B41A for ; Tue, 26 Feb 2002 10:41:19 -0800 (PST) Received: from there (serpico.looneys.net [63.231.250.36]) by mail.looneys.net (Postfix) with SMTP id 03F9022522 for ; Tue, 26 Feb 2002 12:41:17 -0600 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Mcclain Looney Reply-To: mcclain@looneys.net To: freebsd-java@freebsd.org Subject: Re: What is ant good for? Date: Tue, 26 Feb 2002 12:41:22 -0600 X-Mailer: KMail [version 1.3.2] References: <23270.200202261830@todday> In-Reply-To: <23270.200202261830@todday> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020226184118.03F9022522@mail.looneys.net> 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 On Tuesday 26 February 2002 12:30 pm, you wrote: > But what you you call the file the tells Ant what to do? > (I knew the *contents* was XML ...) build.xml or "the build file" > (BTW, I find XML quite verbose and hard to read. What is psgml?) > I too think xml is horrible and sucky to read or write, but i suppose that's what xml editors are for. has anyone used an xml editor to write build files (no smart-ass comments about vi and emacs please )? did they work? -mcclain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 10:57:34 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 5612437B405 for ; Tue, 26 Feb 2002 10:57:30 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16fmn1-0000Vu-00; Tue, 26 Feb 2002 10:57:27 -0800 Date: Tue, 26 Feb 2002 10:57:27 -0800 To: "Koster, K.J." Cc: "FreeBSD Java mailing list (E-mail)" Subject: Re: 1.3.1p6 dies sigbus with threads Message-ID: <20020226185727.GA1920@gnuppy.monkey.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> User-Agent: Mutt/1.3.27i From: Bill Huey 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 On Tue, Feb 26, 2002 at 07:32:24PM +0100, Koster, K.J. wrote: > Dear All, and Bill Huey in particular, :) > > I can make 1.3.1p6 fall onto it's face by creating threads and having them > generate HTTP traffic against a local web server (HTTPUnit against an Orion > server). The code works fine on a FreeBSD machine with Linux-jdk13 and on > the massive Sun that will be our production server. > > #5 0x28076600 in intrDispatch () from > /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so > #6 0x2806f917 in intrDispatchMD () from > /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so > #7 0xbfbfffac in ?? () > #8 0x2815a7d5 in cacheAlloc () from > /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so > #9 0x2815abe9 in allocArray () from > /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so > #10 0x28190e4f in N1_newarray6 () from > /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so > #11 0x28e7c7e8 in ?? () > #12 0x8052400 in ?? () > #13 0x0 in ?? () > (gdb) Hmmm, looks like an allocation problem from the stack trace and then throwing a signal from a possible SEGV. > I would appreciate suggestions on how to debug this in more detail. > > How can I enable additional debugging code that can help track this bug > down? What I do is attach GDB with symbol references to an already running JVM process and then work things from there. Move into the directory and invoke gdb to get the symbols or something like that. I'm not sure how this is going to help you out though. Let me think. Hmmm, try seeing if you can turn on the GC and memory allocation debug stuff in the source code and then try it again. Allocations will run quite a bit slower, but it might give you more debugging output assuming that it's hitting this logic. Try that first and come back. If that's not it, then it'll require a more dedicated effort possibly from me to get at it since their's a lot that can go on inside the JVM. It's definitely a tough one. Maybe Fuyuhiko might have some input. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 11: 4:50 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 4B09B37B421 for ; Tue, 26 Feb 2002 11:04:35 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16fmtt-0000X3-00; Tue, 26 Feb 2002 11:04:33 -0800 Date: Tue, 26 Feb 2002 11:04:32 -0800 To: "Koster, K.J." Cc: "FreeBSD Java mailing list (E-mail)" Subject: Re: 1.3.1p6 dies sigbus with threads Message-ID: <20020226190432.GA2002@gnuppy.monkey.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> <20020226185727.GA1920@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020226185727.GA1920@gnuppy.monkey.org> User-Agent: Mutt/1.3.27i From: Bill Huey 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 On Tue, Feb 26, 2002 at 10:57:27AM -0800, Bill Huey wrote: > What I do is attach GDB with symbol references to an already running JVM > process and then work things from there. Move into the directory and invoke > gdb to get the symbols or something like that. I'm not sure how this is > going to help you out though. To clarify... I mean you'll have to manipulate the gdb paths a bit to get it to load up the .so symbols. I don't remember exactly how I did it. Hmmm... Oh, there's a directory that's symbolically linked to bin/, so move into that area, "gdb java" or something like that and i'll load up the symbols. I don't think this is going to help out though. Also, there's a means of flipping on the C based bytecode interpreter instead of the assembler optimized one. That should give you more concrete checks. It was also the means that I found out where the SEGV was for that wierd waiting-queue wackiness I ran into at the end of last year. That should be a command line switch (I can't rememeber off hand) or you can just look at the JVM initialization code and hand glue it it. Go for the command line option if you know what it is. That's all I can help you with for now. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 11:18:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id EE6E137B405 for ; Tue, 26 Feb 2002 11:18:19 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 16fn7D-000C72-00; Tue, 26 Feb 2002 19:18:19 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1QJIIR57799; Tue, 26 Feb 2002 19:18:18 GMT (envelope-from jcm) Date: Tue, 26 Feb 2002 19:18:18 +0000 From: j mckitrick To: Stacy Millions Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java with simpler tools - question Message-ID: <20020226191818.A57665@dogma.freebsd-uk.eu.org> References: <20020225163854.A48327@dogma.freebsd-uk.eu.org> <3C7A6F0E.4020706@vee.net> <20020226154543.B55088@dogma.freebsd-uk.eu.org> <3C7BB182.FECB073@millions.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3C7BB182.FECB073@millions.ca>; from stacy@millions.ca on Tue, Feb 26, 2002 at 09:02:10AM -0700 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 On Tue, Feb 26, 2002 at 09:02:10AM -0700, Stacy Millions wrote: | j mckitrick wrote: | > So about the fastest/lightest combination would be an editor, jikes, | > and ant, correct? | | That is my take on it, yes. You had stated that you were doing this | for education purposes. I don't know what level of a programmer you | are, but you might want to take a look at bluej. I am using it to My employment is based on Win32, but I run FreeBSD on my home machine and I'd like to broaden my skills beyond C in Unix. I think C is really only good for platform specific apps, and I'd like to think Java represents the new way of thinking in software design. So, I'd like an IDE that is better than a raw IDE but that isn't a resource hog like NetBeans and Forte. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 11:18:56 2002 Delivered-To: freebsd-java@freebsd.org Received: from Millions.Ca (h-207-228-120-32.gen.cadvision.com [207.228.120.32]) by hub.freebsd.org (Postfix) with ESMTP id D79DD37B402 for ; Tue, 26 Feb 2002 11:18:30 -0800 (PST) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id g1QJITu83188 for ; Tue, 26 Feb 2002 12:18:29 -0700 (MST) (envelope-from stacy@Millions.Ca) Received: from Cedar.Millions.Ca(192.168.64.8) via SMTP by mail-gw-0.millions.ca, id smtpdN83184; Tue Feb 26 12:18:23 2002 Received: from millions.ca (Maple.Millions.Ca [192.168.64.2]) by cedar.millions.ca (8.11.1/8.11.3) with ESMTP id g1QJIMs17122 for ; Tue, 26 Feb 2002 12:18:23 -0700 (MST) (envelope-from stacy@millions.ca) Message-ID: <3C7BDF7E.D8645D7@millions.ca> Date: Tue, 26 Feb 2002 12:18:22 -0700 From: Stacy Millions Organization: Millions Consulting Limited X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "FreeBSD Java mailing list (E-mail)" Subject: Re: 1.3.1p6 dies sigbus with threads References: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> Content-Type: multipart/mixed; boundary="------------C0FBC2234DC01CBBA975584F" 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 This is a multi-part message in MIME format. --------------C0FBC2234DC01CBBA975584F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Koster, K.J." wrote: > > Dear All, and Bill Huey in particular, :) > > I can make 1.3.1p6 fall onto it's face by creating threads Another data point, I have a simple test program that has the same result (as my kids would say, "java goes 'trip, thud'") just by using SecureRandom (who fires of a whole load of threads). You have to run it about 50 times, but eventually it will dump core. I made it a Swing app to get the additional AWT and friends threads to help speed up the "trip, thud" process. The problem existed in p5 as well (actually, I think it happens less often in p6, but I don't have any hard data to back that up). Unfortunately, I have not had time to debug it farther. -stacy -- You'll see it's all a show. Keep 'em laughing as you go. Just remember that the last laugh is on you. - Monty Python _The Life Of Brian_ Stacy Millions stacy@millions.ca Millions Consulting Limited --------------C0FBC2234DC01CBBA975584F Content-Type: application/x-unknown-content-type-PFE32; name="SecureRandomTest.java" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="SecureRandomTest.java" CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnNlY3VyaXR5Lio7CmltcG9ydCBqY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b25lIik7CgkJCX0KCQljYXRjaChFeGNlcHRp b24gZSkKCQkJewoJCQlTeXN0ZW0uZXJyLnByaW50bG4oIkNhdWdodCBleGNlcHRpb246ICIg KyBlKTsKCQkJZS5wcmludFN0YWNrVHJhY2UoKTsKCQkJfQoJCVN5c3RlbS5leGl0KDApOwoJ CX0KCX0K --------------C0FBC2234DC01CBBA975584F Content-Type: text/plain; charset=us-ascii; name="javacore.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="javacore.txt" getting key pair generator initializing key pair generator generating key pair SIGBUS 10* bus error Full thread dump Classic VM (1.3.1-p6-stacy-020214-09:37, green threads): "SeedGenerator Thread" (TID:0x28ea2f08, sys_thread_t:0x85c1880, state:R) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28ea2b30, sys_thread_t:0x85f6c80, state:R) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28ea0428, sys_thread_t:0x85c1080, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28ea0148, sys_thread_t:0x8597a80, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e9ec18, sys_thread_t:0x8597e80, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e9e680, sys_thread_t:0x85f6a80, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd90, sys_thread_t:0x85f6880, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd78, sys_thread_t:0x85f6680, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd60, sys_thread_t:0x85f6480, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd40, sys_thread_t:0x85f6280, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd28, sys_thread_t:0x85f6080, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd10, sys_thread_t:0x85cae80, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6e870, sys_thread_t:0x85cac80, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6e858, sys_thread_t:0x85caa80, state:R) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6e840, sys_thread_t:0x85ca880, state:R) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6e828, sys_thread_t:0x85ca680, state:R) prio=1 at java.lang.Runtime.gc(Native Method) at java.lang.System.gc(System.java:723) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:323) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e70f38, sys_thread_t:0x8584a80, state:R) prio=1 at sun.security.provider.SeedGenerator.run(SeedGenerator.java:117) at java.lang.Thread.run(Thread.java:484) "AWT-Motif" (TID:0x28eacfe8, sys_thread_t:0x8468680, state:CW) prio=6 at sun.awt.motif.MToolkit.run(Native Method) at java.lang.Thread.run(Thread.java:484) "SunToolkit.PostEventQueue-0" (TID:0x28e70d48, sys_thread_t:0x841ce80, state:R) prio=6 at sun.awt.PostEventQueue.run(SunToolkit.java:485) "AWT-EventQueue-0" (TID:0x28e70e38, sys_thread_t:0x841cc80, state:R) prio=6 at sun.awt.motif.MComponentPeer.nativeHandleEvent(Native Method) at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:361) at java.awt.Component.dispatchEventImpl(Component.java:2663) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Window.dispatchEventImpl(Window.java:914) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) "Finalizer" (TID:0x28e7a528, sys_thread_t:0x80d4080, state:CW) prio=8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162) "Reference Handler" (TID:0x28e7a300, sys_thread_t:0x8096480, state:CW) prio=10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110) "Signal dispatcher" (TID:0x28e7a330, sys_thread_t:0x8096280, state:CW) prio=5 "main" (TID:0x28e7a1b0, sys_thread_t:0x8054080, state:CW) prio=5 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at sun.security.provider.SeedGenerator._getByte(SeedGenerator.java:174) at sun.security.provider.SeedGenerator.getByte(SeedGenerator.java:164) at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:117) at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:175) at java.security.SecureRandom.nextBytes(SecureRandom.java:329) at java.security.SecureRandom.next(SecureRandom.java:351) at java.util.Random.nextInt(Random.java:181) at sun.security.provider.DSAKeyPairGenerator.generateX(DSAKeyPairGenerator.java:328) at sun.security.provider.DSAKeyPairGenerator.generateKeyPair(DSAKeyPairGenerator.java:294) at sun.security.provider.DSAKeyPairGenerator.generateKeyPair(DSAKeyPairGenerator.java:288) at SecureRandomTest.main(SecureRandomTest.java:36) Monitor Cache Dump: java.security.SecureRandom@28EA0570/29001618: owner "main" (0x8054080) 1 entry sun.security.provider.SecureRandom@28E9DEC8/29001830: owner "main" (0x8054080) 1 entry java.lang.ref.ReferenceQueue$Lock@28E7A540/28EB0478: Waiting to be notified: "Finalizer" (0x80d4080) java.lang.ref.Reference$Lock@28E7A310/28EAFF98: Waiting to be notified: "Reference Handler" (0x8096480) sun.awt.PostEventQueue@28E70D48/28FAA618: owner "SunToolkit.PostEventQueue-0" (0x841ce80) 0 entries java.lang.Class@28EA5C58/28F86B40: owner "AWT-EventQueue-0" (0x841cc80) 0 entries sun.security.provider.SeedGenerator@28E9DBD8/29001DF8: Waiting to be notified: "main" (0x8054080) Registered Monitor Dump: utf8 hash table: JNI pinning lock: JNI global reference lock: BinClass lock: Class linking lock: System class loader lock: Code rewrite lock: Heap lock: Monitor cache lock: owner (0x8054280) 1 entry Dynamic loading lock: Monitor IO lock: User signal monitor: Waiting to be notified: "Signal dispatcher" (0x8096280) Child death monitor: I/O monitor: Waiting to be notified: "AWT-Motif" (0x8468680) Alarm monitor: owner (0x8054280) 1 entry Thread queue lock: owner (0x8054280) 1 entry Monitor registry: owner (0x8054280) 1 entry SIGABRT 6* abort (generated by abort(3) routine) Full thread dump Classic VM (1.3.1-p6-stacy-020214-09:37, green threads): "SeedGenerator Thread" (TID:0x28ea2f08, sys_thread_t:0x85c1880, state:R) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28ea2b30, sys_thread_t:0x85f6c80, state:R) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28ea0428, sys_thread_t:0x85c1080, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28ea0148, sys_thread_t:0x8597a80, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e9ec18, sys_thread_t:0x8597e80, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e9e680, sys_thread_t:0x85f6a80, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd90, sys_thread_t:0x85f6880, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd78, sys_thread_t:0x85f6680, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd60, sys_thread_t:0x85f6480, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd40, sys_thread_t:0x85f6280, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd28, sys_thread_t:0x85f6080, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6cd10, sys_thread_t:0x85cae80, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6e870, sys_thread_t:0x85cac80, state:CW) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6e858, sys_thread_t:0x85caa80, state:R) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6e840, sys_thread_t:0x85ca880, state:R) prio=1 at java.lang.Thread.sleep(Native Method) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e6e828, sys_thread_t:0x85ca680, state:R) prio=1 at java.lang.Runtime.gc(Native Method) at java.lang.System.gc(System.java:723) at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:323) at java.lang.Thread.run(Thread.java:484) "SeedGenerator Thread" (TID:0x28e70f38, sys_thread_t:0x8584a80, state:R) prio=1 at sun.security.provider.SeedGenerator.run(SeedGenerator.java:117) at java.lang.Thread.run(Thread.java:484) "AWT-Motif" (TID:0x28eacfe8, sys_thread_t:0x8468680, state:CW) prio=6 at sun.awt.motif.MToolkit.run(Native Method) at java.lang.Thread.run(Thread.java:484) "SunToolkit.PostEventQueue-0" (TID:0x28e70d48, sys_thread_t:0x841ce80, state:R) prio=6 at sun.awt.PostEventQueue.run(SunToolkit.java:485) "AWT-EventQueue-0" (TID:0x28e70e38, sys_thread_t:0x841cc80, state:R) prio=6 at sun.awt.motif.MComponentPeer.nativeHandleEvent(Native Method) at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:361) at java.awt.Component.dispatchEventImpl(Component.java:2663) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Window.dispatchEventImpl(Window.java:914) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) "Finalizer" (TID:0x28e7a528, sys_thread_t:0x80d4080, state:CW) prio=8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162) "Reference Handler" (TID:0x28e7a300, sys_thread_t:0x8096480, state:CW) prio=10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110) "Signal dispatcher" (TID:0x28e7a330, sys_thread_t:0x8096280, state:CW) prio=5 "main" (TID:0x28e7a1b0, sys_thread_t:0x8054080, state:CW) prio=5 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at sun.security.provider.SeedGenerator._getByte(SeedGenerator.java:174) at sun.security.provider.SeedGenerator.getByte(SeedGenerator.java:164) at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:117) at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:175) at java.security.SecureRandom.nextBytes(SecureRandom.java:329) at java.security.SecureRandom.next(SecureRandom.java:351) at java.util.Random.nextInt(Random.java:181) at sun.security.provider.DSAKeyPairGenerator.generateX(DSAKeyPairGenerator.java:328) at sun.security.provider.DSAKeyPairGenerator.generateKeyPair(DSAKeyPairGenerator.java:294) at sun.security.provider.DSAKeyPairGenerator.generateKeyPair(DSAKeyPairGenerator.java:288) at SecureRandomTest.main(SecureRandomTest.java:36) Monitor Cache Dump: java.security.SecureRandom@28EA0570/29001618: owner "main" (0x8054080) 1 entry sun.security.provider.SecureRandom@28E9DEC8/29001830: owner "main" (0x8054080) 1 entry java.lang.ref.ReferenceQueue$Lock@28E7A540/28EB0478: Waiting to be notified: "Finalizer" (0x80d4080) java.lang.ref.Reference$Lock@28E7A310/28EAFF98: Waiting to be notified: "Reference Handler" (0x8096480) sun.awt.PostEventQueue@28E70D48/28FAA618: owner "SunToolkit.PostEventQueue-0" (0x841ce80) 0 entries java.lang.Class@28EA5C58/28F86B40: owner "AWT-EventQueue-0" (0x841cc80) 0 entries sun.security.provider.SeedGenerator@28E9DBD8/29001DF8: Waiting to be notified: "main" (0x8054080) Registered Monitor Dump: utf8 hash table: JNI pinning lock: JNI global reference lock: BinClass lock: Class linking lock: System class loader lock: Code rewrite lock: Heap lock: Monitor cache lock: owner (0x8054280) 1 entry Dynamic loading lock: Monitor IO lock: User signal monitor: Waiting to be notified: "Signal dispatcher" (0x8096280) Child death monitor: I/O monitor: Waiting to be notified: "AWT-Motif" (0x8468680) Alarm monitor: owner (0x8054280) 1 entry Thread queue lock: owner (0x8054280) 1 entry Monitor registry: owner (0x8054280) 1 entry Abort (core dumped) --------------C0FBC2234DC01CBBA975584F Content-Type: text/plain; charset=us-ascii; name="javagdb.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="javagdb.txt" : bonsai$; gdb /usr/local/jdk1.3.1/jre/bin/i386/green_threads/java java.core GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... Core was generated by `java'. Program terminated with signal 6, Abort trap. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so...(no debugging symbols found)...done. Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libverify.so...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libjava.so...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libzip.so...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libmlib_image.so...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/libXm.so.2...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/libXp.so.6...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/libXt.so.6...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/libSM.so.6...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/libICE.so.6...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/libXtst.so.6...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/libXThrStub.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libfontmanager.so...(no debugging symbols found)...done. Reading symbols from /usr/lib/libstdc++.so.3...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...(no debugging symbols found)...done. Reading symbols from /usr/X11R6/lib/X11/locale/common/ximcp.so.2...(no debugging symbols found)...done. Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libnet.so...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done. #0 0x280b6994 in kill () from /usr/lib/libc.so.4 (gdb) bt #0 0x280b6994 in kill () from /usr/lib/libc.so.4 #1 0x280f2b35 in abort () from /usr/lib/libc.so.4 #2 0x28160ad9 in Abort () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #3 0x28189a9f in panicHandler () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #4 0x28076647 in userSignalHandler () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so #5 0x28076600 in intrDispatch () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so #6 0x2806f917 in intrDispatchMD () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so #7 0xbfbfffac in ?? () #8 0x28073c5d in reschedule () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so #9 0x28073500 in queueWait () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so #10 0x28073ac9 in sysMonitorWait () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so #11 0x28071f3b in poll () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so #12 0x2dff6879 in performPoll () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so #13 0x2dff677f in waitForEvents () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so #14 0x2dff6482 in awt_MToolkit_loop () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so #15 0x2dff7339 in Java_sun_awt_motif_MToolkit_run () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so #16 0x28160bd0 in invoke_V_V () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #17 0x281586c0 in invokeLazyNativeMethod () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #18 0x28191766 in found_it6 () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #19 0x0 in ?? () (gdb) --------------C0FBC2234DC01CBBA975584F-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 12:15:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 0CB3437B405 for ; Tue, 26 Feb 2002 12:15:28 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16fo0E-0000hN-00; Tue, 26 Feb 2002 12:15:10 -0800 Date: Tue, 26 Feb 2002 12:15:10 -0800 To: Stacy Millions Cc: "FreeBSD Java mailing list (E-mail)" Subject: Re: 1.3.1p6 dies sigbus with threads Message-ID: <20020226201510.GA2572@gnuppy.monkey.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> <3C7BDF7E.D8645D7@millions.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C7BDF7E.D8645D7@millions.ca> User-Agent: Mutt/1.3.27i From: Bill Huey 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 On Tue, Feb 26, 2002 at 12:18:22PM -0700, Stacy Millions wrote: > Another data point, I have a simple test program that has the same > result (as my kids would say, "java goes 'trip, thud'") just by using > SecureRandom (who fires of a whole load of threads). You have to > run it about 50 times, but eventually it will dump core. I made > it a Swing app to get the additional AWT and friends threads to help > speed up the "trip, thud" process. > > The problem existed in p5 as well (actually, I think it happens less > often in p6, but I don't have any hard data to back that up). > Unfortunately, I have not had time to debug it farther. Hmmm, an assertion blew. > SIGABRT 6* abort (generated by abort(3) routine) ... > #0 0x280b6994 in kill () from /usr/lib/libc.so.4 > #1 0x280f2b35 in abort () from /usr/lib/libc.so.4 > #2 0x28160ad9 in Abort () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so > #3 0x28189a9f in panicHandler () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so > #4 0x28076647 in userSignalHandler () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so > #5 0x28076600 in intrDispatch () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so > #6 0x2806f917 in intrDispatchMD () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so > #7 0xbfbfffac in ?? () > #8 0x28073c5d in reschedule () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so > #9 0x28073500 in queueWait () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so > #10 0x28073ac9 in sysMonitorWait () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so > #11 0x28071f3b in poll () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so > #12 0x2dff6879 in performPoll () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so > #13 0x2dff677f in waitForEvents () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so > #14 0x2dff6482 in awt_MToolkit_loop () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so > #15 0x2dff7339 in Java_sun_awt_motif_MToolkit_run () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so > #16 0x28160bd0 in invoke_V_V () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so > #17 0x281586c0 in invokeLazyNativeMethod () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so > #18 0x28191766 in found_it6 () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so That's unusual. It's a different stack trace than Jees's. Another thing that's important is if it is consistently blowing it in the same place or not. If it is then it's likely a problem with the basic subsystem some how, if not then it's generally a threading problem. I can't tell at this point without more information, but these are important bugs to squash and shouldn't be blown off by the core JVM staff. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 12:20:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 2248B37B400 for ; Tue, 26 Feb 2002 12:20:35 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16fo5R-0000iv-00; Tue, 26 Feb 2002 12:20:33 -0800 Date: Tue, 26 Feb 2002 12:20:33 -0800 To: Stacy Millions Cc: "FreeBSD Java mailing list (E-mail)" Subject: Re: 1.3.1p6 dies sigbus with threads Message-ID: <20020226202033.GA2761@gnuppy.monkey.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> <3C7BDF7E.D8645D7@millions.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C7BDF7E.D8645D7@millions.ca> User-Agent: Mutt/1.3.27i From: Bill Huey 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 On Tue, Feb 26, 2002 at 12:18:22PM -0700, Stacy Millions wrote: > Another data point, I have a simple test program that has the same > result (as my kids would say, "java goes 'trip, thud'") just by using > SecureRandom (who fires of a whole load of threads). You have to > run it about 50 times, but eventually it will dump core. I made > it a Swing app to get the additional AWT and friends threads to help > speed up the "trip, thud" process. Another thing, can you post the test program publically or give to me privately ? Do what ever is comfortable. I've been HotSpotting, but this is something that's potentially worthy of distraction, certainly noteworthy as a PR of some sort. Thanks. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 12:24:30 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 004EF37B405 for ; Tue, 26 Feb 2002 12:24:28 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id NAA01490; Tue, 26 Feb 2002 13:24:25 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1QKOMB08896; Tue, 26 Feb 2002 13:24:22 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15483.61174.727299.986803@caddis.yogotech.com> Date: Tue, 26 Feb 2002 13:24:22 -0700 To: Bill Huey Cc: Stacy Millions , "FreeBSD Java mailing list (E-mail)" Subject: Re: 1.3.1p6 dies sigbus with threads In-Reply-To: <20020226202033.GA2761@gnuppy.monkey.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> <3C7BDF7E.D8645D7@millions.ca> <20020226202033.GA2761@gnuppy.monkey.org> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > Another data point, I have a simple test program that has the same > > result (as my kids would say, "java goes 'trip, thud'") just by using > > SecureRandom (who fires of a whole load of threads). You have to > > run it about 50 times, but eventually it will dump core. I made > > it a Swing app to get the additional AWT and friends threads to help > > speed up the "trip, thud" process. > > Another thing, can you post the test program publically or give to me > privately ? Do what ever is comfortable. > > I've been HotSpotting, but this is something that's potentially worthy > of distraction, certainly noteworthy as a PR of some sort. Sending a PR to the FreeBSD team won't be of much help, since many of the JVM team don't have access to the FreeBSD PR system. Better yet would be to send the report to the private 'java-port' mailing list at 'java-port@FreeBSD.org'. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 12:44:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from Millions.Ca (h-207-228-120-32.gen.cadvision.com [207.228.120.32]) by hub.freebsd.org (Postfix) with ESMTP id 43F6637B400 for ; Tue, 26 Feb 2002 12:44:29 -0800 (PST) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id g1QKiNX83353; Tue, 26 Feb 2002 13:44:23 -0700 (MST) (envelope-from stacy@Millions.Ca) Received: from Cedar.Millions.Ca(192.168.64.8) via SMTP by mail-gw-0.millions.ca, id smtpdA83351; Tue Feb 26 13:44:17 2002 Received: from millions.ca (Maple.Millions.Ca [192.168.64.2]) by cedar.millions.ca (8.11.1/8.11.3) with ESMTP id g1QKiGs17302; Tue, 26 Feb 2002 13:44:16 -0700 (MST) (envelope-from stacy@millions.ca) Message-ID: <3C7BF3A0.43D98957@millions.ca> Date: Tue, 26 Feb 2002 13:44:16 -0700 From: Stacy Millions Organization: Millions Consulting Limited X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Bill Huey Cc: "FreeBSD Java mailing list (E-mail)" Subject: Re: 1.3.1p6 dies sigbus with threads References: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> <3C7BDF7E.D8645D7@millions.ca> <20020226202033.GA2761@gnuppy.monkey.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Bill Huey wrote: > Another thing, can you post the test program publically or give to me > privately ? Do what ever is comfortable. Did your mail agent not like the attachment in my original email (SecureRandomTest.java)? That is it, all 47 lines of it, no confidential material involved. -stacy -- You'll see it's all a show. Keep 'em laughing as you go. Just remember that the last laugh is on you. - Monty Python _The Life Of Brian_ Stacy Millions stacy@millions.ca Millions Consulting Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 13:27:50 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 2690E37B405 for ; Tue, 26 Feb 2002 13:27:42 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16fp8O-0007MQ-00; Tue, 26 Feb 2002 14:27:41 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1QLRXO18296; Wed, 27 Feb 2002 07:57:33 +1030 (CST) (envelope-from glewis) Date: Wed, 27 Feb 2002 07:57:33 +1030 From: Greg Lewis To: "Koster, K.J." Cc: "FreeBSD Java mailing list (E-mail)" Subject: Re: 1.3.1p6 dies sigbus with threads Message-ID: <20020227075733.A17902@misty.eyesbeyond.com> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, Feb 26, 2002 at 07:32:24PM +0100 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 On Tue, Feb 26, 2002 at 07:32:24PM +0100, Koster, K.J. wrote: > I can make 1.3.1p6 fall onto it's face by creating threads and having them > generate HTTP traffic against a local web server (HTTPUnit against an Orion > server). The code works fine on a FreeBSD machine with Linux-jdk13 and on > the massive Sun that will be our production server. > > However, in the interest of testing our native port I have been running the > same test in our native port on a spare box. It does not hold as well. I'm > rerunning the tests with java_g instead of java but I won't stick around for > the results tonight. [.snip] > I would appreciate suggestions on how to debug this in more detail. Run with java_g so you can get some more information (which you're doing). You can also run it under gdb with something like: env DEBUG_PROG=gdb java_g -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 15:38: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 7381437B41C for ; Tue, 26 Feb 2002 15:38:07 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16fppn-0000rn-00; Tue, 26 Feb 2002 14:12:31 -0800 Date: Tue, 26 Feb 2002 14:12:31 -0800 To: Stacy Millions Cc: "FreeBSD Java mailing list (E-mail)" Subject: Re: 1.3.1p6 dies sigbus with threads Message-ID: <20020226221231.GB3321@gnuppy.monkey.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com> <3C7BDF7E.D8645D7@millions.ca> <20020226202033.GA2761@gnuppy.monkey.org> <3C7BF3A0.43D98957@millions.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C7BF3A0.43D98957@millions.ca> User-Agent: Mutt/1.3.27i From: Bill Huey 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 On Tue, Feb 26, 2002 at 01:44:16PM -0700, Stacy Millions wrote: > Did your mail agent not like the attachment in my original email > (SecureRandomTest.java)? That is it, all 47 lines of it, no confidential > material involved. Uh, (ambarrassed) I'm not use to dealing with them since I use text based Unix mail clients which often don't make attachments terribly visible. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 16: 4:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from carme.recalldesign.com (carme.recalldesign.com [203.15.93.5]) by hub.freebsd.org (Postfix) with ESMTP id 13A5D37B402 for ; Tue, 26 Feb 2002 16:04:11 -0800 (PST) Received: from io.internal.recalldesign.com (mail.internal.recalldesign.com [203.15.93.150]) by carme.recalldesign.com (8.11.6/8.11.6) with ESMTP id g1QNqVe28966; Wed, 27 Feb 2002 10:22:31 +1030 (CST) (envelope-from mike@vee.net) Received: from vee.net (polarlander.internal.recalldesign.com [203.15.93.252]) by io.internal.recalldesign.com (8.11.6/8.11.6) with ESMTP id g1R045o03578; Wed, 27 Feb 2002 10:34:08 +1030 (CST) (envelope-from mike@vee.net) Message-ID: <3C7C2275.8060904@vee.net> Date: Wed, 27 Feb 2002 10:34:05 +1030 From: Michael Gratton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020225 X-Accept-Language: en-au, en-gb, en, ja MIME-Version: 1.0 To: j mckitrick Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java with simpler tools - question References: <20020225163854.A48327@dogma.freebsd-uk.eu.org> <3C7A6F0E.4020706@vee.net> <20020226154543.B55088@dogma.freebsd-uk.eu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 j mckitrick wrote: > So about the fastest/lightest combination would be an editor, jikes, and > ant, correct? Pretty much, especially compared to a modern IDE. As Brad Cox pointed out, make is as fast (usualy much faster) than Ant, because Ant is java based and hence it runs up a JVM when you invoke it. Ant does have many useful features over make, however, and is generally quite useful. Mike. -- Mike Gratton Leader in leachate production and transmission since 1976. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 16:51:34 2002 Delivered-To: freebsd-java@freebsd.org Received: from carme.recalldesign.com (carme.recalldesign.com [203.15.93.5]) by hub.freebsd.org (Postfix) with ESMTP id C682137B400 for ; Tue, 26 Feb 2002 16:51:29 -0800 (PST) Received: from io.internal.recalldesign.com (mail.internal.recalldesign.com [203.15.93.150]) by carme.recalldesign.com (8.11.6/8.11.6) with ESMTP id g1R0dle29150; Wed, 27 Feb 2002 11:09:47 +1030 (CST) (envelope-from mike@vee.net) Received: from vee.net (polarlander.internal.recalldesign.com [203.15.93.252]) by io.internal.recalldesign.com (8.11.6/8.11.6) with ESMTP id g1R0pNo04009; Wed, 27 Feb 2002 11:21:24 +1030 (CST) (envelope-from mike@vee.net) Message-ID: <3C7C2D8B.10203@vee.net> Date: Wed, 27 Feb 2002 11:21:23 +1030 From: Michael Gratton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020225 X-Accept-Language: en-au, en-gb, en, ja MIME-Version: 1.0 To: "Bissell, Tim" Cc: freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Bissell, Tim wrote: > Tubby honest, I'm not convinced Jikes and Ant go together - > Jikes' raison d'etre is speed, but the java compiler is quite > fast when used inside the Ant JVM - you lose the startup costs. True, true, but one of the reasons I use Jikes with ant is to recover the time cost from starting Ant. 8) Still, due to some wacky bugs jikes has, I have cause to use javac with Ant, and javac still does take longer than, significantly so for large builds, even without the overhead of starting a JVM. >>So I'm wondering whether ant does anything that would make it >>worth the effort of learning to use it. >> > [snip: many good reasons to use Ant] To add to that list: Automatically generating release documention and the web site for your project, using XSLT. Mike. -- Mike Gratton Leader in leachate production and transmission since 1976. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 26 23: 4:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.musha.org (daemon.musha.org [218.44.187.2]) by hub.freebsd.org (Postfix) with ESMTP id 9990E37B41A; Tue, 26 Feb 2002 23:04:45 -0800 (PST) Received: from archon.musha.org (archon.local.idaemons.org [192.168.1.32]) by mail.musha.org (Postfix) with ESMTP id 97E4F4D832; Wed, 27 Feb 2002 16:04:41 +0900 (JST) Date: Wed, 27 Feb 2002 16:04:41 +0900 Message-ID: <86g03nl81i.wl@archon.musha.org> From: "Akinori MUSHA" To: Garance A Drosihn Cc: Ernst de Haan , portmgr@FreeBSD.ORG, ports@FreeBSD.ORG, java@FreeBSD.ORG, sobomax@FreeBSD.ORG, kevlo@FreeBSD.ORG, knu@FreeBSD.ORG Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk (+ruby) In-Reply-To: References: <200202251018.g1PAIqi02136@zaphod.euronet.nl> <200202251744.g1PHilj09014@zaphod.euronet.nl> User-Agent: Wanderlust/2.9.5 (Unchained Melody) SEMI/1.14.3 (Ushinoya) LIMIT/1.14.7 (Fujiidera) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII 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 At Mon, 25 Feb 2002 13:38:38 -0500, Garance A Drosihn wrote: > >> needs to be fixed up. > > > >That's why it's *loosely* modelled after bsd.ruby.mk ;-) > > > >The bsd.java.mk file is very simple in its current form, so my > >guess is that whatever your problems are with the bsd.ruby.mk, > >they probably don't apply to the bsd.java.mk. :) Since we have many ruby developers who are on FreeBSD, bsd.ruby.mk is designed and made to allow users to install the ruby module ports on a manually installed ruby instead of the one from the port (lang/ruby or lang/ruby-devel), and also allow users to install multiple versions of ruby at the same time without conflict. Most hacks in bsd.ruby.mk that look ugly are because of that, so you don't want to follow bsd.ruby.mk in that respect unless there is a similar demand among the FreeBSD-Java folk. > I'm being pestered with "emergency" phone calls at the moment, > so my last message wasn't as useful as it should have been. I > should have done a bit more checking into the problem, and at > least described what the problem was! > > This will seem a bit contorted, but it's a trap I fell into one > time by mistake, and it took me quite awhile to figure out how > I got there and how to get out of it... > > If you go into a port like 'portupgrade', and do a 'make', you > will see some familiar-looking messages such as: > > Warning: Object directory not changed from original > /usr/ports/sysutils/portupgrade/work/pkgtools-... I'm not following you... Are you saying that the warning is a problem and it has something to do with bsd.ruby.mk? Portugprade has BSD-style Makefile's for build and install, and that's why you see the same warning you see when building a component of FreeBSD. > At this point, 'make's done at the port-level will fail with various > weird errors. I got as far as making a patch to bsd.ruby.mk which > solved some of those problems, and then I ran into a problem which > was too complicated for me to figure out at the time. > > While it may be a bit odd to do the 'make obj', the warning messages > certainly imply that it would be reasonable to do, and the target is > recognized and does work. But if that 'make obj' is done, then the > port will no longer work. > > So, you might want to check this new bsd.java.mk, and see if it has > this same problem as bsd.ruby.mk does. Sorry, but I couldn't figure out what the problems are and in what respect bsd.ruby.mk needs to be fixed in your mail. Could you elaborate? -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Somewhere out of a memory.. of lighted streets on quiet nights.." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 0: 9:20 2002 Delivered-To: freebsd-java@freebsd.org Received: from ool-18bace-250.dyn.optonline.net (ool-18bace-250.dyn.optonline.net [24.186.206.250]) by hub.freebsd.org (Postfix) with ESMTP id BFAAE37B402 for ; Wed, 27 Feb 2002 00:09:16 -0800 (PST) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.11.6/8.11.6) id g1QJn5s20179; Tue, 26 Feb 2002 14:49:05 -0500 (EST) (envelope-from cbr) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15483.59052.247650.5380@ool-18bacefa.dyn.optonline.net> Date: Tue, 26 Feb 2002 14:49:00 -0500 To: Christopher Elkins Cc: Jeff Dalton , Brad Cox , freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? In-Reply-To: <20020226092104.G220@uqbar.lan.scardini.com> References: <23144.200202261659@todday> <20020226091136.F220@uqbar.lan.scardini.com> <20020226092104.G220@uqbar.lan.scardini.com> X-Mailer: VM 7.00 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 > On Tue, Feb 26, 2002 at 09:11:36AM -0800, Christopher Elkins wrote: > > > > Yes. > > Sorry, not enough coffee yet. That should've been: > > No. That can get you *almost* there. There are two ways that I know of to use the javac target: 1) Name exactly the source file(s) you want to compile, and point it to the directory under which it can find all other .java files that may also need to be compiled; or 2) Tell it to compile somedir/**.java which will cause it to compile all java source files under the directory somedir, whether or not they are really needed by the particular application you are compiling. Lots of extra cruft. The problem with the first is that it does not check to see if a class file is older than the source. The problem with the second is that it compiles all .java files regardless of whether or not it is needed for the application. The way around it would be to name all of the .java files that *are* necessary, but this is kind of a hassle. If anyone has a better way of going about doing this, I'd be glad to hear it :). -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 0: 9:31 2002 Delivered-To: freebsd-java@freebsd.org Received: from ool-18bace-250.dyn.optonline.net (ool-18bace-250.dyn.optonline.net [24.186.206.250]) by hub.freebsd.org (Postfix) with ESMTP id 5668537B405 for ; Wed, 27 Feb 2002 00:09:26 -0800 (PST) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.11.6/8.11.6) id g1QJ9Xs20128; Tue, 26 Feb 2002 14:09:33 -0500 (EST) (envelope-from cbr) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15483.56685.121516.244948@ool-18bacefa.dyn.optonline.net> Date: Tue, 26 Feb 2002 14:09:33 -0500 To: mcclain@looneys.net Cc: freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? In-Reply-To: <20020226184118.03F9022522@mail.looneys.net> References: <23270.200202261830@todday> <20020226184118.03F9022522@mail.looneys.net> X-Mailer: VM 7.00 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 > I too think xml is horrible and sucky to read or write, but i suppose that's > what xml editors are for. has anyone used an xml editor to write > build file (no smart-ass comments about vi and emacs please )? > did they work? Forte has a built-in editor that works fairly well. If you give emacs the DTD, it actually can serve fairly well as an XML editor. Also, the Apache people who are working on ant are also (last I knew) working on an editor called "Antler" that is supposed to make creating build files easier. -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 1: 2:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by hub.freebsd.org (Postfix) with ESMTP id BA74A37B405 for ; Wed, 27 Feb 2002 01:02:20 -0800 (PST) Received: (from remco@localhost) by azrael.xs4all.nl (8.11.6/8.11.6) id g1R91sW78462; Wed, 27 Feb 2002 10:01:54 +0100 (CET) (envelope-from remco) Date: Wed, 27 Feb 2002 10:01:54 +0100 From: "Remco van 't Veer" To: Christopher Rued Cc: Christopher Elkins , Jeff Dalton , Brad Cox , freebsd-java@FreeBSD.ORG Subject: class dependencies (Re: What is ant good for?) Message-ID: <20020227090154.GB76841@azrael.xs4all.nl> References: <23144.200202261659@todday> <20020226091136.F220@uqbar.lan.scardini.com> <20020226092104.G220@uqbar.lan.scardini.com> <15483.59052.247650.5380@ool-18bacefa.dyn.optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15483.59052.247650.5380@ool-18bacefa.dyn.optonline.net> User-Agent: Mutt/1.3.27i X-Spook: ASIO RSO JIC ASWS Badger Analyzer FIS Geraldton Morwenstow Minox 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 On Tue, Feb 26, 2002 at 14:49, Christopher Rued wrote: > > On Tue, Feb 26, 2002 at 09:11:36AM -0800, Christopher Elkins wrote: > > > > > > Yes. > > > > Sorry, not enough coffee yet. That should've been: > > > > No. > > That can get you *almost* there. There are two ways that I know of to > use the javac target: > > 1) Name exactly the source file(s) you want to compile, and point it > to the directory under which it can find all other .java files > that may also need to be compiled; or > 2) Tell it to compile somedir/**.java which will cause it to compile > all java source files under the directory somedir, whether or not > they are really needed by the particular application you are > compiling. Lots of extra cruft. > > The problem with the first is that it does not check to see if a class > file is older than the source. The problem with the second is that it > compiles all .java files regardless of whether or not it is needed for > the application. The way around it would be to name all of the .java > files that *are* necessary, but this is kind of a hassle. > > If anyone has a better way of going about doing this, I'd be glad to > hear it :). A better way of doing this seems obvious; keeping application source in different directories. ;) Please note: it is very hard to determine which classes a given class depends on. Sure, if it's compiled you can use Class.getDeclaredClasses(), Class.getInterfaces() and Class.getSuperClass() to recursively collect all depended classes but you will miss all classes instanciated using Class.forName(String). Ofcourse this does not help you with you initial goal: only compiling needed classes. I don't know of any source level dependency checkers and I don't expect there are any. Writing something like that is more trouble than gain. Consider finding out all possible values of String in a simple statement like: public void addClassByName (String name) { classes.add(Class.forName(name)); } Values passed to this method can come from anywhere and these location might even get their values from a properties file, a database or worse; user input. So actually "keeping application source in different directories" really is the right way to go. HTH, Remco -- We resolve to continue to assertively unleash our relationships as the first step in our scheme to make our founder enough moola to exceed the net worth of the world's richest man. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 2:32:57 2002 Delivered-To: freebsd-java@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id BF07137B405 for ; Wed, 27 Feb 2002 02:32:54 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1) id 16g1OG-0000zm-00; Wed, 27 Feb 2002 10:32:52 +0000 Date: Wed, 27 Feb 2002 10:32:52 +0000 From: Rasputin To: Herve Quiroz Cc: java@freebsd.org Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk Message-ID: <20020227103252.A3778@shikima.mine.nu> Reply-To: Rasputin References: <20020225172049.Y50703-100000@puget.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020225172049.Y50703-100000@puget.esil.univ-mrs.fr>; from hquiroz@esil.univ-mrs.fr on Mon, Feb 25, 2002 at 05:28:33PM +0100 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 * Herve Quiroz [020225 16:24]: > > keytool.. at least more likely than java_n2a. Also shouldn't ant be > > included too? > > IMO ant installs always in the same directory (as long as you install it > via the ports collection) which lets us use it directly (as for gmake or > cc). So any maintainer for a port using ant would just add it in the > dependancies of its port and use it via ${PREFFIX}/bin/ant. > I am not very familiar with ant (actually not using it) but it sounds to > me like gmake or any make tool and should probably be managed the same way > others are. > Again I am no expert in ant... Nor me, (I know how to run it :) ), but I would point out a possible gotcha wile we're on the subject. xscreensaver installs a binary called 'ant', so you need to be careful to use ${PREFIX}/bin/ant, and not rely on the PATH. It was pretty funny to see the PostgreSQL port fire up a screensaver and throw Makefiles at it though... -- Simon's Law: Everything put together falls apart sooner or later. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 3:20: 7 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id CF3FC37B41A for ; Wed, 27 Feb 2002 03:20:03 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1RBK1e14705; Wed, 27 Feb 2002 12:20:01 +0100 (CET) (envelope-from ernst) Message-Id: <200202271120.g1RBK1e14705@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Rasputin , Herve Quiroz Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk Date: Wed, 27 Feb 2002 12:20:01 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@freebsd.org References: <20020225172049.Y50703-100000@puget.esil.univ-mrs.fr> <20020227103252.A3778@shikima.mine.nu> In-Reply-To: <20020227103252.A3778@shikima.mine.nu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Rasputin, > xscreensaver installs a binary called 'ant', so you need to be > careful to use ${PREFIX}/bin/ant, and not rely on the PATH. Thanks for pointing this out. I didn't know about this. The current Jakarta Ant port (devel/jakarta-ant) already installs a ${PREFIX}/bin/ant I think, so this may be a problem already.... Hmmm... Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 5:35:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from cerberus.perendengue.com (lnk-65-31-227-117.neb.rr.com [65.31.227.117]) by hub.freebsd.org (Postfix) with ESMTP id D011C37B400 for ; Wed, 27 Feb 2002 05:35:14 -0800 (PST) Received: by cerberus.perendengue.com (Postfix, from userid 1000) id 379E13C0D; Wed, 27 Feb 2002 07:34:45 -0600 (CST) Date: Wed, 27 Feb 2002 07:34:44 -0600 From: Jesse McConnell To: freebsd-java@freebsd.org Subject: bsd.java.mk Message-ID: <20020227073444.A91663@gallup.com> Mail-Followup-To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i 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 Great idea! I think this will really help increase peoples awareness for java support on freebsd. I would love to get more people aware of how good java is on fbsd. I have run the linux JDK's a lot and they just seem prone to failures when you change kernel versions, or especially have any differences in the glibc stuff. Never really had a problem with java on fbsd. :) I wanted to comment on that bsd.java.mk file. I really like the idea of adding it as I am working jboss ports at the moment. I should make that a lot easier. One note that I think we might want to consider is where javadoc information could go. Perhaps if those are chosen to be installed then we could install them into ${PREFIX}share/doc/java . All javadoc apis could be installed into subdirs based on port name and then tweak a html file in that java directory adding the link to that subdir's api info. Then flash a message at the end of the port install mentioning that the docs are browsable via a local browser or by linking to that directory from perhaps /usr/local/www/data. That would all people to link in a page or directory which would provide access to all javadoc info. Another thing I have read talked about is where the jars could go on simple things like helper classes. I like the idea of helper classes getting installed in something like /usr/local/java/libs or jars. Then we could provide a script like the glib12-config and gtk12-config only for the classpath. It would be handy to be able to set your classpath with all those special helper classes just by typing: export CLASSPATH=`java-config` Anyway, I am about 74 messćges behind on the mailing list so sorry if some of this has been talked about already. my thoughts, Jesse -- Jesse McConnell The Gallup Organization (402) 486-6987 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 5:48:31 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 5B82037B428 for ; Wed, 27 Feb 2002 05:48:07 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16g4R6-000DjY-00 for freebsd-java@freebsd.org; Wed, 27 Feb 2002 13:48:00 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1RDm0765406 for freebsd-java@freebsd.org; Wed, 27 Feb 2002 13:48:00 GMT (envelope-from jcm) Date: Wed, 27 Feb 2002 13:48:00 +0000 From: j mckitrick To: freebsd-java@freebsd.org Subject: Ugrade from linux-jdk to native Message-ID: <20020227134759.D64839@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Scanner: exiscan *16g4R6-000DjY-00*voWVXdhimSs* (Manchester Computing, University of Manchester) 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 Could someone point me to some info on the upgrade path from the last linux jdk to the new native one? Is it as simple as pkg_deinstall/pkg_add? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 5:55:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id EAA0837B41A for ; Wed, 27 Feb 2002 05:55:30 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F75TY>; Wed, 27 Feb 2002 14:55:29 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3B2@l04.research.kpn.com> From: "Koster, K.J." To: 'Stacy Millions' Cc: "FreeBSD Java mailing list (E-mail)" Subject: RE: 1.3.1p6 dies sigbus with threads Date: Wed, 27 Feb 2002 14:55:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Stacy, > > Another data point, I have a simple test program that has the same > result (as my kids would say, "java goes 'trip, thud'") just by using > SecureRandom (who fires of a whole load of threads). You have to > run it about 50 times, but eventually it will dump core. I made > it a Swing app to get the additional AWT and friends threads to help > speed up the "trip, thud" process. > Actually, the gdb stacktrace looks a lot different. I doubt it's the same problem. It should still be fixed, though. :) Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 5:56:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id ED58237B402 for ; Wed, 27 Feb 2002 05:56:07 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16g4Yq-000Dvr-00; Wed, 27 Feb 2002 13:56:00 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1RDu0N65462; Wed, 27 Feb 2002 13:56:00 GMT (envelope-from jcm) Date: Wed, 27 Feb 2002 13:56:00 +0000 From: j mckitrick To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Best IDE for slow system? Message-ID: <20020227135600.F64839@dogma.freebsd-uk.eu.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3A2@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3A2@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, Feb 26, 2002 at 07:04:52PM +0100 X-Scanner: exiscan *16g4Yq-000Dvr-00*LppwemcLNxE* (Manchester Computing, University of Manchester) 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 | It's not the application that makes the environment heterogenous, it is the | problem that we're a little short on developers at this time and we need to | be friends. No dictating development environments. :) I *so* wish I could do my development on a BSD box. But alas! I'm working in Win32. I keep telling my boss some Monday I'm going to walk in with a BSD version of our software so we can sell our instruments cheaper and with better uptime for the host machines. All I need now is 10 man years to spare. ;-) jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 6: 4:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 510E137B402 for ; Wed, 27 Feb 2002 06:04:40 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F75V4>; Wed, 27 Feb 2002 15:04:39 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3B3@l04.research.kpn.com> From: "Koster, K.J." To: 'j mckitrick' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Ugrade from linux-jdk to native Date: Wed, 27 Feb 2002 15:04:36 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Jm, > > Could someone point me to some info on the upgrade path from the last > linux jdk to the new native one? > > Is it as simple as pkg_deinstall/pkg_add? > You cannot use pkg_add, you must use the ports collection and build one. (Legal issues, will be resolved). # cd /usr/ports/java/jdk13 # make install clean # pkg_delete linux_jdk13 In that order. The linux JDK is necessary to build the native JDK. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 6: 7:14 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 6CE1637B402 for ; Wed, 27 Feb 2002 06:07:11 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F75WC>; Wed, 27 Feb 2002 15:07:10 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3B4@l04.research.kpn.com> From: "Koster, K.J." To: 'Greg Lewis' Cc: "FreeBSD Java mailing list (E-mail)" Subject: RE: 1.3.1p6 dies sigbus with threads Date: Wed, 27 Feb 2002 15:07:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear All, > > > I would appreciate suggestions on how to debug this in more detail. > > Run with java_g so you can get some more information (which > you're doing). > I'm having definite problems reproducing this with java_g. The -Xint option is not supported for some obscure reason. > > You can also run it under gdb with something like: > > env DEBUG_PROG=gdb java_g > I get the message "gdb: illegal argument -jar" or somesuch. *sigh* Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 6:13:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id C717237B402 for ; Wed, 27 Feb 2002 06:13:40 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1) id 16g4pu-0003Be-00; Wed, 27 Feb 2002 14:13:38 +0000 Date: Wed, 27 Feb 2002 14:13:38 +0000 From: Rasputin To: Ernst de Haan Cc: java@freebsd.org Subject: Re: Request for changing bsd.port.mk and adding bsd.java.mk Message-ID: <20020227141338.A12210@shikima.mine.nu> Reply-To: Rasputin References: <20020225172049.Y50703-100000@puget.esil.univ-mrs.fr> <20020227103252.A3778@shikima.mine.nu> <200202271120.g1RBK1e14705@zaphod.euronet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200202271120.g1RBK1e14705@zaphod.euronet.nl>; from ernsth@nl.euro.net on Wed, Feb 27, 2002 at 12:20:01PM +0100 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 * Ernst de Haan [020227 11:21]: > Rasputin, > > xscreensaver installs a binary called 'ant', so you need to be > > careful to use ${PREFIX}/bin/ant, and not rely on the PATH. > Thanks for pointing this out. I didn't know about this. The current Jakarta > Ant port (devel/jakarta-ant) already installs a ${PREFIX}/bin/ant I think, so > this may be a problem already.... No, that's fine, so long as the prefix qualifier is there, since generally the screensaver 'ant' ends up in ${X11BASE}/bin/. Fixing it once in bsd.java.mk should also mean java ports don't have to worry about this. -- Hardware,n: The bits you can kick. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 6:22: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from dragon.realtime.net (dragon.realtime.net [205.238.128.89]) by hub.freebsd.org (Postfix) with SMTP id BEE1C37B41A for ; Wed, 27 Feb 2002 06:21:57 -0800 (PST) Received: from tigerfish2.my.domain ([66.25.223.20]) by dragon.realtime.net ; Wed, 27 Feb 2002 08:21:52 -0600 Received: (from brucegb@localhost) by tigerfish2.my.domain (8.11.6/8.11.6) id g1RELph08226; Wed, 27 Feb 2002 08:21:51 -0600 (CST) (envelope-from brucegb) Date: Wed, 27 Feb 2002 08:21:51 -0600 From: Bruce Burden To: freebsd-java@freebsd.org Cc: jcm@FreeBSD-uk.eu.org Subject: Re: Ugrade from linux-jdk to native Message-ID: <20020227082151.K5923@tigerfish2.my.domain> References: <20020227134759.D64839@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020227134759.D64839@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Wed, Feb 27, 2002 at 01:48:00PM +0000 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 On Wed, Feb 27, 2002 at 01:48:00PM +0000, j mckitrick wrote: > > Could someone point me to some info on the upgrade path from the last > linux jdk to the new native one? > > Is it as simple as pkg_deinstall/pkg_add? > No. You will need the Linux JDK since you need a binary javac to build the native JDK. Its as simple as: 1) cd /usr/ports/java/jdk1.3 2) make install 3) 4) make install Bruce -- ------------------------------------------------------------------------ "I like bad!" Bruce Burden Austin, TX. - Thuganlitha The Power and the Prophet Robert Don Hughes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 7:41:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 3DB5F37B405 for ; Wed, 27 Feb 2002 07:41:20 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1RFfHt17563; Wed, 27 Feb 2002 16:41:17 +0100 (CET) (envelope-from ernst) Message-Id: <200202271541.g1RFfHt17563@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Jesse McConnell , freebsd-java@freebsd.org Subject: Support needed! [Was: bsd.java.mk] Date: Wed, 27 Feb 2002 16:41:17 +0100 X-Mailer: KMail [version 1.3.2] References: <20020227073444.A91663@gallup.com> In-Reply-To: <20020227073444.A91663@gallup.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi Jesse && all, > Great idea! I think this will really help increase peoples awareness > for java support on freebsd. I would love to get more people aware of > how good java is on fbsd. (snip) Well, then please reply to all recipients of my original email (including portmgr and ports) to show that there is actually interest for this bsd.java.mk. If portmgr do not receive any feedback, they may decide that the public does not care about something like this. So pleez support the proposal! Kind regards, Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 7:47:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from cerberus.perendengue.com (lnk-65-31-227-117.neb.rr.com [65.31.227.117]) by hub.freebsd.org (Postfix) with ESMTP id 95B3837B400; Wed, 27 Feb 2002 07:47:36 -0800 (PST) Received: by cerberus.perendengue.com (Postfix, from userid 1000) id 814723C0D; Wed, 27 Feb 2002 09:47:07 -0600 (CST) Date: Wed, 27 Feb 2002 09:47:07 -0600 From: Jesse McConnell To: portmgr@freebsd.org, java@FreeBSD.ORG, sobomax@FreeBSD.ORG, kevlo@FreeBSD.ORG, sebster@sebster.org, ernsth@nl.euro.net Subject: Support bsd.java.mk Message-ID: <20020227094707.A91818@gallup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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 Great idea! I think this will really help increase peoples awareness for java support on freebsd. I would love to get more people aware of how good java is on fbsd. I have run the linux JDK's a lot and they just seem prone to failures when you change kernel versions, or especially have any differences in the glibc stuff. Never really had a problem with java on fbsd. :) I wanted to comment on that bsd.java.mk file. I really like the idea of adding it as I am working jboss ports at the moment. I should make that a lot easier. One note that I think we might want to consider is where javadoc information could go. Perhaps if those are chosen to be installed then we could install them into ${PREFIX}share/doc/java . All javadoc apis could be installed into subdirs based on port name and then tweak a html file in that java directory adding the link to that subdir's api info. Then flash a message at the end of the port install mentioning that the docs are browsable via a local browser or by linking to that directory from perhaps /usr/local/www/data. That would all people to link in a page or directory which would provide access to all javadoc info. Another thing I have read talked about is where the jars could go on simple things like helper classes. I like the idea of helper classes getting installed in something like /usr/local/java/libs or jars. Then we could provide a script like the glib12-config and gtk12-config only for the classpath. It would be handy to be able to set your classpath with all those special helper classes just by typing: export CLASSPATH=`java-config` Chau! Jesse -- Jesse McConnell The Gallup Organization (402) 486-6987 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 7:58:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id F159D37B41A for ; Wed, 27 Feb 2002 07:58:33 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1RFwSl17597; Wed, 27 Feb 2002 16:58:28 +0100 (CET) (envelope-from ernst) Message-Id: <200202271558.g1RFwSl17597@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Jesse McConnell Subject: Re: Support bsd.java.mk Date: Wed, 27 Feb 2002 16:58:28 +0100 X-Mailer: KMail [version 1.3.2] References: <20020227094707.A91818@gallup.com> In-Reply-To: <20020227094707.A91818@gallup.com> Cc: java@FreeBSD.ORG MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Thanks Jesse :) Ernst On Wednesday 27 February 2002 16:47, Jesse McConnell wrote: > Great idea! I think this will really help increase peoples awareness > for java support on freebsd. I would love to get more people aware of > how good java is on fbsd. I have run the linux JDK's a lot and they > just seem prone to failures when you change kernel versions, or > especially have any differences in the glibc stuff. Never really had a > problem with java on fbsd. :) > > I wanted to comment on that bsd.java.mk file. I really like the > idea of adding it as I am working jboss ports at the moment. I should > make that a lot easier. One note that I think we might want to consider > is where javadoc information could go. > > Perhaps if those are chosen to be installed then we could install them > into ${PREFIX}share/doc/java . All javadoc apis could be installed into > subdirs based on port name and then tweak a html file in that java > directory adding the link to that subdir's api info. Then flash a > message at the end of the port install mentioning that the docs are > browsable via a local browser or by linking to that directory from > perhaps /usr/local/www/data. That would all people to link in a page or > directory which would provide access to all javadoc info. > > Another thing I have read talked about is where the jars could go on > simple things like helper classes. I like the idea of helper classes > getting installed in something like /usr/local/java/libs or jars. Then > we could provide a script like the glib12-config and gtk12-config only > for the classpath. > > It would be handy to be able to set your classpath with all those > special helper classes just by typing: > > export CLASSPATH=`java-config` > > Chau! > Jesse -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 8: 1:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 4C3C037B421 for ; Wed, 27 Feb 2002 08:01:24 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1RG1MQ17606; Wed, 27 Feb 2002 17:01:22 +0100 (CET) (envelope-from ernst) Message-Id: <200202271601.g1RG1MQ17606@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Jesse McConnell , freebsd-java@freebsd.org Subject: Re: bsd.java.mk Date: Wed, 27 Feb 2002 17:01:22 +0100 X-Mailer: KMail [version 1.3.2] References: <20020227073444.A91663@gallup.com> In-Reply-To: <20020227073444.A91663@gallup.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 > I wanted to comment on that bsd.java.mk file. I really like the > idea of adding it as I am working jboss ports at the moment. I should s/I/It ? :) > make that a lot easier. One note that I think we might want to consider > is where javadoc information could go. This is a different issue. The next one... :) > It would be handy to be able to set your classpath with all those > special helper classes just by typing: > > export CLASSPATH=`java-config` Yup. Something like that. First we should get bsd.java.mk in the ports system. Then we should bring more consistency to the names of the JDK ports, reach consensus on the location of JARs, JavaDoc API docs, etc. and improve javavmwrapper. Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 8:30:23 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id AD2F837B405 for ; Wed, 27 Feb 2002 08:30:10 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16g6y1-0007GW-00; Wed, 27 Feb 2002 09:30:10 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1RGU0v21931; Thu, 28 Feb 2002 03:00:00 +1030 (CST) (envelope-from glewis) Date: Thu, 28 Feb 2002 03:00:00 +1030 From: Greg Lewis To: "Koster, K.J." Cc: "FreeBSD Java mailing list (E-mail)" Subject: Re: 1.3.1p6 dies sigbus with threads Message-ID: <20020228025959.A21914@misty.eyesbeyond.com> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3B4@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3B4@l04.research.kpn.com>; from K.J.Koster@kpn.com on Wed, Feb 27, 2002 at 03:07:08PM +0100 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 On Wed, Feb 27, 2002 at 03:07:08PM +0100, Koster, K.J. wrote: > > > I would appreciate suggestions on how to debug this in more detail. > > > > Run with java_g so you can get some more information (which > > you're doing). > > > I'm having definite problems reproducing this with java_g. > > The -Xint option is not supported for some obscure reason. Hmmm, that makes it trickier :). > > You can also run it under gdb with something like: > > > > env DEBUG_PROG=gdb java_g > > > I get the message "gdb: illegal argument -jar" or somesuch. *sigh* Well, you don't do your normal arguments to java, i.e., if you normally do java -jar my.jar you would now do env DEBUG_PROG=gdb java_g gdb> run -jar my.jar -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 13:33:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from amsfep12-int.chello.nl (amsfep12-int.chello.nl [213.46.243.17]) by hub.freebsd.org (Postfix) with ESMTP id 8C89A37B400 for ; Wed, 27 Feb 2002 13:33:08 -0800 (PST) Received: from sander ([24.132.75.165]) by amsfep12-int.chello.nl (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with SMTP id <20020227213307.TDZF2595.amsfep12-int.chello.nl@sander> for ; Wed, 27 Feb 2002 22:33:07 +0100 From: "Sander Buskens" To: Subject: FreeBSD Port: jdk-1.3.1 Date: Wed, 27 Feb 2002 22:30:28 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 Hi, I'm having difficulties building the native jdk 1.3 port. I tried it with patchset 5 first but at some point it told me it couldn't patch a file and then stopped. I then updated my ports collection to the latest version (with jdk 1.3 patchset 6). I acquired all the dependencies but it still gave me the same problem. The output looks like this: Hunk #1 succeeded at 47. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: j2sdk1.3.1/src/solaris/native/sun/awt/robot_child/robot_proc.c |=================================================================== |RCS file: /data/java/JDK2/javasrc_1_3_scsl/j2sdk1.3.1/src/solaris/native/sun/awt/robot _child/robot_proc.c,v |retrieving revision 1.1.1.1 |retrieving revision 1.2 |diff -u -r1.1.1.1 -r1.2 |--- j2sdk1.3.1/src/solaris/native/sun/awt/robot_child/robot_proc.c 2001/07/11 21:42:51 1.1.1.1 |+++ j2sdk1.3.1/src/solaris/native/sun/awt/robot_child/robot_proc.c 2001/07/13 02:34:47 1.2 -------------------------- Patching file j2sdk1.3.1/src/solaris/native/sun/awt/robot_child/robot_proc.c using Plan A... Hunk #1 succeeded at 25. done ===> Applying FreeBSD patches for jdk-1.3.1p6 1 out of 1 hunks failed--saving rejects to ../src/solaris/bin/java_wrapper_bsd.sh.rej >> Patch patch-..::src::solaris::bin::java_wrapper_bsd.sh failed to apply cleanly. *** Error code 1 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. I'm running FreeBSD 4.4. I'm sure it probably a really stupid newbie thing, but I've looked around and followed all the instructions from the FreeBSD handbook and various websites but i just can't get it to work. Thanks in advance! Sander Buskens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 14:23:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 186E137B405 for ; Wed, 27 Feb 2002 14:23:33 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16gCTu-0003Ux-00; Wed, 27 Feb 2002 22:23:26 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1RMNQ369130; Wed, 27 Feb 2002 22:23:26 GMT (envelope-from jcm) Date: Wed, 27 Feb 2002 22:23:26 +0000 From: j mckitrick To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native Message-ID: <20020227222326.A69110@dogma.freebsd-uk.eu.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3B3@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3B3@l04.research.kpn.com>; from K.J.Koster@kpn.com on Wed, Feb 27, 2002 at 03:04:36PM +0100 X-Scanner: exiscan *16gCTu-0003Ux-00*3Bs7sUAMRJo* (Manchester Computing, University of Manchester) 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 | # cd /usr/ports/java/jdk13 | # make install clean | # pkg_delete linux_jdk13 | | In that order. The linux JDK is necessary to build the native JDK. Will linux-jdk1.2 work instead of 1.3? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 15:17: 1 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 50BC837B405 for ; Wed, 27 Feb 2002 15:16:33 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16gDJH-0005eg-00; Wed, 27 Feb 2002 16:16:31 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1RNGMJ23972; Thu, 28 Feb 2002 09:46:22 +1030 (CST) (envelope-from glewis) Date: Thu, 28 Feb 2002 09:46:22 +1030 From: Greg Lewis To: j mckitrick Cc: "Koster, K.J." , freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native Message-ID: <20020228094622.A23944@misty.eyesbeyond.com> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3B3@l04.research.kpn.com> <20020227222326.A69110@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020227222326.A69110@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Wed, Feb 27, 2002 at 10:23:26PM +0000 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 On Wed, Feb 27, 2002 at 10:23:26PM +0000, j mckitrick wrote: > | # cd /usr/ports/java/jdk13 > | # make install clean > | # pkg_delete linux_jdk13 > | > | In that order. The linux JDK is necessary to build the native JDK. > > Will linux-jdk1.2 work instead of 1.3? No. You need a compiler of the same version to bootstrap. Or you need to do some tricks. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 18: 4:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id 2998437B420 for ; Wed, 27 Feb 2002 18:04:33 -0800 (PST) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id VAA05053; Wed, 27 Feb 2002 21:04:21 -0500 Date: Wed, 27 Feb 2002 21:04:21 -0500 (EST) From: Mikhail Kruk To: "Remco van 't Veer" Cc: Christopher Rued , Christopher Elkins , Jeff Dalton , Brad Cox , Subject: Re: class dependencies (Re: What is ant good for?) In-Reply-To: <20020227090154.GB76841@azrael.xs4all.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > I don't know of any source level dependency checkers and I don't > expect there are any. Writing something like that is more > trouble than gain. Consider finding out all possible values of > String in a simple statement like: > > public void addClassByName (String name) > { > classes.add(Class.forName(name)); > } Even if it wasn't for the user input that's NP-complete problem :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 18:55: 3 2002 Delivered-To: freebsd-java@freebsd.org Received: from aiai.ed.ac.uk (eigg.aiai.ed.ac.uk [129.215.41.7]) by hub.freebsd.org (Postfix) with ESMTP id 693F837B400 for ; Wed, 27 Feb 2002 18:54:57 -0800 (PST) Received: from todday (todday.aiai.ed.ac.uk [129.215.105.40]) by aiai.ed.ac.uk (8.9.3/8.9.3) with SMTP id CAA07997; Thu, 28 Feb 2002 02:54:55 GMT Date: Thu, 28 Feb 2002 02:54:54 GMT Message-Id: <27666.200202280254@todday> From: Jeff Dalton Subject: Re: class dependencies (Re: What is ant good for?) To: "Remco van 't Veer" , Christopher Rued In-Reply-To: Remco van 't Veer's message of Wed, 27 Feb 2002 10:01:54 +0100 Cc: Christopher Elkins , Brad Cox , freebsd-java@FreeBSD.ORG 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 > I don't know of any source level dependency checkers and I don't > expect there are any. Writing something like that is more > trouble than gain. Consider finding out all possible values of > String in a simple statement like: > > public void addClassByName (String name) > { > classes.add(Class.forName(name)); > } That means it can't be done perfectly, but doesn't on its own show that it's not worth doing an imperfect (but perhaps still useful) version. This sort of issue used to come up all the time in the Lisp world, for various sorts of static analysis people wanted to do, because someone could always do (eval (read)). Nonetheless, it could still be useful to perform an analysis, and I think people often talked themselves out of it when they shouldn't have. javac seems to do a certain amount of simple dependency-related stuff, because it doesn't compile only the files I list on the command line. And there used to be a -depend (later -Xdepend) argument that looked like it did something useful. (Anyone know exactly what it did do?) Anyway, if something derived dependencies from, say, the import statements (plus a set of files that could be assumed to contain all the relevant class definitions), that might be useful. It could even create a makefile (or equiv) that stated the dependencies it found, with the programmer able to provide an explicit list for cases the analyser wouldn't be able to handle; and then the cost of the anaysis would have to be paid every time you wanted to compile. (I'm thinking of how something like "make depend" is used.) -- Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 19:21:48 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.softalia.com (rainforest.softalia.com [65.161.202.20]) by hub.freebsd.org (Postfix) with ESMTP id 5177E37B41E for ; Wed, 27 Feb 2002 19:21:44 -0800 (PST) Received: from tigger.softalia.com (root@tigger.softalia.com [65.161.202.175]) by mail.softalia.com (8.11.4/3.7W-isfs) with ESMTP id g1S3Lal04546; Wed, 27 Feb 2002 22:21:36 -0500 (EST) Received: from tigger.softalia.com (kkonaka@tigger.softalia.com [65.161.202.175]) by tigger.softalia.com (8.11.4/3.7W-isfs) with ESMTP id g1S3LaO23075; Wed, 27 Feb 2002 22:21:36 -0500 Date: Wed, 27 Feb 2002 22:21:32 -0500 Message-ID: From: kkonaka@mac.com To: freebsd-java@FreeBSD.ORG Subject: Re: class dependencies (Re: What is ant good for?) In-Reply-To: <27666.200202280254@todday> User-Agent: Wanderlust/2.6.0 (Twist And Shout) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/20.7 (i586-pc-linux-gnu) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII 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 need for dependency analysis is not really only for compilation time -- there's some jini related tool named ClassDep and it is used primarily to prepare svc-dl.jar file from set of jar files (including svc.jar,jini-core.jar,etc.) (this is more like a 'needed files (for download) extractor') - take a look? btw., I think jikes also have had some switch like -M which works exactly like 'make depend' or 'cc -depend' (...only hope that if ant javac task could work with this too...) kenji To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 27 20:13:59 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.looneys.net (crufty.looneys.net [63.231.250.33]) by hub.freebsd.org (Postfix) with ESMTP id 93DB937B402 for ; Wed, 27 Feb 2002 20:13:53 -0800 (PST) Received: from there (serpico.looneys.net [63.231.250.36]) by mail.looneys.net (Postfix) with SMTP id 23D4522522 for ; Wed, 27 Feb 2002 22:13:52 -0600 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Mcclain Looney Reply-To: mcclain@looneys.net To: freebsd-java@FreeBSD.ORG Subject: Re: class dependencies (Re: What is ant good for?) Date: Wed, 27 Feb 2002 22:13:57 -0600 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020228041352.23D4522522@mail.looneys.net> 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 fwiw, for those of you who haven't tried it yet, ant/javac do a pretty good job of picking up deps. our 800+ class project generally only compiled the files it needed to. there are only a few gotchas, like final methods and variables (you must recompile all dependent classes), and of course, the venerable "forname" loading process. Generally, my rule of thumb is, "ant clean" daily at least, always for new cvs updates, and always when something is mysteriously out of wack, and of course, whenever you notice you are editing something marked final. as for dep analysis tools, for those of you who want some industrial strength analysis and optimization, check out jax from ibm. it's a optimizing obfuscator that does things like flatten object heirarchies, removing dead code and other voodoo. it used to be free, now it's 1800 bux or something like that. mainly used for building fast, small .jar files. from the site: JAX reads class files, analyzes them, and generates a compressed ZIP file as output, following this ordered procedure: Removal of dead methods and fields Detection of live overridden methods Removal of unused classes and interfaces Inlining of methods Removal of non-essential attributes Shortening of internal method names and field names Removal of non-used entries in the constant pool alphaworks.ibm.com/tech/jax in my experience, it works really well for stripping out unneeded bloat from 3rd party jar files you are bundling into your project, though the config process is a complete mess (or was). anyway, i guess my point is, don't poo-pooh ant, it's a pretty good tool. -mcclain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 1:50:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id E4F3437B400 for ; Thu, 28 Feb 2002 01:50:35 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1) id 16gGRu-0000LP-00; Thu, 28 Feb 2002 02:37:38 +0000 Date: Thu, 28 Feb 2002 02:37:38 +0000 From: Rasputin To: Jesse McConnell Cc: java@freebsd.org Subject: Javadoc management [ was Re: bsd.java.mk ] Message-ID: <20020228023738.A1307@shikima.mine.nu> Reply-To: Rasputin References: <20020227073444.A91663@gallup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020227073444.A91663@gallup.com>; from jesse@gallup.com on Wed, Feb 27, 2002 at 07:34:44AM -0600 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 * Jesse McConnell [020227 13:37]: > I wanted to comment on that bsd.java.mk file. I really like the > idea of adding it as I am working jboss ports at the moment. I should > make that a lot easier. One note that I think we might want to consider > is where javadoc information could go. > Perhaps if those are chosen to be installed then we could install them > into ${PREFIX}share/doc/java . All javadoc apis could be installed into > subdirs based on port name and then tweak a html file in that java > directory adding the link to that subdir's api info. Then flash a > message at the end of the port install mentioning that the docs are > browsable via a local browser or by linking to that directory from > perhaps /usr/local/www/data. That would all people to link in a page or > directory which would provide access to all javadoc info. That's a brilliant idea - I tried getting this to work when I first started with computers, and had to give up on it (mainly because in those days I had enough trouble getting my head round a command line to worry too hard about it). Has anyone tried using javadoc on the jars to regenerate a doc tree? This would have the benefit of integrating references between APIs. How long does your beard get before it finishes? -- In the force if Yoda's so strong, construct a sentence with words in the proper order then why can't he? Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 2:15:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 5C2D737B41D for ; Thu, 28 Feb 2002 02:15:40 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1SAFcO23224; Thu, 28 Feb 2002 11:15:38 +0100 (CET) (envelope-from ernst) Message-Id: <200202281015.g1SAFcO23224@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Jesse McConnell , freebsd-java@freebsd.org Subject: Re: bsd.java.mk Date: Thu, 28 Feb 2002 11:15:37 +0100 X-Mailer: KMail [version 1.3.2] References: <20020227073444.A91663@gallup.com> In-Reply-To: <20020227073444.A91663@gallup.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 All, I'm working on a combination of 2 documents and a completely revised bsd.jva.mk. The goal is provide one document for system administrators and one for port writers. It should explain the bsd.java.mk in detail. The new bsd.java.mk should do *exactly* what these documents claim. Major change in the new bsd.java.mk is that you can specify the JDK you want to use in 4 ways: * by specifying a minimum Java version, e.g. USE_JAVA=1.2+ * by specifying an exact Java version, e.g. USE_JAVA=1.4 * by specifying a Java port, e.g. JAVA_PORT=java/linux-ibm-jdk13 * by specifying a JDK home directory, e.g. JAVA_HOME=/usr/local/jdk1.3.1 I intend to have this ready on Monday and then present it to java@FreeBSD.org, ports@FreeBSD and then to portmgr@FreeBSD.org after that. Ernst On Wednesday 27 February 2002 14:34, Jesse McConnell wrote: > Great idea! I think this will really help increase peoples awareness > for java support on freebsd. I would love to get more people aware of > how good java is on fbsd. I have run the linux JDK's a lot and they > just seem prone to failures when you change kernel versions, or > especially have any differences in the glibc stuff. Never really had a > problem with java on fbsd. :) > > I wanted to comment on that bsd.java.mk file. I really like the > idea of adding it as I am working jboss ports at the moment. I should > make that a lot easier. One note that I think we might want to consider > is where javadoc information could go. > > Perhaps if those are chosen to be installed then we could install them > into ${PREFIX}share/doc/java . All javadoc apis could be installed into > subdirs based on port name and then tweak a html file in that java > directory adding the link to that subdir's api info. Then flash a > message at the end of the port install mentioning that the docs are > browsable via a local browser or by linking to that directory from > perhaps /usr/local/www/data. That would all people to link in a page or > directory which would provide access to all javadoc info. > > Another thing I have read talked about is where the jars could go on > simple things like helper classes. I like the idea of helper classes > getting installed in something like /usr/local/java/libs or jars. Then > we could provide a script like the glib12-config and gtk12-config only > for the classpath. > > It would be handy to be able to set your classpath with all those > special helper classes just by typing: > > export CLASSPATH=`java-config` > > Anyway, I am about 74 messćges behind on the mailing list so sorry if > some of this has been talked about already. > > my thoughts, > > Jesse -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 3:38: 6 2002 Delivered-To: freebsd-java@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 903A737B400 for ; Thu, 28 Feb 2002 03:38:03 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 16gOss-000BKJ-00; Thu, 28 Feb 2002 11:38:02 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1SBc1i73853; Thu, 28 Feb 2002 11:38:01 GMT (envelope-from jcm) Date: Thu, 28 Feb 2002 11:38:01 +0000 From: j mckitrick To: Jeremy Suo-Anttila Cc: "Koster, K.J." , freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native Message-ID: <20020228113801.A73819@dogma.freebsd-uk.eu.org> References: <20020227222326.A69110@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from jps@funeralexchange.com on Wed, Feb 27, 2002 at 04:31:29PM -0600 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 On Wed, Feb 27, 2002 at 04:31:29PM -0600, Jeremy Suo-Anttila wrote: | or why not use the linux-j2sdk.1.4 from sun i am using it on a 4.5 box with | Tomcat 4.02 and its great and very easy to install. Good question. Is there any reason to use native jdk instead of the new version of the linux jdk? p.s. Please CC me, I'm not subscribed. Thanks. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 4:54:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 7209137B417 for ; Thu, 28 Feb 2002 04:54:36 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F703N>; Thu, 28 Feb 2002 13:54:35 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3BF@l04.research.kpn.com> From: "Koster, K.J." To: 'j mckitrick' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Ugrade from linux-jdk to native Date: Thu, 28 Feb 2002 13:54:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Jm, > > | or why not use the linux-j2sdk.1.4 from sun i am using it > | on a 4.5 box with > | Tomcat 4.02 and its great and very easy to install. > > Good question. Is there any reason to use native jdk instead > of the new version of the linux jdk? > For most things it isn't. You'll need native for doing JNI stuff. Everything else works fine in the Linux JDK's. Of course, you need a native JDK to show off FreeBSD. :-) I think you'll need a native JDK for (currently under development) hotspot support. I'm a little vague on this. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 4:59:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id A581F37B400 for ; Thu, 28 Feb 2002 04:59:22 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16gQ9R-000Pam-00; Thu, 28 Feb 2002 12:59:13 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1SCxD974302; Thu, 28 Feb 2002 12:59:13 GMT (envelope-from jcm) Date: Thu, 28 Feb 2002 12:59:13 +0000 From: j mckitrick To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native Message-ID: <20020228125913.A74141@dogma.freebsd-uk.eu.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3BF@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3BF@l04.research.kpn.com>; from K.J.Koster@kpn.com on Thu, Feb 28, 2002 at 01:54:32PM +0100 X-Scanner: exiscan *16gQ9R-000Pam-00*qpxKuAghc7o* (Manchester Computing, University of Manchester) 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 On Thu, Feb 28, 2002 at 01:54:32PM +0100, Koster, K.J. wrote: | > Good question. Is there any reason to use native jdk instead | > of the new version of the linux jdk? | > | For most things it isn't. You'll need native for doing JNI stuff. Everything | else works fine in the Linux JDK's. | | Of course, you need a native JDK to show off FreeBSD. :-) So for cutting edge Java classes and features, I want the newest linux jdk, while for the ability to access FreeBSD specific features via JNI I need native, correct? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 5:59:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.looneys.net (crufty.looneys.net [63.231.250.33]) by hub.freebsd.org (Postfix) with ESMTP id 2F03237B402 for ; Thu, 28 Feb 2002 05:59:36 -0800 (PST) Received: from there (serpico.looneys.net [63.231.250.36]) by mail.looneys.net (Postfix) with SMTP id 3CCDE22522 for ; Thu, 28 Feb 2002 07:59:34 -0600 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Mcclain Looney Reply-To: mcclain@looneys.net To: freebsd-java@freebsd.org Subject: jdk 1.4 Date: Thu, 28 Feb 2002 07:59:40 -0600 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020228135934.3CCDE22522@mail.looneys.net> 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 Pardon me if this has been asked a jillion times already, but: what is going on with the announced sun deal? how does this relate to getting a decent native 1.4 vm on freebsd? is 1.4 vm covered in the deal? has a timeframe been developed? regards, -mcclain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 6: 0:57 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 938BD37B405 for ; Thu, 28 Feb 2002 06:00:54 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16gR71-0001yL-00; Thu, 28 Feb 2002 14:00:47 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1SE0l974676; Thu, 28 Feb 2002 14:00:47 GMT (envelope-from jcm) Date: Thu, 28 Feb 2002 14:00:47 +0000 From: j mckitrick To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native Message-ID: <20020228140046.E74141@dogma.freebsd-uk.eu.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3BF@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3BF@l04.research.kpn.com>; from K.J.Koster@kpn.com on Thu, Feb 28, 2002 at 01:54:32PM +0100 X-Scanner: exiscan *16gR71-0001yL-00*nNUZWr2HETY* (Manchester Computing, University of Manchester) 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 On Thu, Feb 28, 2002 at 01:54:32PM +0100, Koster, K.J. wrote: | Of course, you need a native JDK to show off FreeBSD. :-) | | I think you'll need a native JDK for (currently under development) hotspot | support. I'm a little vague on this. Dare I ask what 'hotspot' is? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 6: 4:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 807F137B405 for ; Thu, 28 Feb 2002 06:04:51 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F708L>; Thu, 28 Feb 2002 15:04:50 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3C5@l04.research.kpn.com> From: "Koster, K.J." To: 'j mckitrick' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Ugrade from linux-jdk to native Date: Thu, 28 Feb 2002 15:04:47 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Jm, > > | I think you'll need a native JDK for (currently under > | development) hotspot support. I'm a little vague on this. > > Dare I ask what 'hotspot' is? > HotSpot is Sun's super-duper JIT compiler. It not only compiles JIT, but also rips up earlier optimisations and reoptimises them, based on code usage. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 6:14:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by hub.freebsd.org (Postfix) with ESMTP id 0BEFD37B41A for ; Thu, 28 Feb 2002 06:14:38 -0800 (PST) Received: from vee.net (wintermute.home.vee.net [203.18.245.2]) by smtp0.adl1.internode.on.net (8.11.6/8.11.6) with ESMTP id g1SEE0a98460; Fri, 1 Mar 2002 00:44:05 +1030 (CST) (envelope-from mike@vee.net) Message-ID: <3C7E3A82.5040502@vee.net> Date: Fri, 01 Mar 2002 00:41:14 +1030 From: Mike Gratton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020221 X-Accept-Language: en-au, en-gb MIME-Version: 1.0 To: j mckitrick Cc: "Koster, K.J." , freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native References: <59063B5B4D98D311BC0D0001FA7E452205FDA3BF@l04.research.kpn.com> <20020228140046.E74141@dogma.freebsd-uk.eu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 j mckitrick wrote: > > Dare I ask what 'hotspot' is? > Hotspot is Sun's high-performance JIT that has been shipping w/ their JREs since 1.3 (IIRC). Like any JIT, it speeds up the execution of your Java bytecode when you run it, and Hotspot is very good at this. I don't know under which circumstances it is true, but apparently using Hotspot can make Java bytecode execute as fast as or faster than natively compiled C++ code. Sorry, no references, this is just what I heard around it's introduction. Mike. -- Mike Gratton "Every motive escalate." Blatant self-promotion: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 6:29:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 0B23337B435 for ; Thu, 28 Feb 2002 06:28:52 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F8AB8>; Thu, 28 Feb 2002 15:28:51 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3C7@l04.research.kpn.com> From: "Koster, K.J." To: 'Mike Gratton' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Ugrade from linux-jdk to native Date: Thu, 28 Feb 2002 15:28:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Mike, > > I don't know under which circumstances it is true, but > apparently using > Hotspot can make Java bytecode execute as fast as or faster than > natively compiled C++ code. Sorry, no references, this is just what I > heard around it's introduction. > Would you introduce a JIT, saying it is slower than its predecessors? :-) HP has written an HP9000 emu that runs code faster than the host it runs on(!). I believe it's arstechnica.com that had an article on this. Slashdot carries a few references to articles, but I have no time to search for them. In a project with text parsers I have seen a quick 'n dirty interpreted parser run rings around a carefully handtuned C parser. We found out the interpreted parser fit entirely into the instruction cache of the host, while the C parser was several times larger than that cache. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 6:35:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.smed.com (mail.smed.com [64.46.248.225]) by hub.freebsd.org (Postfix) with ESMTP id 1D78537B417 for ; Thu, 28 Feb 2002 06:35:30 -0800 (PST) Received: from smtpgate.smshsc.net (unknown [165.226.204.25]) by mail.smed.com (Postfix) with ESMTP id 4103E47FB4 for ; Thu, 28 Feb 2002 09:35:19 -0500 (EST) Received: from iesa14.smshsc.net (iesa14.smshsc.net [165.226.204.44]) by smtpgate.smshsc.net (8.11.6/8.11.6) with ESMTP id g1SEZIR21131 for ; Thu, 28 Feb 2002 09:35:19 -0500 Received: from uranus.smed.com (unverified) by iesa14.smshsc.net (Content Technologies SMTPRS 2.0.15) with ESMTP id for ; Thu, 28 Feb 2002 09:35:06 -0500 Subject: JRE-1.1.8 Keeps Crashing To: freebsd-java@freebsd.org X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-Id: From: Joe.Warner@smed.com Date: Thu, 28 Feb 2002 07:31:30 -0700 X-MIMETrack: Serialize by Router on Uranus/SMS(Release 5.0.8 |June 18, 2001) at 02/28/2002 09:35:05 AM MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 Hi, I'm running FreeBSD 4.4-STABLE on a Compaq Proliant 2500 server in a production environment where I work. One of the many uses of this server is to do network monitoring and ale= rt notification using The Big Brother Systems and Network Monitor: http://bb4.com We have a large number of WINNT and W2K servers and over ten IBM AS/400 servers that we monitor with Big Brother. In order to effectively have Big Brother monitor our AS/400's, I had to= install JRE-1.1.8 and use the BB Java Monitoring Agent to pull performance information from our AS/400's: http://www.deadcat.net/ (see bbas400_1_3.zip entry) Using JRE-1.1.8 in conjunction with the as400 monitoring agent has prov= en to be very useful but from time to time, the java daemon just dies unexpectedly and causes Big Brother to generate tons of alert emails to members of o= ur support staff. I've searched and searched and can't locate any logs that would show wh= y the java daemon just quits like this. Restarting JRE seems to fix things and the daemon will run for two to t= hree weeks before it dies again. I've followed all the steps outlined here: http://www.freebsd.org/java/howhelp.html#BUG ..in order to figure this out and have run out of options. Can anybody please help me solve the mystery? Thanks Joe Joe Warner | Operations Technical Analyst II | Siemens Health Services= | 215 N. Admiral Byrd Road | Salt Lake City, UT 84116=A0 | Ph: 801-539-4= 978 | Fax: 801-533-8004 | Joe.Warner@smed.com = ------------------------------------------------------------------------------- This message and any included attachments are from Siemens Medical Solutions Health Services Corporation and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail with a copy to CSOffice@smed.com. Thank you To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 7: 4:56 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by hub.freebsd.org (Postfix) with ESMTP id 9DEEA37B41E for ; Thu, 28 Feb 2002 07:04:37 -0800 (PST) Received: from vee.net (wintermute.home.vee.net [203.18.245.2]) by smtp0.adl1.internode.on.net (8.11.6/8.11.6) with ESMTP id g1SF5Ga22976; Fri, 1 Mar 2002 01:35:16 +1030 (CST) (envelope-from mike@vee.net) Message-ID: <3C7E468B.6060005@vee.net> Date: Fri, 01 Mar 2002 01:32:35 +1030 From: Mike Gratton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020221 X-Accept-Language: en-au, en-gb MIME-Version: 1.0 To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native References: <59063B5B4D98D311BC0D0001FA7E452205FDA3C7@l04.research.kpn.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Koster, K.J. wrote: > > Would you introduce a JIT, saying it is slower than its predecessors? :-) > No, I guess not. 8) I concede your point, but hey, as you yourself said, Hotspot is pretty super-duper. I just wish I could remember where I read that about Hotspot's performance Vs native C++ - could have been from Sun, the original academic papers that were the basis for Hotspot, or [wince] sometime on Slashdot. I don't suppose anyone else here remembers hearing this as well, do they? -- Mike Gratton , "Every motive escalate." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 7:36: 3 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id D6DCE37B417 for ; Thu, 28 Feb 2002 07:35:58 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F8AQM>; Thu, 28 Feb 2002 16:35:58 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3C9@l04.research.kpn.com> From: "Koster, K.J." To: "'Joe.Warner@smed.com'" Cc: freebsd-java@FreeBSD.ORG Subject: RE: JRE-1.1.8 Keeps Crashing Date: Thu, 28 Feb 2002 16:35:53 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Joe, > > Using JRE-1.1.8 in conjunction with the as400 monitoring > agent has proven > to be very useful but from time to time, the java daemon just dies > unexpectedly > and causes Big Brother to generate tons of alert emails to > members of our support staff. > Is there a particular reason why you use 1.1.8? If not, you could try running the daemon in linux JDK 1.3.1, which has proven quite stable for me. You can find the port in /usr/ports/java/linux-jdk13. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 8:13:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp1.knology.net (user-24-214-63-226.knology.net [24.214.63.226]) by hub.freebsd.org (Postfix) with SMTP id 5603C37B402 for ; Thu, 28 Feb 2002 08:13:34 -0800 (PST) Received: (qmail 29217 invoked from network); 28 Feb 2002 16:11:31 -0000 Received: from user-24-214-88-60.knology.net (HELO w4lna.dyndns.org) (24.214.88.60) by user-24-214-63-226.knology.net with SMTP; 28 Feb 2002 16:11:31 -0000 Received: (from w4lna@localhost) by w4lna.dyndns.org (8.11.6/8.11.6) id g1SGDVf00632; Thu, 28 Feb 2002 10:13:31 -0600 (CST) (envelope-from w4lna) Date: Thu, 28 Feb 2002 10:13:30 -0600 From: Mike Murphree To: "Koster, K.J." Cc: freebsd-java@freebsd.org Subject: Re: Ugrade from linux-jdk to native Message-ID: <20020228101330.A603@w4lna.dyndns.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3BF@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3BF@l04.research.kpn.com>; from K.J.Koster@kpn.com on Thu, Feb 28, 2002 at 01:54:32PM +0100 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 On Thu, Feb 28, 2002 at 01:54:32PM +0100, Koster, K.J. wrote: > > > > Good question. Is there any reason to use native jdk instead > > of the new version of the linux jdk? > > > For most things it isn't. You'll need native for doing JNI stuff. Everything > else works fine in the Linux JDK's. Along these lines, I have a Java program that works on both Windows and Linux which uses libraries to perform serial I/O and I would like to get it operating under FreeBSD. Is this not possible under the Linux emulation or do I need a native JDK to make it work? Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 8:44:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id 52C9737B417 for ; Thu, 28 Feb 2002 08:44:23 -0800 (PST) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id LAA07686; Thu, 28 Feb 2002 11:44:13 -0500 Date: Thu, 28 Feb 2002 11:44:13 -0500 (EST) From: Mikhail Kruk To: "Koster, K.J." Cc: "'Mike Gratton'" , Subject: RE: Ugrade from linux-jdk to native In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3C7@l04.research.kpn.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > HP has written an HP9000 emu that runs code faster than the host it runs > on(!). I believe it's arstechnica.com that had an article on this. Slashdot > carries a few references to articles, but I have no time to search for them. I saw a benchmarking applet which runs 2.5 times faster under Internet Explorer under Virtual PC running on MacOS X than in the native appletveiwer running on the same MacOS X. There is something deeply disturbing about this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 9: 2:32 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id A323237B405 for ; Thu, 28 Feb 2002 09:02:29 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1SH2Pc32642 for java@FreeBSD.org; Thu, 28 Feb 2002 18:02:25 +0100 (CET) (envelope-from ernst) Message-Id: <200202281702.g1SH2Pc32642@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: java@FreeBSD.org Subject: JDK ports Date: Thu, 28 Feb 2002 18:02:25 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 All, My first priority is the bsd.java.mk, but after that I would like to look into the different JDK ports: 1) Make sure all JDK ports are up to date (like Blackdown 1.2 and IBM 1.3) 2) Make sure all JDK ports work in a similar way. Perhaps they should all receive options for extracting src.jar/.zip or not? And an option for installing the JDK API documentation or not? 3) Make sure all JDK ports are named consistently. We currently have: * java/jdk: JDK 1.1 for FreeBSD * java/jdk12-beta: JDK 1.2 for FreeBSD * java/jdk13: JDK 1.3 for FreeBSD * java/linux-jdk: Blackdown JDK 1.2 for Linux * java/linux-jdk13: Sun JDK 1.3 for Linux * java/linux-ibm-jdk13: IBM JDK 1.3 for Linux * java/linux-jdk14: Sun JDK 1.4 for Linux 4) Perhaps assign one port maintainer for all JDK ports? This may however not be a good idea at all, I dunno :) Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 15: 7:49 2002 Delivered-To: freebsd-java@freebsd.org Received: from sinclair.swishmail.com (sinclair.swishmail.com [209.10.110.64]) by hub.freebsd.org (Postfix) with SMTP id 25AFF37B417 for ; Thu, 28 Feb 2002 15:07:47 -0800 (PST) Received: (qmail 76482 invoked from network); 28 Feb 2002 23:07:46 -0000 Received: from unknown (HELO lenny) (206.32.4.77) by sinclair.swishmail.com with SMTP; 28 Feb 2002 23:07:46 -0000 Message-ID: <004f01c1c0ac$bbf9c220$780000d2@mesaintl.com> Reply-To: "Mesa" From: "Mesa" To: "FreeBSD Java" Subject: tomcat-apache config Date: Thu, 28 Feb 2002 18:07:45 -0500 Organization: Mesa International MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 I'm an old hardware guy trying to learn Java, and I'm unable to setup Tomcat and Apache to deploy a couple of webapp projects. My system is as follows: P11-400 w/plenty of memory linux-jdk1.3.1 port w/linux emulation enabled Tomcat 4.0.2 and Apache 1.3 mod_webapp 1.0.1 from port by Tom Veldhouse mod_webapp is not able to establish a warp connection between Apache and Tomcat. The httpd-error.log file reports unable to connect. Do I have to be running the native jdk and/or the latest mod_webapp? I can't get either to compile. any words of wisdom? -- Regards, Len Huppe May the source be with you... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 15:31: 6 2002 Delivered-To: freebsd-java@freebsd.org Received: from clavin.cluepon.com (clavin.cluepon.com [208.177.153.103]) by hub.freebsd.org (Postfix) with ESMTP id BB79337B405 for ; Thu, 28 Feb 2002 15:31:04 -0800 (PST) Received: from lamont by clavin.cluepon.com with local (Exim 3.03 #1) id 16ga0t-000AkW-00; Thu, 28 Feb 2002 15:31:03 -0800 Date: Thu, 28 Feb 2002 15:31:03 -0800 From: Lamont Lucas To: Mesa Cc: FreeBSD Java Subject: Re: tomcat-apache config Message-ID: <20020228153103.T54995@clavin.cluepon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004f01c1c0ac$bbf9c220$780000d2@mesaintl.com> User-Agent: Mutt/1.3.18i Organization: Cluepon Consulting, Inc. 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 On Thu, Feb 28, 2002 at 06:07:45PM -0500, Mesa wrote: > I'm an old hardware guy trying to learn Java, and I'm unable to setup > Tomcat and Apache to deploy a couple of webapp projects. > > My system is as follows: > P11-400 w/plenty of memory > linux-jdk1.3.1 port w/linux emulation enabled > Tomcat 4.0.2 and Apache 1.3 > mod_webapp 1.0.1 from port by Tom Veldhouse > > mod_webapp is not able to establish a warp connection between Apache and > Tomcat. The httpd-error.log file reports unable to connect. Do I have to > be running the native jdk and/or the latest mod_webapp? I can't get either > to compile. I thought the approved connection method was mod_jk? I found it in the jakarta-tomcat-connectors src file as distributed in the same directory I downloaded the src for tomcat 4.0.2. I'm actually in the middle of installing tomcat and connecting it to apache for the first time, I'll let you know in a few hours how it went unless someone speaks up with better info. -- - Lamont "I am not an atomic playboy." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 15:33:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id D54CB37B405 for ; Thu, 28 Feb 2002 15:33:39 -0800 (PST) Received: from heinz by smtp.hccnet.nl via uds245-44.dial.hccnet.nl [62.251.44.245] with SMTP for id AAA10212 (8.8.8/1.13); Fri, 1 Mar 2002 00:33:38 +0100 (MET) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: java@FreeBSD.org Subject: Draft for first bsd.java.mk document Date: Thu, 28 Feb 2002 23:58:49 +0100 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <02022823584900.01032@heinz> Content-Transfer-Encoding: 8bit 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 As written in a previous email, I intend to write 2 documents about bsd.java.mk, one for the system administrator, and one for the port writer. I've started with the first one, here's a draft: http://www.metaverse.nl/~ernst/installing.html Any comments would be more than welcome. Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 15:42:37 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 D306C37B41A; Thu, 28 Feb 2002 15:42:34 -0800 (PST) Received: (from znerd@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1SNgIn61539; Thu, 28 Feb 2002 15:42:18 -0800 (PST) (envelope-from znerd) Date: Thu, 28 Feb 2002 15:42:18 -0800 (PST) From: Message-Id: <200202282342.g1SNgIn61539@freefall.freebsd.org> To: znerd@FreeBSD.org, java@FreeBSD.org, znerd@FreeBSD.org Subject: Re: ports/31688: JDK 1.3.1 Update for Sun's Java Communication API port 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 Synopsis: JDK 1.3.1 Update for Sun's Java Communication API port Responsible-Changed-From-To: java->znerd Responsible-Changed-By: znerd Responsible-Changed-When: Thu Feb 28 15:41:40 PST 2002 Responsible-Changed-Why: I'll handle this. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31688 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 15:50: 6 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 8FEEB37B400 for ; Thu, 28 Feb 2002 15:50:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1SNo4h62738; Thu, 28 Feb 2002 15:50:04 -0800 (PST) (envelope-from gnats) Date: Thu, 28 Feb 2002 15:50:04 -0800 (PST) Message-Id: <200202282350.g1SNo4h62738@freefall.freebsd.org> To: java@FreeBSD.org Cc: From: Ernst de Haan Subject: Re: ports/34099: /usr/ports/java/jdk13 fails to build Reply-To: Ernst de Haan 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/34099; it has been noted by GNATS. From: Ernst de Haan To: freebsd-gnats-submit@FreeBSD.org, erich@tacni.net Cc: Subject: Re: ports/34099: /usr/ports/java/jdk13 fails to build Date: Fri, 1 Mar 2002 00:11:46 +0100 Is this still a problem with the latest patchset? Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 15:52:37 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 D828137B400; Thu, 28 Feb 2002 15:52:35 -0800 (PST) Received: (from znerd@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1SNlNX62462; Thu, 28 Feb 2002 15:47:23 -0800 (PST) (envelope-from znerd) Date: Thu, 28 Feb 2002 15:47:23 -0800 (PST) From: Message-Id: <200202282347.g1SNlNX62462@freefall.freebsd.org> To: erich@tacni.net, znerd@FreeBSD.org, java@FreeBSD.org Subject: Re: ports/34099: /usr/ports/java/jdk13 fails to build 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 Synopsis: /usr/ports/java/jdk13 fails to build State-Changed-From-To: open->feedback State-Changed-By: znerd State-Changed-When: Thu Feb 28 15:46:51 PST 2002 State-Changed-Why: Is this still a problem with the latest patchset? http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34099 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 15:53:31 2002 Delivered-To: freebsd-java@freebsd.org Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by hub.freebsd.org (Postfix) with ESMTP id 3F50D37B400 for ; Thu, 28 Feb 2002 15:53:28 -0800 (PST) Received: from [209.98.155.26] (envy.blackcore.com [209.98.155.26]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id 96AE981E4 for ; Thu, 28 Feb 2002 17:53:27 -0600 (CST) User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Thu, 28 Feb 2002 17:53:26 -0600 Subject: FW: tomcat-apache config From: Timothy Kettering To: FreeBSD-Java Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable 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 I think for tomcat 4, its mod_webapp. But who can keep up with all those mod_* stuff that jakarta keeps throwing at us. I've gotten tomcat 4 working with apache using mod_webapp without any problems on freebsd. I don=B9t currently use this configuration anymore (I'm using resin right now...) But I discovered that I hadn't removed the configuration from my httpd.conf= . Here's what it looked like (see below) - the port for the warp connector doesn=B9t necessarily mean its the port that tomcat4 is listening to (for web requests). The warp port needs to match the port number specified in the server.xml file for mod_webapp. I found this out after much flailing around. =20 I had initially changed it from 8008 to 8080 because I *thought* it was supposed to match the port that tomcat4 was listening to for web requests. Heh. # Tomcat4 WebApp Warp WebAppConnection warpConnection warp localhost:8008 WebAppDeploy examples warpConnection /examples/ #=20 >> On Thu, Feb 28, 2002 at 06:07:45PM -0500, Mesa wrote: >>> I'm an old hardware guy trying to learn Java, and I'm unable to setup >>> Tomcat and Apache to deploy a couple of webapp projects. >>>=20 >>> My system is as follows: >>> P11-400 w/plenty of memory >>> linux-jdk1.3.1 port w/linux emulation enabled >>> Tomcat 4.0.2 and Apache 1.3 >>> mod_webapp 1.0.1 from port by Tom Veldhouse >>>=20 >>> mod_webapp is not able to establish a warp connection between Apache an= d >>> Tomcat. The httpd-error.log file reports unable to connect. Do I have= to >>> be running the native jdk and/or the latest mod_webapp? I can't get ei= ther >>> to compile. >>=20 >> I thought the approved connection method was mod_jk? I found it >> in the jakarta-tomcat-connectors src file as distributed in the >> same directory I downloaded the src for tomcat 4.0.2. >>=20 >> I'm actually in the middle of installing tomcat and connecting it >> to apache for the first time, I'll let you know in a few hours how it >> went unless someone speaks up with better info. --=20 Tim Kettering http://www.blackcore.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 28 16:50:30 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id 88FD437B405 for ; Thu, 28 Feb 2002 16:50:28 -0800 (PST) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id g210oMH15544 for ; Fri, 1 Mar 2002 09:50:22 +0900 (JST) env-from (shudo@computer.org) Received: from mail04.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id g210oMp19351 for ; Fri, 1 Mar 2002 09:50:22 +0900 (JST) env-from (shudo@computer.org) Received: from aist.go.jp by mail04.aist.go.jp with ESMTP id g210oL108466 for ; Fri, 1 Mar 2002 09:50:21 +0900 (JST) env-from (shudo@computer.org) Date: Fri, 01 Mar 2002 09:50:39 +0900 (JST) Message-Id: <20020301.095039.576024539.shudoh@localhost> To: freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native From: shudo@computer.org In-Reply-To: <3C7E3A82.5040502@vee.net> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3BF@l04.research.kpn.com> <20020228140046.E74141@dogma.freebsd-uk.eu.org> <3C7E3A82.5040502@vee.net> X-Mailer: Mew version 2.1 on XEmacs 21.4.6 (Common Lisp) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 From: Mike Gratton > I don't know under which circumstances it is true, but apparently using > Hotspot can make Java bytecode execute as fast as or faster than > natively compiled C++ code. Sorry, no references, this is just what I > heard around it's introduction. see The part III of The Java Performance Report: http://www.javalobby.org/fr/html/frm/javalobby/features/jpr/ It compares JVMs and C/C++ compilers with the same benchmarks. Kazuyuki Shudo shudo@computer.org http://www.shudo.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 0:15:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (Postfix) with ESMTP id 5543537B428 for ; Fri, 1 Mar 2002 00:15:11 -0800 (PST) Received: (from uucp@localhost) by frmug.org (8.11.3/8.11.3/frmug-2.7/nospam) with UUCP id g218Ewo83830; Fri, 1 Mar 2002 09:14:58 +0100 (CET) (envelope-from erwan@free.fr) Received: from free.fr (localhost [127.0.0.1]) by amelie.frmug.org (Postfix) with ESMTP id E16E170FD; Fri, 1 Mar 2002 09:09:39 +0100 (CET) Message-ID: <3C7F3743.6010807@free.fr> Date: Fri, 01 Mar 2002 09:09:39 +0100 From: Erwan Arzur User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020205 X-Accept-Language: en-us MIME-Version: 1.0 To: Lamont Lucas Cc: Mesa , FreeBSD Java Subject: Re: tomcat-apache config References: <20020228153103.T54995@clavin.cluepon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 > I thought the approved connection method was mod_jk? I found it > in the jakarta-tomcat-connectors src file as distributed in the > same directory I downloaded the src for tomcat 4.0.2. > > I'm actually in the middle of installing tomcat and connecting it > to apache for the first time, I'll let you know in a few hours how it > went unless someone speaks up with better info. > > Can someone discuss the benefits of mod_jk ? Knowing how that beast works (last time i took a look, it was just forwarding the request to the tomcat server), i just don't see the point of this config, unless you're serving a lot of static content with which you'd rather not load your java server ... Anyway, it makes sense for me only at the point when you will deploy/integrate your application. But this is just a question of methodology ... Nothing related to this list, though. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 1:38:17 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 0692437B400 for ; Fri, 1 Mar 2002 01:38:14 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F8DPD>; Fri, 1 Mar 2002 10:38:12 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3CC@l04.research.kpn.com> From: "Koster, K.J." To: 'Mikhail Kruk' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Ugrade from linux-jdk to native Date: Fri, 1 Mar 2002 10:38:11 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Mikhail, > > > HP has written an HP9000 emu that runs code faster than the > > host it runs > > on(!). I believe it's arstechnica.com that had an article > > on this. Slashdot > > carries a few references to articles, but I have no time to > > search for them. > > I saw a benchmarking applet which runs 2.5 times faster under > Internet > Explorer under Virtual PC running on MacOS X than in the > native appletveiwer running on the same MacOS X. There is something > deeply disturbing about this. > Is there? Microsoft's Java VM has always been one of the best, if not the very best. The MacOS X port is brand new. Of course Microsoft had to go into that childish fight over world dominition with Sun. Am I the only one who gets images of children squabbeling over candy when they read articles about Microsoft and Sun? People don't actually grow up. They just get bigger. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 1:39:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 3C71737B400 for ; Fri, 1 Mar 2002 01:39:37 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F8DPJ>; Fri, 1 Mar 2002 10:39:36 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3CD@l04.research.kpn.com> From: "Koster, K.J." To: 'Mike Murphree' Cc: freebsd-java@freebsd.org Subject: RE: Ugrade from linux-jdk to native Date: Fri, 1 Mar 2002 10:39:35 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Mike, > > > > Good question. Is there any reason to use native jdk instead > > > of the new version of the linux jdk? > > > > > For most things it isn't. You'll need native for doing JNI > > stuff. Everything else works fine in the Linux JDK's. > > Along these lines, I have a Java program that works on both Windows > and Linux which uses libraries to perform serial I/O and I would > like to get it operating under FreeBSD. Is this not possible under > the Linux emulation or do I need a native JDK to make it work? > There is a JavaComm port or somesuch. Isn't that a library to conduct serial I/O from Java? It might have ports to all the platforms you need. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 1:44:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 39DD437B41A; Fri, 1 Mar 2002 01:44:24 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F8DQ1>; Fri, 1 Mar 2002 10:44:23 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3CE@l04.research.kpn.com> From: "Koster, K.J." To: 'Ernst de Haan' Cc: java@FreeBSD.ORG Subject: RE: Draft for first bsd.java.mk document Date: Fri, 1 Mar 2002 10:44:22 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Ernst, > > http://www.metaverse.nl/~ernst/installing.html > > Any comments would be more than welcome. > I know how you like Jikes, :) but could you perhaps also write how to use a regular Java compiler? Kees Jan PS. Does it have to be purple? #-) ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 1:51:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 07C5937B417 for ; Fri, 1 Mar 2002 01:51:36 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g219pYg35724; Fri, 1 Mar 2002 10:51:34 +0100 (CET) (envelope-from ernst) Message-Id: <200203010951.g219pYg35724@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: "Koster, K.J." Subject: Re: Draft for first bsd.java.mk document Date: Fri, 1 Mar 2002 10:51:34 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG References: <59063B5B4D98D311BC0D0001FA7E452205FDA3CE@l04.research.kpn.com> In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3CE@l04.research.kpn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Dear Kees Jan, > > http://www.metaverse.nl/~ernst/installing.html > I know how you like Jikes, :) but could you perhaps also write how to use a > regular Java compiler? As you can read in the document, the default is *not* using Jikes. By default it's only used if it is already installed. I am actually also extensively describing how to disable Jikes :) Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 1:55:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 75FD937B402; Fri, 1 Mar 2002 01:55:45 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F8DSH>; Fri, 1 Mar 2002 10:55:44 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3CF@l04.research.kpn.com> From: "Koster, K.J." To: 'Ernst de Haan' , "Koster, K.J." Cc: java@FreeBSD.ORG Subject: RE: Draft for first bsd.java.mk document Date: Fri, 1 Mar 2002 10:55:43 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Ernst, > > > > http://www.metaverse.nl/~ernst/installing.html > > > I know how you like Jikes, :) but could you perhaps also > write how to use a > > regular Java compiler? > > As you can read in the document, the default is *not* using > Jikes. By default > it's only used if it is already installed. I am actually also > extensively describing how to disable Jikes :) > Perhaps. I read your page rather casually. TO a casual reader the text basically tells me to use Jikes. "spec a compiler" and then "introduction to jikes". How about moving the body of "intro to jikes" into "chaning behaviour", thus making "default behaviour" the first subsection. That would meet casual reader requirements, IMHO. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 4:38:19 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp3.knology.net (user-24-214-63-13.knology.net [24.214.63.13]) by hub.freebsd.org (Postfix) with SMTP id 5D73737B405 for ; Fri, 1 Mar 2002 04:38:15 -0800 (PST) Received: (qmail 21319 invoked from network); 1 Mar 2002 12:37:49 -0000 Received: from user-24-214-88-166.knology.net (HELO there) (24.214.88.166) by user-24-214-63-13.knology.net with SMTP; 1 Mar 2002 12:37:49 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Mike Murphree To: "Koster, K.J." Subject: Re: Ugrade from linux-jdk to native Date: Fri, 1 Mar 2002 06:38:31 -0600 X-Mailer: KMail [version 1.3.2] Cc: freebsd-java@freebsd.org References: <59063B5B4D98D311BC0D0001FA7E452205FDA3CD@l04.research.kpn.com> In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3CD@l04.research.kpn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020301123815.5D73737B405@hub.freebsd.org> 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 On Friday 01 March 2002 03:39 am, Koster, K.J. wrote: > Dear Mike, > > > > > Good question. Is there any reason to use native jdk instead > > > > of the new version of the linux jdk? > > > > > > For most things it isn't. You'll need native for doing JNI > > > stuff. Everything else works fine in the Linux JDK's. > > > > Along these lines, I have a Java program that works on both Windows > > and Linux which uses libraries to perform serial I/O and I would > > like to get it operating under FreeBSD. Is this not possible under > > the Linux emulation or do I need a native JDK to make it work? > > There is a JavaComm port or somesuch. Isn't that a library to conduct > serial I/O from Java? It might have ports to all the platforms you need. It does not. Only Windows, Linux, and probably Solaris. Web page for it is at: http://www.qsl.net/n6lyt Maybe there is a better way to provide the serial I/O function now? Thanks, Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 6:13:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by hub.freebsd.org (Postfix) with ESMTP id 77BC637B417 for ; Fri, 1 Mar 2002 06:13:11 -0800 (PST) Received: from there (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.11.6/8.11.6) with SMTP id g21ECwL13401; Fri, 1 Mar 2002 16:12:59 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) Message-Id: <200203011412.g21ECwL13401@guinness.syncrontech.com> Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari To: Mike Murphree , "Koster, K.J." Subject: Re: Ugrade from linux-jdk to native Date: Fri, 1 Mar 2002 16:12:58 +0200 X-Mailer: KMail [version 1.3.2] Cc: freebsd-java@FreeBSD.ORG References: <59063B5B4D98D311BC0D0001FA7E452205FDA3CD@l04.research.kpn.com> <20020301123815.5D73737B405@hub.freebsd.org> In-Reply-To: <20020301123815.5D73737B405@hub.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, On Friday 01 March 2002 14:38, Mike Murphree wrote: > On Friday 01 March 2002 03:39 am, Koster, K.J. wrote: > > Dear Mike, > > > > > > > Good question. Is there any reason to use native jdk instead > > > > > of the new version of the linux jdk? > > > > > > > > For most things it isn't. You'll need native for doing JNI > > > > stuff. Everything else works fine in the Linux JDK's. > > > > > > Along these lines, I have a Java program that works on both Windows > > > and Linux which uses libraries to perform serial I/O and I would > > > like to get it operating under FreeBSD. Is this not possible under > > > the Linux emulation or do I need a native JDK to make it work? > > > > There is a JavaComm port or somesuch. Isn't that a library to conduct > > serial I/O from Java? It might have ports to all the platforms you need. > > It does not. Only Windows, Linux, and probably Solaris. > Yes it does. Sun supports only operating systems above, but there is freebsd-commapi port, which provides FreeBSD-support to it. The port is not yet committed to ports tree, but there has bee progress today. There are just a few port Makefile -specific problems to be solved which are there mostly because it was the first port Makefile written by me. Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 6:31:52 2002 Delivered-To: freebsd-java@freebsd.org Received: from webmail2.knology.net (user-24-214-63-44.knology.net [24.214.63.44]) by hub.freebsd.org (Postfix) with SMTP id F293F37B402 for ; Fri, 1 Mar 2002 06:31:48 -0800 (PST) Received: (qmail 24640 invoked by uid 400); 1 Mar 2002 14:20:00 -0000 Date: 1 Mar 2002 14:20:00 -0000 Message-ID: <20020301142000.24639.qmail@webmail2.knology.net> From: "Mike Murphree" To: Ari Suutari , Mike Murphree , "Koster, K.J." , freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native References: <> In-Reply-To: <> X-Mailer: Knology Webmail Nov 2001 Release X-IPAddress: 12.13.248.12 X-Sender: w4lna@knology.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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 On Fri, 1 Mar 2002 16:12:58 +0200, Ari Suutari wrote : > Hi, > > > On Friday 01 March 2002 14:38, Mike Murphree wrote: > > On Friday 01 March 2002 03:39 am, Koster, K.J. wrote: > > > Dear Mike, > > > > > > > > > Good question. Is there any reason to use native jdk instead > > > > > > of the new version of the linux jdk? > > > > > > > > > > For most things it isn't. You'll need native for doing JNI > > > > > stuff. Everything else works fine in the Linux JDK's. > > > > > > > > Along these lines, I have a Java program that works on both Windows > > > > and Linux which uses libraries to perform serial I/O and I would > > > > like to get it operating under FreeBSD. Is this not possible under > > > > the Linux emulation or do I need a native JDK to make it work? > > > > > > There is a JavaComm port or somesuch. Isn't that a library to conduct > > > serial I/O from Java? It might have ports to all the platforms you need. > > > > It does not. Only Windows, Linux, and probably Solaris. > > > > Yes it does. Sun supports only operating systems above, > but there is freebsd-commapi port, which provides FreeBSD-support > to it. The port is not yet committed to ports tree, but there has > bee progress today. There are just a few port Makefile -specific > problems to be solved which are there mostly because it was > the first port Makefile written by me. Sorry, that didn't come out quite right. The Java app that I was trying to get to work only works on the aforementioned operating systems since it had C libraries to support I/O only on those platforms. I do not believe that it uses the JavaComm port on those operating systems and would have to be re-written to take advantage of them. The app was originally written for the 1.1.8 JDK. I'll look forward to your port... Thanks, Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 7:58:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 7129537B402 for ; Fri, 1 Mar 2002 07:58:33 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 16gpQO-0007jz-00; Fri, 1 Mar 2002 15:58:24 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g21FwNC83802; Fri, 1 Mar 2002 15:58:23 GMT (envelope-from jcm) Date: Fri, 1 Mar 2002 15:58:23 +0000 From: j mckitrick To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native Message-ID: <20020301155823.C83735@dogma.freebsd-uk.eu.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3C5@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3C5@l04.research.kpn.com>; from K.J.Koster@kpn.com on Thu, Feb 28, 2002 at 03:04:47PM +0100 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 Hotspot seems great, and will help the perfomance issue for sure. But isn't there an ongoing debate about look-and-feel, and the AWT vs the SWT? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 8: 1:48 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 84C1C37B400 for ; Fri, 1 Mar 2002 08:01:45 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F8FYD>; Fri, 1 Mar 2002 17:01:43 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3DC@l04.research.kpn.com> From: "Koster, K.J." To: 'j mckitrick' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Ugrade from linux-jdk to native Date: Fri, 1 Mar 2002 17:01:43 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Hello Jonathon, > > Hotspot seems great, and will help the perfomance issue for sure. But > isn't there an ongoing debate about look-and-feel, and the AWT vs the > SWT? > SWT? If you mean Swing; use Swing, not AWT. It's much better. What look 'n feel issues are you referring to? Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 8: 6:19 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 1E4C237B402 for ; Fri, 1 Mar 2002 08:06:15 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16gpXs-000HK2-00; Fri, 1 Mar 2002 16:06:08 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g21G68f83891; Fri, 1 Mar 2002 16:06:08 GMT (envelope-from jcm) Date: Fri, 1 Mar 2002 16:06:08 +0000 From: j mckitrick To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native Message-ID: <20020301160608.D83735@dogma.freebsd-uk.eu.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3DC@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3DC@l04.research.kpn.com>; from K.J.Koster@kpn.com on Fri, Mar 01, 2002 at 05:01:43PM +0100 X-Scanner: exiscan *16gpXs-000HK2-00*PgE5qixHs/Q* (Manchester Computing, University of Manchester) 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 On Fri, Mar 01, 2002 at 05:01:43PM +0100, Koster, K.J. wrote: | Hello Jonathon, | | > | > Hotspot seems great, and will help the perfomance issue for sure. But | > isn't there an ongoing debate about look-and-feel, and the AWT vs the | > SWT? | > | SWT? If you mean Swing; use Swing, not AWT. It's much better. | | What look 'n feel issues are you referring to? I was reading javaworld recently (IIRC) and apparently there are issues with Swing looking so different from native platform GUIs. So, there is another toolkit, SWT, or Standard (Window|Widget) Toolkit. IIUC, it is supposed to offer the power and flexibility of Swing with the look and feel of the native application, even using JNI where possible to do so. I'm just repeating what I read, so maybe I need to do some more digging. But I'm under the impression that some developers don't like the look and feel of Swing, and apparently the LookAndFeel API isn't enough to fix it. Let me see what I can dig up. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 8:20:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 53CEF37B402 for ; Fri, 1 Mar 2002 08:20:04 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g21GIf244017; Fri, 1 Mar 2002 17:18:41 +0100 (CET) (envelope-from ernst) Message-Id: <200203011618.g21GIf244017@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: j mckitrick , "Koster, K.J." Subject: Re: Ugrade from linux-jdk to native Date: Fri, 1 Mar 2002 17:18:41 +0100 X-Mailer: KMail [version 1.3.2] Cc: freebsd-java@FreeBSD.ORG References: <59063B5B4D98D311BC0D0001FA7E452205FDA3DC@l04.research.kpn.com> <20020301160608.D83735@dogma.freebsd-uk.eu.org> In-Reply-To: <20020301160608.D83735@dogma.freebsd-uk.eu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 See: http://www.eclipse.org/articles/Article-SWT-Design-1/SWT-Design-1.html Ernst On Friday 01 March 2002 17:06, j mckitrick wrote: > On Fri, Mar 01, 2002 at 05:01:43PM +0100, Koster, K.J. wrote: > | Hello Jonathon, > | > | > Hotspot seems great, and will help the perfomance issue for sure. But > | > isn't there an ongoing debate about look-and-feel, and the AWT vs the > | > SWT? > | > | SWT? If you mean Swing; use Swing, not AWT. It's much better. > | > | What look 'n feel issues are you referring to? > > I was reading javaworld recently (IIRC) and apparently there are issues > with Swing looking so different from native platform GUIs. So, there > is another toolkit, SWT, or Standard (Window|Widget) Toolkit. IIUC, it > is supposed to offer the power and flexibility of Swing with the look > and feel of the native application, even using JNI where possible to > do so. I'm just repeating what I read, so maybe I need to do some more > digging. But I'm under the impression that some developers don't like > the look and feel of Swing, and apparently the LookAndFeel API isn't > enough to fix it. Let me see what I can dig up. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 8:27:20 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id B3E1C37B405; Fri, 1 Mar 2002 08:27:17 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16gpsE-000IMR-00; Fri, 1 Mar 2002 16:27:10 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g21GR9p84172; Fri, 1 Mar 2002 16:27:09 GMT (envelope-from jcm) Date: Fri, 1 Mar 2002 16:27:09 +0000 From: j mckitrick To: Ernst de Haan Cc: "Koster, K.J." , freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native Message-ID: <20020301162709.G83735@dogma.freebsd-uk.eu.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA3DC@l04.research.kpn.com> <20020301160608.D83735@dogma.freebsd-uk.eu.org> <200203011618.g21GIf244017@zaphod.euronet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200203011618.g21GIf244017@zaphod.euronet.nl>; from znerd@FreeBSD.ORG on Fri, Mar 01, 2002 at 05:18:41PM +0100 X-Scanner: exiscan *16gpsE-000IMR-00*MF2W3F4pSQI* (Manchester Computing, University of Manchester) 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 On Fri, Mar 01, 2002 at 05:18:41PM +0100, Ernst de Haan wrote: | See: | | http://www.eclipse.org/articles/Article-SWT-Design-1/SWT-Design-1.html Yes, that's the one. So the issue remains: Swing or SWT? Where is the industry headed? Which one makes more sense for BSD users? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 8:37:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 3B21B37B417; Fri, 1 Mar 2002 08:37:04 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id SAA94288; Fri, 1 Mar 2002 18:36:54 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h194.228.dialup.iptcom.net [212.9.228.194]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id SAA50020; Fri, 1 Mar 2002 18:36:49 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g21GaIs42732; Fri, 1 Mar 2002 18:36:18 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C7FAE28.870FD922@FreeBSD.org> Date: Fri, 01 Mar 2002 18:36:56 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Jesse McConnell Cc: portmgr@FreeBSD.org, java@FreeBSD.org, kevlo@FreeBSD.org, sebster@sebster.org, ernsth@nl.euro.net Subject: Re: Support bsd.java.mk References: <20020227094707.A91818@gallup.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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 People, please post such proposals to ports@FreeBSD.org instead. portmgr@ is not a technical committee, but rather a purely managerial body. I'm all for bsd.java.mk, though currently I don't have time necessary to review the proposed implementation. Thanks! -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 8:37:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 1CCF637B402 for ; Fri, 1 Mar 2002 08:37:39 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g21GaNH44301; Fri, 1 Mar 2002 17:36:23 +0100 (CET) (envelope-from ernst) Message-Id: <200203011636.g21GaNH44301@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: j mckitrick Subject: Re: Ugrade from linux-jdk to native Date: Fri, 1 Mar 2002 17:36:23 +0100 X-Mailer: KMail [version 1.3.2] Cc: "Koster, K.J." , freebsd-java@FreeBSD.ORG References: <59063B5B4D98D311BC0D0001FA7E452205FDA3DC@l04.research.kpn.com> <200203011618.g21GIf244017@zaphod.euronet.nl> <20020301162709.G83735@dogma.freebsd-uk.eu.org> In-Reply-To: <20020301162709.G83735@dogma.freebsd-uk.eu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 > Yes, that's the one. So the issue remains: Swing or SWT? Where is the > industry headed? Which one makes more sense for BSD users? There is no FreeBSD support in SWT AFAIK. Is there? I haven't seen any SWT applications running... Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 8:48:28 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 5717F37B41B for ; Fri, 1 Mar 2002 08:48:21 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F8GA7>; Fri, 1 Mar 2002 17:48:20 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA3DE@l04.research.kpn.com> From: "Koster, K.J." To: 'j mckitrick' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Ugrade from linux-jdk to native Date: Fri, 1 Mar 2002 17:48:19 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Jonathon, > > http://www.eclipse.org/articles/Article-SWT-Design-1/SWT-Design-1.html > > Yes, that's the one. So the issue remains: Swing or SWT? > Where is the industry headed? Which one makes more sense for BSD > users? > *shurg* Sounds to me like another Linux vs. BSD war cooking. Try both and stick with the one you like. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 8:58:52 2002 Delivered-To: freebsd-java@freebsd.org Received: from sinclair.swishmail.com (sinclair.swishmail.com [209.10.110.64]) by hub.freebsd.org (Postfix) with SMTP id 4BF9D37B417 for ; Fri, 1 Mar 2002 08:58:49 -0800 (PST) Received: (qmail 66905 invoked from network); 1 Mar 2002 16:58:48 -0000 Received: from unknown (HELO lenny) (206.32.4.77) by sinclair.swishmail.com with SMTP; 1 Mar 2002 16:58:46 -0000 Message-ID: <000701c1c147$cc513f40$780000d2@mesaintl.com> Reply-To: "Mesa" From: "Mesa" To: "FreeBSD Java" Subject: gmake error with native jdk13p6 Date: Fri, 1 Mar 2002 12:37:40 -0500 Organization: Mesa International MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 I'm getting the following error: ../../../src/solaris/native/sun/awt/awt_motif.h:17: X11/Intrinsic.h no such file or directory gmake[3] *** [../../../build/bsd-i386/tmp/sun/sun.awt/awt/obj/awt_AWTEvent.o] Error1 gmake[3] Leaving directory '/usr/src/jdk13p6/j2sdk1.3.1/make/sun/awt' gmake[2] *** [optimized] Error 2 gmake[2] Leaving directory '/usr/src/jdk13p6/j2sdk1.3.1/make/sun/awt' gmake[1] *** [all] Error 1 gmake[1] Leaving directory '/usr/src/jdk13p6/j2sdk1.3.1/make/sun' gmake *** [all] Error 1 Do I have a missing dependency? Regards, Len Huppe Mesa MIS P 603-456-2002 x238 F 603-456-2112 lenhuppe@mesaintl.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 9: 6:30 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 5BE0437B41A for ; Fri, 1 Mar 2002 09:06:22 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16gqU9-0003M8-00; Fri, 01 Mar 2002 10:06:21 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g21H6HK04063; Sat, 2 Mar 2002 03:36:17 +1030 (CST) (envelope-from glewis) Date: Sat, 2 Mar 2002 03:36:16 +1030 From: Greg Lewis To: Mesa Cc: FreeBSD Java Subject: Re: gmake error with native jdk13p6 Message-ID: <20020302033616.A4048@misty.eyesbeyond.com> References: <000701c1c147$cc513f40$780000d2@mesaintl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000701c1c147$cc513f40$780000d2@mesaintl.com>; from mesa@mesaintl.com on Fri, Mar 01, 2002 at 12:37:40PM -0500 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 On Fri, Mar 01, 2002 at 12:37:40PM -0500, Mesa wrote: > I'm getting the following error: > > ../../../src/solaris/native/sun/awt/awt_motif.h:17: X11/Intrinsic.h no > such file or directory > gmake[3] *** > [../../../build/bsd-i386/tmp/sun/sun.awt/awt/obj/awt_AWTEvent.o] Error1 > gmake[3] Leaving directory '/usr/src/jdk13p6/j2sdk1.3.1/make/sun/awt' > gmake[2] *** [optimized] Error 2 > gmake[2] Leaving directory '/usr/src/jdk13p6/j2sdk1.3.1/make/sun/awt' > gmake[1] *** [all] Error 1 > gmake[1] Leaving directory '/usr/src/jdk13p6/j2sdk1.3.1/make/sun' > gmake *** [all] Error 1 > > Do I have a missing dependency? Do you not have X installed? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 1 9:24: 6 2002 Delivered-To: freebsd-java@freebsd.org Received: from cleo.cs.brandeis.edu (cleo.cs.brandeis.edu [129.64.3.190]) by hub.freebsd.org (Postfix) with ESMTP id 91E4E37B400 for ; Fri, 1 Mar 2002 09:24:03 -0800 (PST) Received: from localhost (meshko@localhost) by cleo.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id MAA07295; Fri, 1 Mar 2002 12:24:00 -0500 Date: Fri, 1 Mar 2002 12:24:00 -0500 (EST) From: Mikhail Kruk To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: RE: Ugrade from linux-jdk to native In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3CC@l04.research.kpn.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi Kees, > Is there? Microsoft's Java VM has always been one of the best, if not the > very best. The MacOS X port is brand new. http://rsb.info.nih.gov/plasma2/ in case you want to see it. Is MacOS X really brand new? Did they port it like FreeBSD porters do, or did they write a new VM from scratch? Also is it me, or is each new release of Sun's JDK much slower than the previous? (with teh exception of 1.3 being faster than 1.2, but than again everything is faster than 1.2). I mean 1.4 seems much slower than 1.3 to me. I know, know, it has a superior JIT technology and everything, but... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 2 7: 4:54 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 9569D37B405 for ; Sat, 2 Mar 2002 07:04:50 -0800 (PST) Received: from heinz by smtp.hccnet.nl via uds58-45.dial.hccnet.nl [62.251.45.58] with SMTP for id QAA00596 (8.8.8/1.13); Sat, 2 Mar 2002 16:04:39 +0100 (MET) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: java@FreeBSD.ORG Subject: Re: Draft for first bsd.java.mk document Date: Sat, 2 Mar 2002 17:01:46 +0100 X-Mailer: KMail [version 1.2] References: <59063B5B4D98D311BC0D0001FA7E452205FDA3CF@l04.research.kpn.com> In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA3CF@l04.research.kpn.com> MIME-Version: 1.0 Message-Id: <02030217014603.03516@heinz> Content-Transfer-Encoding: 8bit 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 Dear Kees Jan and all, I've updated the first document and started with a second one. Any preliminary reviews would be more than welcome: http://www.metaverse.nl/~ernst/installing.html http://www.metaverse.nl/~ernst/writing.html I've changed the installing.html document per your suggestion, Kees Jan :) Will keep you posted. Ernst On Friday 01 March 2002 10:55, Koster, K.J. wrote: > Dear Ernst, > > > > > http://www.metaverse.nl/~ernst/installing.html > > > > > > > > > I know how you like Jikes, :) but could you perhaps also > > > > write how to use a > > > > > regular Java compiler? > > > > As you can read in the document, the default is *not* using > > Jikes. By default > > it's only used if it is already installed. I am actually also > > extensively describing how to disable Jikes :) > > Perhaps. I read your page rather casually. TO a casual reader the text > basically tells me to use Jikes. "spec a compiler" and then "introduction > to jikes". How about moving the body of "intro to jikes" into "chaning > behaviour", thus making "default behaviour" the first subsection. That > would meet casual reader requirements, IMHO. > > Kees Jan > > ===================================================== > You can't have everything. Where would you put it? > [Steven Wright] > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 2 8:53:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 5F26837B42A for ; Sat, 2 Mar 2002 08:52:59 -0800 (PST) Received: from heinz by smtp.hccnet.nl via uds58-45.dial.hccnet.nl [62.251.45.58] with SMTP for id RAA18387 (8.8.8/1.13); Sat, 2 Mar 2002 17:52:57 +0100 (MET) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: java@FreeBSD.org Subject: Upgraded port: Blackdown JDK 1.2.2 for Linux (java/linux-jdk) Date: Sat, 2 Mar 2002 18:50:37 +0100 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <02030218503707.03516@heinz> Content-Transfer-Encoding: 8bit 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 Hi, Just upgraded the Blackdown JDK 1.2.2 for Linux from RC4 to FCS. Please test it and confirm that it works for you. The port is java/linux-jdk. Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message