From owner-freebsd-java Sun Jun 11 21:18:59 2000 Delivered-To: freebsd-java@freebsd.org Received: from arjuna.mindflip.com (arjuna.mindflip.com [206.50.17.92]) by hub.freebsd.org (Postfix) with ESMTP id 9283937B9A5 for ; Sun, 11 Jun 2000 21:18:56 -0700 (PDT) (envelope-from matt@arjuna.mindflip.com) Received: (from matt@localhost) by arjuna.mindflip.com (8.9.3/8.9.3) id EAA70986 for freebsd-java@freebsd.org; Mon, 12 Jun 2000 04:13:46 GMT (envelope-from matt) Date: Mon, 12 Jun 2000 04:13:45 +0000 From: Matt Musselman To: freebsd-java@freebsd.org Subject: JDK documentation Message-ID: <20000612041345.A70965@arjuna.mindflip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, It appears that the JDK documentation no longer exists in the distfiles directory of the online ports tree. After some unsuccessful searching on Sun's site, as well, I can't find this documentation anywhere. I'd appreciate any leads you guys have on tracking it down. Thanks in advance, Matt Musselman -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 12 1:39:31 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with SMTP id 764A937BD34 for ; Mon, 12 Jun 2000 01:39:27 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (qmail 516 invoked by uid 1000); 12 Jun 2000 08:38:11 -0000 Date: Mon, 12 Jun 2000 10:38:11 +0200 From: Ernst de Haan To: Matt Musselman Cc: java@freebsd.org Subject: Re: JDK documentation Message-ID: <20000612103811.B481@c187104187.telekabel.chello.nl> References: <20000612041345.A70965@arjuna.mindflip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000612041345.A70965@arjuna.mindflip.com>; from matt@mindflip.com on Mon, Jun 12, 2000 at 04:13:45AM +0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Matt, Try: * http://java.sun.com/products/jdk/1.2/docs/ for the frames-version of the JDK 1.2.2 API documentation. Ernst It appears Matt Musselman wrote: > Hello, > > It appears that the JDK documentation no longer exists in the distfiles > directory of the online ports tree. After some unsuccessful searching > on Sun's site, as well, I can't find this documentation anywhere. > > I'd appreciate any leads you guys have on tracking it down. > > Thanks in advance, > > Matt Musselman > -- > > > 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 Jun 12 3:19:29 2000 Delivered-To: freebsd-java@freebsd.org Received: from sunic.sunet.se (sunic.sunet.se [192.36.125.2]) by hub.freebsd.org (Postfix) with ESMTP id 3265037B7A7 for ; Mon, 12 Jun 2000 03:19:23 -0700 (PDT) (envelope-from yuri@irfu.se) Received: from irfu.se (sol.irfu.se [130.238.30.6]) by sunic.sunet.se (8.9.3/8.9.3) with SMTP id MAA18749 for ; Mon, 12 Jun 2000 12:19:17 +0200 (MET DST) Received: from jazz by irfu.se (SMI-8.6/SMI-SVR4) id MAA03390; Mon, 12 Jun 2000 12:18:15 +0200 From: "Yuri Khotyaintsev" To: Subject: RE: Subject: Segmentation violation when invoking JNI call to C from Java with Pthreads Date: Mon, 12 Jun 2000 12:19:16 +0200 Message-ID: <000401bfd457$a9f4cfe0$c31eee82@irfu.se> 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 CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200006102201.PAA03393@nomad.yogotech.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >If you've done this, then the program won't work. pthread_mutex_lock >and friends aren't compatible with the threading using the JDK1.1 VM. But is JDK1.2 pthread compatible? >The bug is almost certainly in your JNI code that is doing something >'wrong', although it's not necessarily your fault, since doing JNI isn't >documented, and is (as expected) different for each platform, FreeBSD >being no exception. Yuri Khotyaintsev Swedish Institute of Space Physics, Uppsala mailto:yuri@irfu.se http://tatra.irfu.se/yuri http://ovt.irfu.se - Orbit Visualization Tool To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 12 7:32:33 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 295B137B5CE for ; Mon, 12 Jun 2000 07:32:27 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id AAA01307; Tue, 13 Jun 2000 00:00:54 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200006121430.AAA01307@ares.trc.adelaide.edu.au> Subject: Re: Subject: Segmentation violation when invoking JNI call to C from Java with Pthreads In-Reply-To: <000401bfd457$a9f4cfe0$c31eee82@irfu.se> from Yuri Khotyaintsev at "Jun 12, 2000 12:19:16 pm" To: Yuri Khotyaintsev Date: Tue, 13 Jun 2000 00:00:54 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yuri Khotyaintsev wrote: > >If you've done this, then the program won't work. pthread_mutex_lock > >and friends aren't compatible with the threading using the JDK1.1 VM. > > But is JDK1.2 pthread compatible? JDK 1.2 uses the same threads as JDK 1.1. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 12 8:13:32 2000 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 6979237B527 for ; Mon, 12 Jun 2000 08:13:29 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA25652; Mon, 12 Jun 2000 09:13:28 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA08821; Mon, 12 Jun 2000 09:13:27 -0600 (MDT) (envelope-from nate) Date: Mon, 12 Jun 2000 09:13:27 -0600 (MDT) Message-Id: <200006121513.JAA08821@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Yuri Khotyaintsev" Cc: Subject: RE: Subject: Segmentation violation when invoking JNI call to C from Java with Pthreads In-Reply-To: <000401bfd457$a9f4cfe0$c31eee82@irfu.se> References: <200006102201.PAA03393@nomad.yogotech.com> <000401bfd457$a9f4cfe0$c31eee82@irfu.se> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >If you've done this, then the program won't work. pthread_mutex_lock > >and friends aren't compatible with the threading using the JDK1.1 VM. > > But is JDK1.2 pthread compatible? What JDK1.2? :) If you mean the Alpha patches, they are not pthread compatible either. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 12 9: 2:36 2000 Delivered-To: freebsd-java@freebsd.org Received: from shrink.infopsyc.com (shrink.infopsyc.com [208.11.244.10]) by hub.freebsd.org (Postfix) with ESMTP id E131037BABA for ; Mon, 12 Jun 2000 09:02:25 -0700 (PDT) (envelope-from jhopkins@infopsyc.com) Received: from infopsyc.com (zags@shrink [208.11.244.10]) by shrink.infopsyc.com (8.9.3/8.9.3) with ESMTP id MAA07825; Mon, 12 Jun 2000 12:02:21 -0400 (EDT) (envelope-from jhopkins@infopsyc.com) Message-ID: <3945098D.11565DB4@infopsyc.com> Date: Mon, 12 Jun 2000 12:02:21 -0400 From: Jeremy Hopkins Organization: Research Triangle Commerce, Inc. X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: ant-dev@jakarta.apache.org, freebsd-java@freebsd.org Subject: building ant under FreeBSD3.4 with JDK-1.2.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hello, I am running FreeBSD-3.4 with JDK-1.2.2 (native FreeBSD build) I am now trying to install tomcat. According to the documents i've read about tomcat, it requires ant. So i've downloaded ant, and began to install that. I've run into a couple of problems though. First I notice That ant requests that the Java API for XML Parsing kit be installed. Once unzipped i'm supposed to run ~/jaxp1.0.1/examples/simple/make which produces the following output root@greyling (~/tmp/jakarta/jaxp1.0.1/examples/simple)$ make javac -classpath "../../jaxp.jar:../../parser.jar:/usr/local/jdk1.2.2/lib/classes.zip" main.java java -classpath ".:../../jaxp.jar:../../parser.jar:/usr/local/jdk1.2.2/lib/classes.zip" main ../samples/book-order.xml Root element of the doc is Order root@greyling (~/tmp/jakarta/jaxp1.0.1/examples/simple)$ Can someone please explain or point to a reference as to what "Root element of the doc is Order" is supposed to mean to me. This is also the point where install instructions for jaxp1.0.1 end. so i continued with the jakarta-ant build. which calls to first run jakarta-ant/bootstrap.sh. this completes successfully. then i execute from the jakarta-ant directory %./build.sh -Dant.dist.dir=/usr/local/ant dist which eventually hangs at the following spot. [exec] Generating /usr/home/jhopkins/tmp/jakarta/build/ant/javadocs/help-doc.html... [exec] Generating /usr/home/jhopkins/tmp/jakarta/build/ant/javadocs/stylesheet.css... [exec] 3 warnings The 3 error messages i recieve are: [exec] Constructing Javadoc information... [exec] /usr/home/jhopkins/tmp/jakarta/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java:60: Class netrexx.lang.Rexx not found in import. [exec] import netrexx.lang.Rexx; [exec] ^ [error] javadoc: warning - Import not found: netrexx.lang.Rexx - ignoring! [exec] Building tree for all the packages and classes... [exec] Building index for all the packages and classes... [exec] Generating /usr/home/jhopkins/tmp/jakarta/build/ant/javadocs/overview-tree.html... [exec] Generating /usr/home/jhopkins/tmp/jakarta/build/ant/javadocs/index-all.html... [error] javadoc: warning - org.apache.tools.ant.DirectoryScanner.addDefaultExcludes(): Tag @see: can't find DEFAULTEXCLUDES in org.apache.tools.ant.DirectoryScanner [error] javadoc: warning - org.apache.tools.ant.taskdefs.optional.RenameExtensions: @version tag has no arguments. [exec] Generating /usr/home/jhopkins/tmp/jakarta/build/ant/javadocs/deprecated-list.html... [exec] Building index for all classes... my classpath and path should be set correctly here is what i have root@greyling (~/tmp/jakarta/jakarta-ant)$ echo $CLASSPATH :.:/usr/local/jdk1.2.2/lib/tools.jar:/usr/local/share/java/classes/jsdk.jar:/usr/local/share/java/java/jdbc/mm.mysql.jdbc-2.0pre5:/home/jhopkins/tmp/jakarta/jaxp1.0.1/jaxp.jar:/home/jhopkins/tmp/jakarta/jaxp1.0.1/parser.jar root@greyling (~/tmp/jakarta/jakarta-ant)$ echo $PATH /usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/scripts:/usr/local/libexec:/usr/X11R6/bin:/usr/libexec:/usr/local/libexec:/usr/games:/usr/local/jdk1.2.2/bin I've been struggling here for the last few days now, can someone please help? Also if i go on to start to compile tomcat it eventually hangs at the same sytlesheet.css with 1 warning. I didn't expect tomcat to build, but had to attempt anyhow. Jeremy *************************************************************************************** Jeremy Hopkins || Systems Administrator http://zags.infopsyc.com/ || Research Triangle Commerce, Inc. zags@infopsyc.com || http://www.rtci.com || jhopkins@rtci.com *************************************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 12 9:39:14 2000 Delivered-To: freebsd-java@freebsd.org Received: from cbl-skelly3.hs.earthlink.net (CBL-skelly3.hs.earthlink.net [209.178.114.61]) by hub.freebsd.org (Postfix) with ESMTP id B3A9137B74E for ; Mon, 12 Jun 2000 09:39:10 -0700 (PDT) (envelope-from kelly@ad1440.net) Received: from uta003594 (uta003594.jpl.nasa.gov [128.149.211.36]) by cbl-skelly3.hs.earthlink.net (8.9.2/8.9.2) with SMTP id JAA34420; Mon, 12 Jun 2000 09:39:06 -0700 (PDT) (envelope-from kelly@ad1440.net) Message-ID: <00a601bfd48d$3ae5d000$24d39580@jpl.nasa.gov> From: "Sean Kelly" To: "Jeremy Hopkins" , References: <3945098D.11565DB4@infopsyc.com> Subject: Re: building ant under FreeBSD3.4 with JDK-1.2.2 Date: Mon, 12 Jun 2000 09:42:41 -0700 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 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I've been struggling here for the last few days now, can someone please > help? Is there a special reason why you can't use the precompiled tomcat? I'm just curious. --Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 12 10:32:17 2000 Delivered-To: freebsd-java@freebsd.org Received: from shrink.infopsyc.com (shrink.infopsyc.com [208.11.244.10]) by hub.freebsd.org (Postfix) with ESMTP id D83A937BF97 for ; Mon, 12 Jun 2000 10:32:12 -0700 (PDT) (envelope-from jhopkins@infopsyc.com) Received: from infopsyc.com (zags@shrink [208.11.244.10]) by shrink.infopsyc.com (8.9.3/8.9.3) with ESMTP id NAA08081; Mon, 12 Jun 2000 13:32:09 -0400 (EDT) (envelope-from jhopkins@infopsyc.com) Message-ID: <39451E99.5AF9F416@infopsyc.com> Date: Mon, 12 Jun 2000 13:32:09 -0400 From: Jeremy Hopkins Reply-To: jhopkins@rtci.com Organization: Research Triangle Commerce, Inc. X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Sean Kelly , freebsd-java@freebsd.org Subject: Re: building ant under FreeBSD3.4 with JDK-1.2.2 References: <3945098D.11565DB4@infopsyc.com> <00a601bfd48d$3ae5d000$24d39580@jpl.nasa.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sean Kelly wrote: > > > I've been struggling here for the last few days now, can someone please > > help? > > Is there a special reason why you can't use the precompiled tomcat? I'm > just curious. That is where i'm heading next. When at all possible i prefer to build/compile the source if it is available. Other than a request by my Sr. Sys. Admin to try not to use the pre-compiled binaries, no there is no special reason i can't use the precompiled tomcat. -- Jeremy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 12 13:23:57 2000 Delivered-To: freebsd-java@freebsd.org Received: from c004.sfo.cp.net (c004-h007.c004.sfo.cp.net [209.228.14.63]) by hub.freebsd.org (Postfix) with SMTP id 952C137B765 for ; Mon, 12 Jun 2000 13:23:53 -0700 (PDT) (envelope-from rick@geckobot.com) Received: (cpmta 22164 invoked from network); 12 Jun 2000 13:23:52 -0700 Received: from chnd1-blk1-hfc-0251-d1db0086.rdc1.az.coxatwork.com (HELO patches) (209.219.0.134) by smtp.geckobot.com with SMTP; 12 Jun 2000 13:23:52 -0700 X-Sent: 12 Jun 2000 20:23:52 GMT Message-ID: <001201bfd4ad$19e12740$0464a8c0@patches> From: "Rick Moore" To: References: <3945098D.11565DB4@infopsyc.com> <00a601bfd48d$3ae5d000$24d39580@jpl.nasa.gov> <39451E99.5AF9F416@infopsyc.com> Subject: Netscape on FreeBSD running Java Applets Date: Mon, 12 Jun 2000 13:30:51 -0700 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 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello! I'm not sure this is the right forum, but I'm sure you'll let me know if it's not. :) I noticed that Java applets running under Netscape on FreeBSD seem to have some problems. They can't connect sockets back to their host server. I can live without blind socket connectivity, but even HTTP resources don't seem to download. For example, I can't get my applet to display a simple image! I must be doing something wrong. Is there some little HTML bit or something I need to include to get a simple image to download to an applet running under FreeBSD Netscape? My applet works under IE and NS under Windoze, and I'm a fairly senior Java developer so I don't *think* it's my code. Here's a reduced version of code which demonstrates the problem. public class Research extends Applet { static Image blankButton; public void init() { blankButton = getImage( getCodeBase(), "images/blankbutton.gif" ); } public void paint( Graphics g ) { g.drawImage( blankButton, 0, 0, this ); // Null pointer exception is thrown here } Here's the HTML: Thanks in advance, Rick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 12 14:13: 3 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with SMTP id A33E437B9E9 for ; Mon, 12 Jun 2000 14:12:52 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (qmail 12243 invoked by uid 1000); 12 Jun 2000 21:12:48 -0000 Date: Mon, 12 Jun 2000 23:12:48 +0200 From: Ernst de Haan To: jhopkins@rtci.com Cc: Sean Kelly , freebsd-java@freebsd.org Subject: Re: building ant under FreeBSD3.4 with JDK-1.2.2 Message-ID: <20000612231248.A12233@c187104187.telekabel.chello.nl> References: <3945098D.11565DB4@infopsyc.com> <00a601bfd48d$3ae5d000$24d39580@jpl.nasa.gov> <39451E99.5AF9F416@infopsyc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39451E99.5AF9F416@infopsyc.com>; from jhopkins@infopsyc.com on Mon, Jun 12, 2000 at 01:32:09PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Jeremy, You have triggered a known bug in the FreeBSD JDK alpha JDK patchset 8, which effectively hangs some exec() calls. There is a patchset floatin around somewhere (Kees-Jan Koster (re)posted it a while ago on java@freebsd.org). You have two options (at least): Get the patch, rebuild the JDK for a patchset "8++" and retry, or use the Blackdown Linux JDK with linux emulation (/usr/ports/java/linux-jdk/) and wait for patchset 9 to arrive. Ernst It appears Jeremy Hopkins wrote: > Sean Kelly wrote: > > > > > I've been struggling here for the last few days now, can someone please > > > help? > > > > Is there a special reason why you can't use the precompiled tomcat? I'm > > just curious. > > That is where i'm heading next. When at all possible i prefer to > build/compile the source if it is available. Other than a request by my > Sr. Sys. Admin to try not to use the pre-compiled binaries, no there is > no special reason i can't use the precompiled tomcat. > > -- Jeremy > > > 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 Jun 13 1:53: 9 2000 Delivered-To: freebsd-java@freebsd.org Received: from cric.chemres.hu (cric.chemres.hu [193.224.146.131]) by hub.freebsd.org (Postfix) with ESMTP id 03ECE37BD3B for ; Tue, 13 Jun 2000 01:53:00 -0700 (PDT) (envelope-from kuti@cric.chemres.hu) Received: from localhost (kuti@localhost) by cric.chemres.hu (8.9.2/8.9.2) with ESMTP id KAA18880 for ; Tue, 13 Jun 2000 10:54:23 +0200 Date: Tue, 13 Jun 2000 10:54:23 +0200 (DFT) From: Kuti Zsolt To: freebsd-java@FreeBSD.ORG Subject: From javalobby In-Reply-To: <20000612231248.A12233@c187104187.telekabel.chello.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org appeared in one discussion. See below: More radical idea 510000000009211 Posted by William Beebe, 11 Jun I have been working on a Java desktop using JDK 1.3. My goal is to create a distribution with either the Linux or FreeBSD kernel,along with support libraries, a stripped down X, and JDK 1.3. Everything else, from shells to file explorers to editors to what have you, is written in 100% Java. When it boots and installs itself, it's all Java. After installation it's all Java. There is enough in the APIs to build a very complete platform. So far I have a minimal desktop and a simple way to add apps to it. Now comes the next step, stripping Linux down to the bare essentials and building a boot CDROM as a test. You gotta start somewhere... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 13 6:50: 4 2000 Delivered-To: freebsd-java@freebsd.org Received: from shrink.infopsyc.com (shrink.infopsyc.com [208.11.244.10]) by hub.freebsd.org (Postfix) with ESMTP id 0167837B694 for ; Tue, 13 Jun 2000 06:49:59 -0700 (PDT) (envelope-from zags.news@infopsyc.com) Received: from infopsyc.com (zags@shrink [208.11.244.10]) by shrink.infopsyc.com (8.9.3/8.9.3) with ESMTP id JAA10321; Tue, 13 Jun 2000 09:49:44 -0400 (EDT) (envelope-from zags.news@infopsyc.com) Message-ID: <39463BF8.67E6679@infopsyc.com> Date: Tue, 13 Jun 2000 09:49:44 -0400 From: Jeremy Hopkins Reply-To: jhopkins@rtci.com Organization: Research Triangle Commerce, Inc. X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Ernst de Haan Cc: Sean Kelly , freebsd-java@freebsd.org Subject: Re: building ant under FreeBSD3.4 with JDK-1.2.2 References: <3945098D.11565DB4@infopsyc.com> <00a601bfd48d$3ae5d000$24d39580@jpl.nasa.gov> <39451E99.5AF9F416@infopsyc.com> <20000612231248.A12233@c187104187.telekabel.chello.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ernst de Haan wrote: > > Hi Jeremy, > > You have triggered a known bug in the FreeBSD JDK alpha JDK patchset 8, > which effectively hangs some exec() calls. Well i looked through freebsd-java and didn't think i saw anything relavant, but now i look back and see the post. I guess that's what i get for thinking :) > There is a patchset floatin around somewhere (Kees-Jan Koster (re)posted it a while ago on > java@freebsd.org). I believe it is the exec patch (wait.diff). Is that the one right? > > You have two options (at least): Get the patch, rebuild the JDK for a > patchset "8++" and retry, or use the Blackdown Linux JDK with linux > emulation (/usr/ports/java/linux-jdk/) and wait for patchset 9 to > arrive. Any idea as to when patchset 9 will be released? I'm glad i now know this is a bug in the jdk. I took the precompiled tomcat and used that and at least got me moving again. Thanks for the help, i'll try the "exec patch" out, and see if that fixes my other errors. Keep up the great work fellows, and thanks again for the help. Jeremy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 13 6:57:17 2000 Delivered-To: freebsd-java@freebsd.org Received: from zeus.mipnet.org (zeus.mipnet.org [195.115.143.1]) by hub.freebsd.org (Postfix) with ESMTP id A186E37B764 for ; Tue, 13 Jun 2000 06:57:03 -0700 (PDT) (envelope-from mahe@twam.com) Received: from twamx.twam (sad-hermes-28.mipnet.org [195.115.76.43]) by zeus.mipnet.org (8.9.3/8.9.3) with ESMTP id QAA26118; Tue, 13 Jun 2000 16:13:11 +0200 (MET DST) Received: from twam.com (twamx.twam [127.0.0.1]) by twamx.twam (8.9.2/8.9.2) with ESMTP id PAA09196; Tue, 13 Jun 2000 15:49:24 +0200 (CEST) (envelope-from mahe@twam.com) Message-ID: <39463BE4.9F886182@twam.com> Date: Tue, 13 Jun 2000 15:49:24 +0200 From: "Loic Mahe'" Organization: TWAM Informatique X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.1-RELEASE i386) X-Accept-Language: fr, en MIME-Version: 1.0 To: "Koster, K.J." Cc: freebsd-java@freebsd.org Subject: Re: SIGSEV with FBSD 3.1 and linux-jdk-1.2 (pre-v2) References: <59063B5B4D98D311BC0D0001FA7E4522026D75E6@l04.research.kpn.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Koster, K.J." wrote: > You will need to have linux_base 6.1 installed. I have had no reports that > older linux emu's work. > You can also find the blackdown port in /usr/ports/java/linux-jdk. You may > have to update your ports tree for this. OK, but I'll have to upgrade FreeBSD also (for linux_base 6.1). I didn't want to do it now. Thanks anyway. Loic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 13 7:18:14 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with SMTP id 9772F37BDE4 for ; Tue, 13 Jun 2000 07:18:01 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (qmail 19693 invoked by uid 1000); 13 Jun 2000 14:17:48 -0000 Date: Tue, 13 Jun 2000 16:17:48 +0200 From: Ernst de Haan To: jhopkins@rtci.com Cc: Sean Kelly , freebsd-java@freebsd.org Subject: Re: building ant under FreeBSD3.4 with JDK-1.2.2 Message-ID: <20000613161748.A19647@c187104187.telekabel.chello.nl> References: <3945098D.11565DB4@infopsyc.com> <00a601bfd48d$3ae5d000$24d39580@jpl.nasa.gov> <39451E99.5AF9F416@infopsyc.com> <20000612231248.A12233@c187104187.telekabel.chello.nl> <39463BF8.67E6679@infopsyc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39463BF8.67E6679@infopsyc.com>; from zags.news@infopsyc.com on Tue, Jun 13, 2000 at 09:49:44AM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey Jeremy, > > There is a patchset floatin around somewhere (Kees-Jan Koster (re)posted it a while ago on > > java@freebsd.org). > > I believe it is the exec patch (wait.diff). Is that the one right? Yes it is. > Any idea as to when patchset 9 will be released? Nope. That depends on Greg Lewis. He does the actual patch releases. > I'm glad i now know this is a bug in the jdk. I took the precompiled > tomcat and used that and at least got me moving again. Thanks for the > help, i'll try the "exec patch" out, and see if that fixes my other > errors. Keep up the great work fellows, and thanks again for the help. Let us know how things went okay? Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 13 8: 3:23 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id CDF0C37B94F for ; Tue, 13 Jun 2000 08:03:08 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id AAA55205; Wed, 14 Jun 2000 00:32:51 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200006131502.AAA55205@ares.trc.adelaide.edu.au> Subject: Re: building ant under FreeBSD3.4 with JDK-1.2.2 In-Reply-To: <39463BF8.67E6679@infopsyc.com> from Jeremy Hopkins at "Jun 13, 2000 09:49:44 am" To: jhopkins@rtci.com Date: Wed, 14 Jun 2000 00:32:51 +0930 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I believe it is the exec patch (wait.diff). Is that the one right? Yep. > Any idea as to when patchset 9 will be released? Soon. Just tidying up a few loose ends for it. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 14 13: 2:47 2000 Delivered-To: freebsd-java@freebsd.org Received: from shrink.infopsyc.com (shrink.infopsyc.com [208.11.244.10]) by hub.freebsd.org (Postfix) with ESMTP id 67C3437B892 for ; Wed, 14 Jun 2000 13:02:44 -0700 (PDT) (envelope-from jhopkins@infopsyc.com) Received: from infopsyc.com (zags@shrink [208.11.244.10]) by shrink.infopsyc.com (8.9.3/8.9.3) with ESMTP id QAA13828 for ; Wed, 14 Jun 2000 16:02:43 -0400 (EDT) (envelope-from jhopkins@infopsyc.com) Message-ID: <3947E4E3.9DCB6496@infopsyc.com> Date: Wed, 14 Jun 2000 16:02:43 -0400 From: Jeremy Hopkins Organization: Research Triangle Commerce, Inc. X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Re: building ant under FreeBSD3.4 with JDK-1.2.2 References: <3945098D.11565DB4@infopsyc.com> <00a601bfd48d$3ae5d000$24d39580@jpl.nasa.gov> <39451E99.5AF9F416@infopsyc.com> <20000612231248.A12233@c187104187.telekabel.chello.nl> <39463BF8.67E6679@infopsyc.com> <20000613161748.A19647@c187104187.telekabel.chello.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks everyone, I patched/rebuilt my jdk with the exec patch (wait.diff) and jakarta-ant and jakarta-tomcat both finish building now! Thanks a bunch. Everything seems to be going good so far. Jeremy Ernst de Haan wrote: > > Hey Jeremy, > > > > There is a patchset floatin around somewhere (Kees-Jan Koster (re)posted it a while ago on > > > java@freebsd.org). > > > > I believe it is the exec patch (wait.diff). Is that the one right? > > Yes it is. > > > Any idea as to when patchset 9 will be released? > > Nope. That depends on Greg Lewis. He does the actual patch releases. > > > I'm glad i now know this is a bug in the jdk. I took the precompiled > > tomcat and used that and at least got me moving again. Thanks for the > > help, i'll try the "exec patch" out, and see if that fixes my other > > errors. Keep up the great work fellows, and thanks again for the help. > > Let us know how things went okay? > > Ernst > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- *************************************************************************************** Jeremy Hopkins || Systems Administrator http://zags.infopsyc.com/ || Research Triangle Commerce, Inc. zags@infopsyc.com || http://www.rtci.com || jhopkins@rtci.com *************************************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 14 18:23:32 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 4B33837C35E for ; Wed, 14 Jun 2000 18:23:27 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA23558 for freebsd-java@freebsd.org; Thu, 15 Jun 2000 10:53:15 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200006150123.KAA23558@ares.trc.adelaide.edu.au> Subject: Alpha JDK 1.2.2 patchset 9 To: freebsd-java@freebsd.org Date: Thu, 15 Jun 2000 10:53:15 +0930 (CST) X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a new set of ALPHA source code patches for the JDK 1.2.2 source. These patches are unofficial and no abuse should be directed towards the FreeBSD java porting team for them :). This new set (patchset 9) can be gotten from http://www.eyesbeyond.com/freebsd-jdk122-patches-9.tar.gz (this message is included in the tar ball as the file ANNOUNCEMENT). Note that the latest version of the patchset can always be gotten from http://www.eyesbeyond.com/freebsd-jdk122-patches-latest.tar.gz Please read the file THANKS for a list of the large number of people who should be thanked that things have gotten this far! The following ISSUES have been addressed since patchset 8 (see the ISSUES files for more details -- note that issues fixed since patchset 5 with no adverse affects reported have been removed). Issue 5. The default font.properties file now works as per that supplied with the Linux Blackdown JDK and will remain as the default until someone provides a fully functional alternative. Note that the font.properties file contributed by Robert Swindells will remain a part of the patchset. This uses the URW fonts entirely and produces better looking results. It isn't the default for reasons best explained at the URL http://www.blackdown.org/java-linux/docs/support/faq-release/FAQ-java-linux-6.html#ss6.4 (particularly the first question). Additional problems that hadn't made it to the ISSUES list that have been addressed in this patchset: 1. Mention the dependency on zip (thanks to Jeremy Hopkins for the report). 2. More consistent compilation flags (thanks to Timo Geusch). This also results in somewhat faster compilation. 3. Fix the problem with external processes not being flagged as finished (thanks to Volker Paepcke for the report and example demonstrating the problem). 4. Fix the problem with empty directories not being removed with delete() as they should be (thanks to Ronaldo Carpio for the report and Rob Furphy for discussion and part of the fix). 5. Compilation using Display Ghostscript (dgs) is almost certainly a violation of the GPL. The default value of HAVE_DPS has been altered from yes to no while alternatives and licensing are investigated. In addition to this, some more of the released Linux JDK source code has been merged in. For more information about the port, consult Kees Jan Koster's web pages at http://web.inter.nl.net/users/kjkoster/java/index.html Please test as much as possible! -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 14 18:48:41 2000 Delivered-To: freebsd-java@freebsd.org Received: from tohokugw.tohoku.iij.ad.jp (tohokugw.tohoku.iij.ad.jp [202.232.14.98]) by hub.freebsd.org (Postfix) with ESMTP id 804DD37B59D for ; Wed, 14 Jun 2000 18:48:37 -0700 (PDT) (envelope-from taguchi@tohoku.iij.ad.jp) Received: by tohokugw.tohoku.iij.ad.jp; id KAA20216; Thu, 15 Jun 2000 10:48:35 +0900 (JST) From: Received: from hirose.tohoku.iij.ad.jp(192.168.144.2) by tohokugw.tohoku.iij.ad.jp via smap (V4.2) id xma020214; Thu, 15 Jun 00 10:48:26 +0900 Received: from hirose.tohoku.iij.ad.jp (localhost [127.0.0.1]) by hirose.tohoku.iij.ad.jp (8.9.3/3.7W99113014) with ESMTP id KAA39823 for ; Thu, 15 Jun 2000 10:48:28 +0900 (JST) Date: Thu, 15 Jun 2000 10:48:28 +0900 Message-ID: To: freebsd-java@freebsd.org Subject: Re: Alpha JDK 1.2.2 patchset 9 In-Reply-To: In your message of "Thu, 15 Jun 2000 10:53:15 +0930 (CST)" <200006150123.KAA23558@ares.trc.adelaide.edu.au> References: <200006150123.KAA23558@ares.trc.adelaide.edu.au> User-Agent: Wanderlust/2.2.12 (Joyride) EMIKO/1.13.9 (Euglena tripteris) FLIM/1.13.2 (Kasanui) Emacs/20.6 (i386--freebsd) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by EMIKO 1.13.9 - "Euglena tripteris") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > 5. Compilation using Display Ghostscript (dgs) is almost certainly a > violation of the GPL. The default value of HAVE_DPS has been altered > from yes to no while alternatives and licensing are investigated. Does anyone already reported DPS package included XFree86-4.0 ? It's work. This package in NOT under GPL. It's under Adobe's BSD like Licence. Cool! > adobe ;-) But its error handler's prototype is different from GNU dgs. So we must make some patches. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 14 19:11:21 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 854A937B905 for ; Wed, 14 Jun 2000 19:11:14 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id LAA24629; Thu, 15 Jun 2000 11:41:01 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200006150211.LAA24629@ares.trc.adelaide.edu.au> Subject: Re: Alpha JDK 1.2.2 patchset 9 In-Reply-To: from "taguchi@tohoku.iij.ad.jp" at "Jun 15, 2000 10:48:28 am" To: taguchi@tohoku.iij.ad.jp Date: Thu, 15 Jun 2000 11:41:01 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org taguchi@tohoku.iij.ad.jp wrote: > Hi, > > > 5. Compilation using Display Ghostscript (dgs) is almost certainly a > > violation of the GPL. The default value of HAVE_DPS has been altered > > from yes to no while alternatives and licensing are investigated. > > Does anyone already reported DPS package included XFree86-4.0 ? > It's work. > This package in NOT under GPL. > It's under Adobe's BSD like Licence. Cool! > adobe ;-) Argh! I write an FAQ and already it needs changing ;). Clearly I need to put it on a web page (or maybe we can put some more JDK 1.2.2 pages at the FreeBSD Java web site - Patrick?). But seriously, arigato Taguchi-san! I am still using XFree86 3.3.3.1, so maybe it is time to upgrade so I can try this out :). > But its error handler's prototype is different from GNU dgs. > So we must make some patches. Ok. I will look into it when I move to XFree86 4.0. I am a little nervous about doing that on the work server with the security problems I've noticed in the XFree86 4.0 port commit messages, so maybe I will just do this at home. Or maybe someone will beat me to it and send some patches ;). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 15 14:37:34 2000 Delivered-To: freebsd-java@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 2F2FB37B5D8 for ; Thu, 15 Jun 2000 14:37:31 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 15 Jun 2000 22:37:27 +0100 Received: from localhost (cmjg@localhost) by mail.ilrt.bris.ac.uk (8.8.7/8.8.8) with ESMTP id WAA25509; Thu, 15 Jun 2000 22:37:26 +0100 (BST) Date: Thu, 15 Jun 2000 22:37:26 +0100 (BST) From: Jan Grant To: java@freebsd.org Subject: Tomcat query Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm posting this here first because of the generally friendly bunch of folks who hang out here :-) I've built the mod_jserv.c that comes with the Tomcat source into Apache. This works. I've also got Tomcat working. Now, in httpd.conf I can do: ApJServMount /mntpoint /zonename and in Tomcat's server.xml, have an entry that reads: And, sure enough, apache will direct accesses to http://localhost/mntpoint/servlet1 to the appropriate servlet as defined in /home/jan/servlet/WEB-INF/web.xml Note, however, this doesn't appear to work if I use path="/zonename" But I'm certain that that is not what should be happening: because the /zonename entry in the ApJServMount line appears to be completely ignored. In other words, if I want to move the web application instance from http://localhost/mntpoint to http://localhost/other then I need to change _both_ the httpd.conf entry for Apache (as I'd expected) _and_ the server.xml file (which I don't think I ought to have to do). Is the zonename information used at all? Have I got the wrong end of the stick or is this a tomcat/jserv bug that I should dive into the source to fix? Thanks in advance - jan PS. This is with patchset 8 currently; however, patchset 9 seems to be pretty good on the machine I tested it on. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk perl -e 's?ck?t??print:perl==pants if $_="Just Another Perl Hacker\n"' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 16 5:57:32 2000 Delivered-To: freebsd-java@freebsd.org Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39]) by hub.freebsd.org (Postfix) with ESMTP id AE8F337BF05 for ; Fri, 16 Jun 2000 05:57:18 -0700 (PDT) (envelope-from cliff@olive.co.uk) Received: from grimwade.demon.co.uk ([194.222.1.157] helo=olive.co.uk) by finch-post-11.mail.demon.net with smtp (Exim 2.12 #1) id 132vgQ-000Byr-0B for freebsd-java@freebsd.org; Fri, 16 Jun 2000 12:57:15 +0000 Received: from olive.co.uk (merlin.osl.co.uk [192.168.1.19]) by olive.co.uk (SMI-8.6/v3.2) with ESMTP id MAA24655 for ; Fri, 16 Jun 2000 12:57:27 GMT Message-ID: <394A24C8.24697B1B@olive.co.uk> Date: Fri, 16 Jun 2000 13:59:52 +0100 From: Cliff Rowley Organization: Olive Systems LTD X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Odd request Content-Type: multipart/mixed; boundary="------------664245258A9DF47374932055" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------664245258A9DF47374932055 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Perhaps an odd request, but could someone help me with a Makefile for compiling a java project? As it stands, I'm using a shell script to do it for me, but it means we have to clean every time to ensure dependencies are built. I'm not too hot with makefiles (yet), and this one isn't that straight forward, since 2 of the classes auto generate some of the other classes. I've attached the current script. Basically this is the chain of events that needs to happen: 1. The 2 code generation classes need to be compiled (WopFileCreate.java and WopFileData.java). 2. 'java WopFileCreate > .p42i.properties' must be run to produce the output files and the properties file. 3. The rest of the .java files need to be compiled. Seems quite simple I guess, but I cant get it going at all. Many thanks. -- Cliff Rowley Software Engineer Olive Systems LTD http://www.olive.co.uk --------------664245258A9DF47374932055 Content-Type: text/plain; charset=us-ascii; name="make" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="make" #!/bin/sh # # Modified make utility # # Arguments: # ./make [ clean then make everything ] # ./make clean [ clean ] # ./make runv [ run system against Vax ] # ./make runt [ run system against transact ] if [ "x$1" = "xclean" ]; then echo Cleaning... rm *.class rm WopCcpdoc.java WopCcpdocSql.java WopCcpdocVax.java WopEvrEvent.java WopEvrEventSql.java WopEvrEventVax.java WopMemdoc.java WopMemdocSql.java WopMemdocVax.java WopMemfmy.java WopMemfmySql.java WopMemfmyVax.java WopMemmst.java WopMemmstSql.java WopMemmstVax.java elif [ "x$1" = "xrunv" ]; then echo Running against Vax java -Djava.compiler=none WopMain Vax elif [ "x$1" = "xrunt" ]; then echo Running against Transact java -Djava.compiler=none WopMain Transact elif [ "x$1" = "x" ]; then echo Building... START=`date` `$0 clean` echo Compiling exception classes... javac *Exception*.java echo Compiling code generation classes... javac WopFileCreate.java javac WopFileData.java echo Auto generating classes... java WopFileCreate > .p42i.properties echo Compiling auto generated classes... javac *.java END=`date` echo echo Build started $START echo Build finished $END echo else echo Invalid argument: $1 exit 1; fi --------------664245258A9DF47374932055-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 16 6:11:12 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with SMTP id B86BA37BE66 for ; Fri, 16 Jun 2000 06:11:00 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (qmail 39893 invoked by uid 1000); 16 Jun 2000 13:10:54 -0000 Date: Fri, 16 Jun 2000 15:10:54 +0200 From: Ernst de Haan To: Cliff Rowley Cc: freebsd-java@freebsd.org Subject: Re: Odd request Message-ID: <20000616151054.A39818@c187104187.telekabel.chello.nl> References: <394A24C8.24697B1B@olive.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <394A24C8.24697B1B@olive.co.uk>; from cliff@olive.co.uk on Fri, Jun 16, 2000 at 01:59:52PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Cliff, Try ant. It is easier than makefiles, and specifically designed for Java projects. It works as follows: Instead of a Makefile, you write an XML file that describes targets, you usually call this file build.xml. The targets typically similar to the following: For a complete example see: * Orion Primer http://www.orionserver.com/ Ant is an Apache project. * Ant Homepage http://jakarta.apache.org/ant/ Good luck, and let me know if you run into trouble. Note that you should use patchset 9 (not 8 or before) with Ant. And the Linux JDK is known to cause trouble with Ant at times (creating directories with special symbols in it). Ernst Cliff Rowley wrote: > Perhaps an odd request, but could someone help me with a Makefile for > compiling a java project? As it stands, I'm using a shell script to do > it for me, but it means we have to clean every time to ensure > dependencies are built. I'm not too hot with makefiles (yet), and this > one isn't that straight forward, since 2 of the classes auto generate > some of the other classes. > > I've attached the current script. > > Basically this is the chain of events that needs to happen: > > 1. The 2 code generation classes need to be compiled > (WopFileCreate.java and WopFileData.java). > > 2. 'java WopFileCreate > .p42i.properties' must be run to produce the > output files and the properties file. > > 3. The rest of the .java files need to be compiled. > > Seems quite simple I guess, but I cant get it going at all. > > Many thanks. > -- > Cliff Rowley > Software Engineer > Olive Systems LTD > http://www.olive.co.uk > #!/bin/sh > # > # Modified make utility > # > # Arguments: > # ./make [ clean then make everything ] > # ./make clean [ clean ] > # ./make runv [ run system against Vax ] > # ./make runt [ run system against transact ] > > if [ "x$1" = "xclean" ]; then > echo Cleaning... > rm *.class > rm WopCcpdoc.java WopCcpdocSql.java WopCcpdocVax.java WopEvrEvent.java WopEvrEventSql.java WopEvrEventVax.java WopMemdoc.java WopMemdocSql.java WopMemdocVax.java WopMemfmy.java WopMemfmySql.java WopMemfmyVax.java WopMemmst.java WopMemmstSql.java WopMemmstVax.java > elif [ "x$1" = "xrunv" ]; then > echo Running against Vax > java -Djava.compiler=none WopMain Vax > elif [ "x$1" = "xrunt" ]; then > echo Running against Transact > java -Djava.compiler=none WopMain Transact > elif [ "x$1" = "x" ]; then > echo Building... > START=`date` > > `$0 clean` > > echo Compiling exception classes... > javac *Exception*.java > > echo Compiling code generation classes... > javac WopFileCreate.java > javac WopFileData.java > > echo Auto generating classes... > java WopFileCreate > .p42i.properties > > echo Compiling auto generated classes... > javac *.java > > END=`date` > > echo > echo Build started $START > echo Build finished $END > echo > else > echo Invalid argument: $1 > exit 1; > fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 16 6:28:54 2000 Delivered-To: freebsd-java@freebsd.org Received: from dnvrpop2.dnvr.uswest.net (dnvrpop2.dnvr.uswest.net [206.196.128.4]) by hub.freebsd.org (Postfix) with SMTP id D1EA237BED5 for ; Fri, 16 Jun 2000 06:28:45 -0700 (PDT) (envelope-from wolpert@methodsystems.com) Received: (qmail 60669 invoked by alias); 16 Jun 2000 13:28:40 -0000 Delivered-To: fixup-freebsd-java@FreeBSD.ORG@fixme Received: (qmail 60658 invoked by uid 0); 16 Jun 2000 13:28:40 -0000 Received: from unknown (HELO osti.methodsystems.com) (63.227.49.195) by dnvrpop2.dnvr.uswest.net with SMTP; 16 Jun 2000 13:28:40 -0000 Content-Length: 1117 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 16 Jun 2000 07:28:40 -0600 (MDT) From: Edward Wolpert To: freebsd-java@FreeBSD.ORG Subject: ejboss, java 1.2.2p9 install crashes Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Folks- I've downloaded ejboss (www.ejboss.org) EJB server and the spyderMQ JMS system as well. The installer uses installAnywhere. The EJBServer installed correctly (Haven't run it yet) but the spyderMQ crashes out. (Well.. almost) It starts an exception stack, and just hangs. Also, the startup 'gif' stays on the window... the output is this: bash-2.03$ java -cp sypdermqinstall.zip install java in free(): warning: chunk is already free. Exception in thread "main" And it just stops there. I built the JDK using patch 9, on FBSD4.0. Virtually, | "I'm sorry, but Godot isn't Edward Wolpert | here right now. Perhaps if 4eb8 4e75 | you came back tomorrow..." ___________________________________________/ -SB -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQB1AwUBOUoriK2tQW/xJRRFAQEijQMAoeqOIWrmLziPz4n6QHRIaKRuzWoPY5nM +xWPu5QyNvgYx10cGBUwpwYspgizMVkXukkxp+8xy19bzIbnxXjR7dcgfgso8Wrn m3CcFa3ksTW/1R4ugTLiRRNInPSMF1yk =yiGO -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 16 7: 6:59 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 92E3937BEDC for ; Fri, 16 Jun 2000 07:06:56 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JQODAJO0SM0004KP@research.kpn.com> for freebsd-java@FreeBSD.ORG; Fri, 16 Jun 2000 16:06:24 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Fri, 16 Jun 2000 16:05:59 +0100 Content-return: allowed Date: Fri, 16 Jun 2000 16:05:58 +0100 From: "Koster, K.J." Subject: RE: ejboss, java 1.2.2p9 install crashes To: 'Edward Wolpert' Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7665@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > bash-2.03$ java -cp sypdermqinstall.zip install > java in free(): warning: chunk is already free. > Exception in thread "main" > > And it just stops there. I built the JDK using patch 9, on > FBSD4.0. > Hmm. Not much to go by. Check the ZIP file format. If it is correct, could you perhaps have a little looksee in the malloc man page and enable pedantic memory checking for me? Then, rerun the installation, perhaps adding -verbose to the Java command line. Finally, while it hangs, kill it to get a core dump and use gdb to get a backtrace. If we can't find the problem with this kind of ammo, I'm going back to school. :-) Kees Jan ============================================== Everyone is responsible for his own actions, and (people tend to forget this) the effect they have on others. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 16 13:11:27 2000 Delivered-To: freebsd-java@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 530EC37B580 for ; Fri, 16 Jun 2000 13:11:24 -0700 (PDT) (envelope-from kleine@ak.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id WAA06334 for java@freebsd.org; Fri, 16 Jun 2000 22:11:22 +0200 (CEST) Received: (from kleine@localhost) by ak.sax.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id WAA00263 for java@freebsd.org; Fri, 16 Jun 2000 22:16:14 +0200 From: Albrecht Kleine Message-Id: <200006162016.WAA00263@ak.sax.de> Subject: TYA1.7v2 released To: java@freebsd.org Date: Fri, 16 Jun 2000 22:16:14 +0200 (MEST) X-Mailer: ELM [version 2.4ME+ PL60 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, the subject says it all: there's a new release of TYA JIT (tya17v2.tgz) available. http://sax.sax.de/~adlibit/index.html http://sax.sax.de/~adlibit/tya17v2.tgz (If you have pointing links to TYA at your site please update this, because older TYA home page @gonzales.cyberus.ca is down since months.) TYA1.7v2 is a bug fix release inspired by some bug reports Joseph K Shraibman jks at akula.com has sent to me. - Thank you very much. Also invoking methods is 10% faster. BTW also @sax.sax.de you'll find one of the best size-optimized new assembler written editors using WordStar(tm)-like key bindings. Code size below 5000 byte only. http://sax.sax.de/~adlibit/e3-0.6.tar.gz (I've written for all day purpose and for rescue disks.) Both software is written for Linux and FreeBSD, but e3 editor also supports the nice BeOS(tm) releases 4.5 and 5-PE. Unfortunately it seems there's no JDK on BeOS, so there's no TYA on BeOS. Cheers, Albrecht To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 16 13:31:50 2000 Delivered-To: freebsd-java@freebsd.org Received: from lodge.guild.ab.ca (lodge.guild.ab.ca [209.91.118.66]) by hub.freebsd.org (Postfix) with ESMTP id 31F9837B534 for ; Fri, 16 Jun 2000 13:31:47 -0700 (PDT) (envelope-from davidc@lodge.guild.ab.ca) Received: (from davidc@localhost) by lodge.guild.ab.ca (8.9.3/8.9.3) id OAA41777 for freebsd-java@freebsd.org; Fri, 16 Jun 2000 14:31:41 -0600 (MDT) (envelope-from davidc) Date: Fri, 16 Jun 2000 14:31:41 -0600 From: Chad David To: freebsd-java@freebsd.org Subject: Is this possible... Message-ID: <20000616143141.A41759@lodge.guild.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Does anybody out there have any ideas about how one might determine the class type of the caller of a static method from within the static method? That is: class A { public void a() { B.method(); } } class B { public static void method() { String caller = null; caller = ... the magic ... System.out.println("called by caller : " + caller); } } And the println returns A, or A.a(). The only way I can think of doing it is: new Exception("").printStackTrace(myPrintStream); and parse the results... which is an ugly hack that I have zero confidence will work across JVMs, and this is not a fast as I would like. (I have a semi-working example of this if anybody cares). Any takers? Thanks Chad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 16 15:49: 7 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with SMTP id 5654537BB71 for ; Fri, 16 Jun 2000 15:49:03 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (qmail 43619 invoked by uid 1000); 16 Jun 2000 22:49:03 -0000 Date: Sat, 17 Jun 2000 00:49:03 +0200 From: Ernst de Haan To: Chad David Cc: freebsd-java@freebsd.org Subject: Re: Is this possible... Message-ID: <20000617004903.B43577@c187104187.telekabel.chello.nl> References: <20000616143141.A41759@lodge.guild.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000616143141.A41759@lodge.guild.ab.ca>; from davidc@lodge.guild.ab.ca on Fri, Jun 16, 2000 at 02:31:41PM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Chad, I recall the getBundle() in class java.util.ResourceBundle uses a native method to get the caller from the Java stack. And I assume the new privileged sections in JDK 1.3 use a similar approach. Perhaps you can get your fingers under one of those. Another thing: The log4j project used stack trace parsing in earlier version (0.8.3 or so), I remember that someone suggested removing this functionality, but at least you may find some more info on how to do that, and on the pitfalls. Because there are. The log4j project is at http://www.log4j.org. Sorry I don't know the details, but perhaps it will get you started. Ernst Chad David wrote: > > Does anybody out there have any ideas about how > one might determine the class type of the caller > of a static method from within the static method? > > That is: > > class A { > public void a() { > B.method(); > } > } > > class B { > public static void method() { > String caller = null; > > caller = ... the magic ... > > System.out.println("called by caller : " + caller); > } > } > > > And the println returns A, or A.a(). > > The only way I can think of doing it is: > > new Exception("").printStackTrace(myPrintStream); > > and parse the results... which is an ugly hack that I have > zero confidence will work across JVMs, and this is not > a fast as I would like. (I have a semi-working example > of this if anybody cares). > > Any takers? > > > Thanks > > Chad > > > 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 Fri Jun 16 16:31:47 2000 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id 92D2637B722 for ; Fri, 16 Jun 2000 16:31:41 -0700 (PDT) (envelope-from shevlandj@kpi.com.au) Received: from kpi.com.au (www.kpi.com.au [203.39.132.210]) by www.kpi.com.au (8.9.3/8.9.3) with ESMTP id JAA89542 for ; Sat, 17 Jun 2000 09:31:56 +1000 (EST) (envelope-from shevlandj@kpi.com.au) Message-ID: <394AB900.65EB7FC8@kpi.com.au> Date: Sat, 17 Jun 2000 09:32:16 +1000 From: Joe Shevland Organization: KPI Logistics Pty Ltd X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Cc: freebsd-java@FreeBSD.ORG Subject: Re: ejboss, java 1.2.2p9 install crashes References: <59063B5B4D98D311BC0D0001FA7E4522026D7665@l04.research.kpn.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I know its not much help, but I had jBoss 2.0 up and running under 3.4-STABLE and patchset 8, and didn't encounter that problem. Joe "Koster, K.J." wrote: > > > > > bash-2.03$ java -cp sypdermqinstall.zip install > > java in free(): warning: chunk is already free. > > Exception in thread "main" > > > > And it just stops there. I built the JDK using patch 9, on > > FBSD4.0. > > > Hmm. Not much to go by. > > Check the ZIP file format. > > If it is correct, could you perhaps have a little looksee in the malloc man > page and enable pedantic memory checking for me? > > Then, rerun the installation, perhaps adding -verbose to the Java command > line. > > Finally, while it hangs, kill it to get a core dump and use gdb to get a > backtrace. > > If we can't find the problem with this kind of ammo, I'm going back to > school. :-) > > Kees Jan > > ============================================== > Everyone is responsible for his own actions, > and (people tend to forget this) the effect > they have on others. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Joe Shevland Principal Consultant KPI Logistics Pty Ltd http://www.kpi.com.au mailto:shevlandj@kpi.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 16 16:42:58 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with SMTP id B619337BC36 for ; Fri, 16 Jun 2000 16:42:50 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (qmail 18878 invoked by uid 1000); 16 Jun 2000 23:42:49 -0000 Date: Sat, 17 Jun 2000 01:42:49 +0200 From: Ernst de Haan To: freebsd-java@freebsd.org Subject: checkports.sh Message-ID: <20000617014249.A76184@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Here's a very small script that checks the existence of the ports needed by the FreeBSD JDK port (alpha patchset 9) as per Kees Jan Koster's page on: * http://web.inter.nl.net/users/kjkoster/java/ This should make things about 1% easier :) Perhaps we can write a whole bunch of scripts or even a ports-like Makefile that will do this the right way. Ernst --AhhlLboLdkugWU4S Content-Type: application/x-sh Content-Disposition: attachment; filename="checkports.sh" #!/bin/sh #----------------------------------------------------------------------------- # Script that checks that all ports needed by the FreeBSD JDK port are # installed # # Author: Ernst de Haan (ernst@jollem.com) # checkPort ( ) { echo -n ">> ${friendly_name}..." # found=`pkg_info | grep ${pkg_name}` # if [ -z "${found}" ] if ! `pkg_info -e ${pkg_name}` then echo " [ FAILED ]" echo "This port can be found in /usr/ports/${port_loc}" else echo " [ DONE ]" fi } echo "--- Checking availability of required ports ---" friendly_name="LessTif (0.90.0)" pkg_name="lesstif-0.90.0" port_loc="x11-toolkits/lesstif" checkPort friendly_name="GNU make (3.79)" pkg_name="gmake-3.79" port_loc="devel/gmake/" checkPort friendly_name="GNU m4 (1.4)" pkg_name="m4-1.4" port_loc="devel/m4" checkPort friendly_name="Display GhostScript (0.5.9)" pkg_name="dgs-0.5.9" port_loc="x11/dgs" checkPort friendly_name="ODBC for UNIX (1.8.8)" pkg_name="unixODBC-1.8.8" port_loc="databases/unixODBC" checkPort friendly_name="Java Development Kit (1.1.8)" pkg_name="jdk-1.1.8" port_loc="java/jdk" checkPort friendly_name="Swing (1.1.1)" pkg_name="swing-1.1.1" port_loc="java/jfc" checkPort friendly_name="Blackdown Linux JDK (1.2.2)" pkg_name="linux-jdk-1.2.2" port_loc="java/linux-jdk" checkPort friendly_name="ZIP (2.3)" pkg_name="zip-2.3" port_loc="archivers/zip" checkPort --AhhlLboLdkugWU4S-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message