From owner-freebsd-eclipse@FreeBSD.ORG Sun Mar 18 18:03:24 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DF7A1065670 for ; Sun, 18 Mar 2012 18:03:24 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 619618FC0C for ; Sun, 18 Mar 2012 18:03:24 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so846367pbc.13 for ; Sun, 18 Mar 2012 11:03:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:x-operating-system:organization :x-living-the-dream:x-pgp-fingerprint:x-pgp-key:user-agent :x-gm-message-state; bh=0T4d60w6lYXWwqgwTCNaMVMk3shQuUXDnbzYy8O9ISY=; b=lWgk7TtWccLpewhLNdX9MFAz/E+WyVqFk5M3EixiXIHGPAleKEpUfz42aiGlG0MBuu opVu+QfgQHthFA7gUMmjIikm4ReTPAGHvMi/eIHQ/koz+3UyKMj84V2LoeeF2N7gx8eE nK4ZACHOiz6bIvUzzk3YtjBwNmCy5zjiJuzIgwYUTA5OLC0iO138iTlcPfJaBGWCTLuw aiNxmlSuts0hKK7eLBjnaV2KjOys9/a4ZiP3chN7+EzWfwRTphCkrmI//6iUmz9yv7U8 LHKkrNTWvTKO0Y+oZAgRDbvUh5S7tarM/Go6j0ycoQ685TEG4ZNgSB0fjW9LdXuNFn9v 9gYA== Received: by 10.68.135.38 with SMTP id pp6mr32756650pbb.82.1332093797968; Sun, 18 Mar 2012 11:03:17 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id s1sm9360808pbs.21.2012.03.18.11.03.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 18 Mar 2012 11:03:16 -0700 (PDT) Sender: Jason Helfman Date: Sun, 18 Mar 2012 11:02:25 -0700 From: Jason Helfman To: freebsd-java@freebsd.org Message-ID: <20120318180225.GA51618@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bAmEntskrkuBymla" Content-Disposition: inline X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQlmS/zmTR0gm4FxEBGrdf5t3m8T1o/OOLBWCczsFnmMFf5rmma73spS9qOm60HwEaSE1k0q Cc: java@freebsd.org, freebsd-eclipse@FreeBSD.org Subject: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 18:03:24 -0000 --bAmEntskrkuBymla Content-Type: multipart/mixed; boundary="jho1yZJdad60DJr+" Content-Disposition: inline --jho1yZJdad60DJr+ Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello All, I was looking through this pr: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/151923 And saw the final idea was to just build icedtea. I found one of the build requirements to be the the Eclipse Java Compiler, but didn't find this in the tree. I've used the ecj.jar for sometime now compiling outside of the Eclipse environment, and thought it would be a good idea to get this into the tree, if it isn't already there. I didn't see the compiler in the tree, and thought it could help in getting a final solution together for not just this pr, but I believe it would move along some other efforts, as well. If this does nothing at all, I would hope it just provides the bare minimum compiler. Attached is the shell archive of Eclipse Java Compiler. If there are no objections I was going to put this into the tree this week. Thanks, Jason --=20 Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh --jho1yZJdad60DJr+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ecj.txt" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # eclipse-ecj # eclipse-ecj/distinfo # eclipse-ecj/pkg-descr # eclipse-ecj/Makefile # echo c - eclipse-ecj mkdir -p eclipse-ecj > /dev/null 2>&1 echo x - eclipse-ecj/distinfo sed 's/^X//' >eclipse-ecj/distinfo << '27ed093420439a3d65d596e0d66970e8' XSHA256 (ecjsrc-3.7.2.jar) = 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b XSIZE (ecjsrc-3.7.2.jar) = 1366333 27ed093420439a3d65d596e0d66970e8 echo x - eclipse-ecj/pkg-descr sed 's/^X//' >eclipse-ecj/pkg-descr << '5e63e2bc465f52087a5812903c8d3088' XAn incremental Java compiler. Implemented as an Eclipse builder, it is based on Xtechnology evolved from VisualAge for Java compiler. In particular, it allows to Xrun and debug code which still contains unresolved errors. X XWWW: http://www.eclipse.org/ 5e63e2bc465f52087a5812903c8d3088 echo x - eclipse-ecj/Makefile sed 's/^X//' >eclipse-ecj/Makefile << '49fe9533f9d01977b527412915f89826' X# New ports collection: eclipse-ecj X# Date created: 17 March 2012 X# Whom: Jason Helfman X# X# $FreeBSD$ X XPORTNAME= ecj XPORTVERSION= 3.7.2 XCATEGORIES= java devel XMASTER_SITES= ECLIPSE XMASTER_SITE_SUBDIR= R-${PORTVERSION}-${DROPDATE} XPKGNAMEPREFIX= eclipse- XDISTNAME= ecjsrc-${PORTVERSION} XEXTRACT_SUFX= .jar X XMAINTAINER= jgh@FreeBSD.org XCOMMENT= Eclipse Java Compiler X XLICENSE= EPL X XEXTRACT_CMD= ${TAR} XEXTRACT_BEFORE_ARGS= xf XEXTRACT_AFTER_ARGS= -C ${WRKDIR} X XUSE_ANT= yes XUSE_JAVA= yes XBUILD_WRKSRC= ${WRKDIR} X XDROPDATE= 201202080800 XPLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar X Xdo-install: X ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar X X.include 49fe9533f9d01977b527412915f89826 exit --jho1yZJdad60DJr+-- --bAmEntskrkuBymla Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iF4EAREIAAYFAk9mIzEACgkQXpKtZoyM+6VbzAD/Vb4YMbsnlzSdpsZafWaqogl9 42BtE+V55mYs7a8V3rQA/A6G1OVJWbZl/GHUzixKuqPEA/Lx9Yh+UYsC35ZqsjLH =PAnf -----END PGP SIGNATURE----- --bAmEntskrkuBymla-- From owner-freebsd-eclipse@FreeBSD.ORG Mon Mar 19 11:06:56 2012 Return-Path: Delivered-To: eclipse@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 947F91065677 for ; Mon, 19 Mar 2012 11:06:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 667948FC14 for ; Mon, 19 Mar 2012 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2JB6uUX033409 for ; Mon, 19 Mar 2012 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2JB6tgQ033406 for eclipse@FreeBSD.org; Mon, 19 Mar 2012 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Mar 2012 11:06:55 GMT Message-Id: <201203191106.q2JB6tgQ033406@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: eclipse@FreeBSD.org Cc: Subject: Current problem reports assigned to eclipse@FreeBSD.org X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 11:06:56 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/160022 eclipse release port: java/eclipse-cdt 1 problem total. From owner-freebsd-eclipse@FreeBSD.ORG Mon Mar 19 11:07:07 2012 Return-Path: Delivered-To: freebsd-eclipse@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 323561065673 for ; Mon, 19 Mar 2012 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C1EC8FC1C for ; Mon, 19 Mar 2012 11:07:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2JB76mU033526 for ; Mon, 19 Mar 2012 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2JB76hZ033524 for freebsd-eclipse@FreeBSD.org; Mon, 19 Mar 2012 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Mar 2012 11:07:06 GMT Message-Id: <201203191107.q2JB76hZ033524@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-eclipse@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-eclipse@FreeBSD.org X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 11:07:07 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/163720 eclipse java/eclipse doesn't build o ports/157600 eclipse java/eclipse: option WITH_TESTS missing distinfo entry o ports/149513 eclipse java/eclipse can not compile with 'WITH_TESTS=true' 3 problems total. From owner-freebsd-eclipse@FreeBSD.ORG Mon Mar 19 15:57:59 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E93A6106564A; Mon, 19 Mar 2012 15:57:59 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id B28A68FC22; Mon, 19 Mar 2012 15:57:59 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id q2JFvqlO078300; Mon, 19 Mar 2012 08:57:52 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id q2JFvqxt078299; Mon, 19 Mar 2012 08:57:52 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 19 Mar 2012 08:57:52 -0700 From: Greg Lewis To: Jason Helfman Message-ID: <20120319155752.GA78240@misty.eyesbeyond.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120318180225.GA51618@dormouse.experts-exchange.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-eclipse@freebsd.org, freebsd-java@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 15:58:00 -0000 G'day Jason, On Sun, Mar 18, 2012 at 11:02:25AM -0700, Jason Helfman wrote: > Hello All, > > I was looking through this pr: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/151923 > > And saw the final idea was to just build icedtea. I found one of the build > requirements to be the the Eclipse Java Compiler, but didn't find this in > the tree. > > I've used the ecj.jar for sometime now compiling outside of the Eclipse > environment, and thought it would be a good idea to get this into the tree, > if it isn't already there. > > I didn't see the compiler in the tree, and thought it could help in getting > a final solution together for not just this pr, but I believe it would move > along some other efforts, as well. > > If this does nothing at all, I would hope it just provides the bare minimum > compiler. > > Attached is the shell archive of Eclipse Java Compiler. If there are no > objections I was going to put this into the tree this week. I'd like to see ECJ in the ports tree. One question on the port. It looks like it only installs ecj.jar. Wouldn't it also be useful to install a script to run it? I can certainly manually type 'java -jar /usr/local/share/java/classes/ecj.jar -classpath rt.jar Foo.java', but it would be simpler if there was an ecj script that maybe just let me do 'ecj Foo.java'. Is there a good reason not to write such a script? > # This is a shell archive. Save it in a file, remove anything before > # this line, and then unpack it by entering "sh file". Note, it may > # create directories; files and directories will be owned by you and > # have default permissions. > # > # This archive contains: > # > # eclipse-ecj > # eclipse-ecj/distinfo > # eclipse-ecj/pkg-descr > # eclipse-ecj/Makefile > # > echo c - eclipse-ecj > mkdir -p eclipse-ecj > /dev/null 2>&1 > echo x - eclipse-ecj/distinfo > sed 's/^X//' >eclipse-ecj/distinfo << '27ed093420439a3d65d596e0d66970e8' > XSHA256 (ecjsrc-3.7.2.jar) = 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b > XSIZE (ecjsrc-3.7.2.jar) = 1366333 > 27ed093420439a3d65d596e0d66970e8 > echo x - eclipse-ecj/pkg-descr > sed 's/^X//' >eclipse-ecj/pkg-descr << '5e63e2bc465f52087a5812903c8d3088' > XAn incremental Java compiler. Implemented as an Eclipse builder, it is based on > Xtechnology evolved from VisualAge for Java compiler. In particular, it allows to > Xrun and debug code which still contains unresolved errors. > X > XWWW: http://www.eclipse.org/ > 5e63e2bc465f52087a5812903c8d3088 > echo x - eclipse-ecj/Makefile > sed 's/^X//' >eclipse-ecj/Makefile << '49fe9533f9d01977b527412915f89826' > X# New ports collection: eclipse-ecj > X# Date created: 17 March 2012 > X# Whom: Jason Helfman > X# > X# $FreeBSD$ > X > XPORTNAME= ecj > XPORTVERSION= 3.7.2 > XCATEGORIES= java devel > XMASTER_SITES= ECLIPSE > XMASTER_SITE_SUBDIR= R-${PORTVERSION}-${DROPDATE} > XPKGNAMEPREFIX= eclipse- > XDISTNAME= ecjsrc-${PORTVERSION} > XEXTRACT_SUFX= .jar > X > XMAINTAINER= jgh@FreeBSD.org > XCOMMENT= Eclipse Java Compiler > X > XLICENSE= EPL > X > XEXTRACT_CMD= ${TAR} > XEXTRACT_BEFORE_ARGS= xf > XEXTRACT_AFTER_ARGS= -C ${WRKDIR} > X > XUSE_ANT= yes > XUSE_JAVA= yes > XBUILD_WRKSRC= ${WRKDIR} > X > XDROPDATE= 201202080800 > XPLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar > X > Xdo-install: > X ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar > X > X.include > 49fe9533f9d01977b527412915f89826 > exit > -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-eclipse@FreeBSD.ORG Mon Mar 19 19:32:45 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38F8B106566C for ; Mon, 19 Mar 2012 19:32:45 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id E59878FC15 for ; Mon, 19 Mar 2012 19:32:44 +0000 (UTC) Received: by dald2 with SMTP id d2so11165164dal.13 for ; Mon, 19 Mar 2012 12:32:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=1KM5JCc2XmPwlTIvQDnmXfwf2YEABPuBJV6f/c8T0eU=; b=Apb0HrD2IGz9fZze6e8wJKodSoluKe8uuE78JePA34+hUEolwvHwwzmJ0WptQXOIf7 4Cqj+K3XhL+d2RIP+QRDba7ahkmZtLoeN0+V0PD0+8F/PTTq2tMbXiN40sEG/b5URuUA YGgRTdRJGULYbAZdl+hGgMVxG/0FpB/OGqnGScblNVzKxjXDJXIExIHCZWwzS09oQA4i 1jD3hl9nRpkU59FG7QjbrIMERZCjdVhoFOeNM5Q3Ay8aPKMxY8p7gua+DY7fdsEq6d7Y ce3c+WKZ8gaqPv9FPjk1b2aVlasGfCFjb7pQcP6+PHSJWD0s2K5FToxKvrq6c0aXkgsQ fetg== Received: by 10.68.72.138 with SMTP id d10mr40835016pbv.15.1332185564354; Mon, 19 Mar 2012 12:32:44 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id 3sm9038675pbf.47.2012.03.19.12.32.42 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Mar 2012 12:32:43 -0700 (PDT) Sender: Jason Helfman Date: Mon, 19 Mar 2012 12:31:52 -0700 From: Jason Helfman To: Greg Lewis Message-ID: <20120319193152.GD46825@dormouse.experts-exchange.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <20120319155752.GA78240@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20120319155752.GA78240@misty.eyesbeyond.com> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQnr0WCDIv1dhf5zaZjvVUT0DPZ76kz0NY6lB59va66otkG8FY8ycr/rB+nQ0MuMuq/DM1+z Cc: freebsd-eclipse@freebsd.org, freebsd-java@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 19:32:45 -0000 On Mon, Mar 19, 2012 at 08:57:52AM -0700, Greg Lewis thus spake: >G'day Jason, > >On Sun, Mar 18, 2012 at 11:02:25AM -0700, Jason Helfman wrote: >> Hello All, >> >> I was looking through this pr: >> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/151923 >> >> And saw the final idea was to just build icedtea. I found one of the build >> requirements to be the the Eclipse Java Compiler, but didn't find this in >> the tree. >> >> I've used the ecj.jar for sometime now compiling outside of the Eclipse >> environment, and thought it would be a good idea to get this into the tree, >> if it isn't already there. >> >> I didn't see the compiler in the tree, and thought it could help in getting >> a final solution together for not just this pr, but I believe it would move >> along some other efforts, as well. >> >> If this does nothing at all, I would hope it just provides the bare minimum >> compiler. >> >> Attached is the shell archive of Eclipse Java Compiler. If there are no >> objections I was going to put this into the tree this week. > >I'd like to see ECJ in the ports tree. > >One question on the port. It looks like it only installs ecj.jar. >Wouldn't it also be useful to install a script to run it? I can certainly >manually type 'java -jar /usr/local/share/java/classes/ecj.jar -classpath >rt.jar Foo.java', but it would be simpler if there was an ecj script that >maybe just let me do 'ecj Foo.java'. Is there a good reason not to write >such a script? I can't see of a reason to have that, however I can see a reason to at least have a package message to that affect. I'm not sure how to account for an unknown amount of arguments in a shell script, unless there is only ever going to be one argument? If the latter is the case, then including a shell script would be nice. How does this work? #!/bin/sh %%JAVA%% -jar %%JAVAJARDIR%%/%%PORTNAME%%.jar -classpath $1 Thanks! -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh From owner-freebsd-eclipse@FreeBSD.ORG Mon Mar 19 22:00:27 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25CB6106567F for ; Mon, 19 Mar 2012 22:00:27 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id AE8E98FC1A for ; Mon, 19 Mar 2012 22:00:26 +0000 (UTC) Received: by dald2 with SMTP id d2so11356842dal.13 for ; Mon, 19 Mar 2012 15:00:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=kWlDk/OsXoVrs539mkK6Ba9E56vRgtU4FKTktbOGv8A=; b=dqnyzQz3KSySf2NiQLaZz/upZ6rWEDw5MAkHKQDTcgOC7n2W84WW0LERyAhW3MVAlo EpsuBzsPxUGb32F9de8DLjaxY4Nu41nHIYa5sAb6NVdVKaHebW2LgJOkz83g4NYGmNFf x0A4WSw6ZQJJhNHz8KshUdTdCLNLuFvuu0t2mkoHqWibZA42xmsKn3rqSOmGb+RhMOhQ dFGlWXvO3lIV9Kvo39uQuaRQtJzadqPDmJDyT7QKVPzoj6emQLCYn+pqhIzPOzfYIdrw cxHTQI28OuDGE0ZvtemmIpw1h6HI0x5YOrnBfBWPEglJPfxBgd60uUQgslYoQc+DOLPR RTvg== Received: by 10.68.191.134 with SMTP id gy6mr40918641pbc.152.1332194426340; Mon, 19 Mar 2012 15:00:26 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id m5sm12149174pbo.69.2012.03.19.15.00.25 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Mar 2012 15:00:25 -0700 (PDT) Sender: Jason Helfman Date: Mon, 19 Mar 2012 14:59:34 -0700 From: Jason Helfman To: Greg Lewis Message-ID: <20120319215933.GG46825@dormouse.experts-exchange.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <20120319155752.GA78240@misty.eyesbeyond.com> <20120319193152.GD46825@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20120319193152.GD46825@dormouse.experts-exchange.com> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQki5vr+q++KZbGf2f0zE3nFXRLVdS2xdxoNPwGmPK+SZOsfUy0TxYek5jufk2wlBsXtMxI/ Cc: freebsd-eclipse@freebsd.org, freebsd-java@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 22:00:27 -0000 On Mon, Mar 19, 2012 at 12:31:52PM -0700, Jason Helfman thus spake: >On Mon, Mar 19, 2012 at 08:57:52AM -0700, Greg Lewis thus spake: >>G'day Jason, >> >>On Sun, Mar 18, 2012 at 11:02:25AM -0700, Jason Helfman wrote: >>> Hello All, >>> >>> I was looking through this pr: >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/151923 >>> >>> And saw the final idea was to just build icedtea. I found one of the build >>> requirements to be the the Eclipse Java Compiler, but didn't find this in >>> the tree. >>> >>> I've used the ecj.jar for sometime now compiling outside of the Eclipse >>> environment, and thought it would be a good idea to get this into the tree, >>> if it isn't already there. >>> >>> I didn't see the compiler in the tree, and thought it could help in getting >>> a final solution together for not just this pr, but I believe it would move >>> along some other efforts, as well. >>> >>> If this does nothing at all, I would hope it just provides the bare minimum >>> compiler. >>> >>> Attached is the shell archive of Eclipse Java Compiler. If there are no >>> objections I was going to put this into the tree this week. >> >>I'd like to see ECJ in the ports tree. >> >>One question on the port. It looks like it only installs ecj.jar. >>Wouldn't it also be useful to install a script to run it? I can certainly >>manually type 'java -jar /usr/local/share/java/classes/ecj.jar -classpath >>rt.jar Foo.java', but it would be simpler if there was an ecj script that >>maybe just let me do 'ecj Foo.java'. Is there a good reason not to write >>such a script? > >I can't see of a reason to have that, however I can see a reason to at least >have a package message to that affect. I'm not sure how to account for an >unknown amount of arguments in a shell script, unless there is only ever >going to be one argument? If the latter is the case, then including a shell >script would be nice. > >How does this work? > >#!/bin/sh > >%%JAVA%% -jar %%JAVAJARDIR%%/%%PORTNAME%%.jar -classpath $1 > I was able to get this to work: #!/bin/sh %%JAVAC%% -classpath %%JAVAJARDIR%%/ecj.jar $1 I will put this through, and any changes can just be put through the pr system. Thanks, Greg! -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh From owner-freebsd-eclipse@FreeBSD.ORG Mon Mar 19 23:00:55 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 193FB1065670; Mon, 19 Mar 2012 23:00:55 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@freebsd.org Date: Mon, 19 Mar 2012 19:00:39 -0400 User-Agent: KMail/1.6.2 References: <20120318180225.GA51618@dormouse.experts-exchange.com> <20120319193152.GD46825@dormouse.experts-exchange.com> <20120319215933.GG46825@dormouse.experts-exchange.com> In-Reply-To: <20120319215933.GG46825@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203191900.42677.jkim@FreeBSD.org> Cc: Jason Helfman , freebsd-eclipse@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 23:00:55 -0000 On Monday 19 March 2012 05:59 pm, Jason Helfman wrote: > On Mon, Mar 19, 2012 at 12:31:52PM -0700, Jason Helfman thus spake: > >On Mon, Mar 19, 2012 at 08:57:52AM -0700, Greg Lewis thus spake: > >>G'day Jason, > >> > >>On Sun, Mar 18, 2012 at 11:02:25AM -0700, Jason Helfman wrote: > >>> Hello All, > >>> > >>> I was looking through this pr: > >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/151923 > >>> > >>> And saw the final idea was to just build icedtea. I found one > >>> of the build requirements to be the the Eclipse Java Compiler, > >>> but didn't find this in the tree. > >>> > >>> I've used the ecj.jar for sometime now compiling outside of the > >>> Eclipse environment, and thought it would be a good idea to get > >>> this into the tree, if it isn't already there. > >>> > >>> I didn't see the compiler in the tree, and thought it could > >>> help in getting a final solution together for not just this pr, > >>> but I believe it would move along some other efforts, as well. > >>> > >>> If this does nothing at all, I would hope it just provides the > >>> bare minimum compiler. > >>> > >>> Attached is the shell archive of Eclipse Java Compiler. If > >>> there are no objections I was going to put this into the tree > >>> this week. > >> > >>I'd like to see ECJ in the ports tree. > >> > >>One question on the port. It looks like it only installs > >> ecj.jar. Wouldn't it also be useful to install a script to run > >> it? I can certainly manually type 'java -jar > >> /usr/local/share/java/classes/ecj.jar -classpath rt.jar > >> Foo.java', but it would be simpler if there was an ecj script > >> that maybe just let me do 'ecj Foo.java'. Is there a good > >> reason not to write such a script? > > > >I can't see of a reason to have that, however I can see a reason > > to at least have a package message to that affect. I'm not sure > > how to account for an unknown amount of arguments in a shell > > script, unless there is only ever going to be one argument? If > > the latter is the case, then including a shell script would be > > nice. > > > >How does this work? > > > >#!/bin/sh > > > >%%JAVA%% -jar %%JAVAJARDIR%%/%%PORTNAME%%.jar -classpath $1 > > I was able to get this to work: > > #!/bin/sh > > %%JAVAC%% -classpath %%JAVAJARDIR%%/ecj.jar $1 Hmm... It doesn't seem right. % cat /usr/local/bin/ecj.sh #!/bin/sh /usr/local/openjdk6/bin/javac -classpath /usr/local/share/java/classes/ecj.jar $1 % /usr/local/bin/ecj.sh -version javac 1.6.0_30 % /usr/local/openjdk6/bin/javac -version javac 1.6.0_30 Please note it isn't coming from ecj.jar. Also, `$1' should be `$*'. Thanks for working on this, BTW. Jung-uk Kim From owner-freebsd-eclipse@FreeBSD.ORG Mon Mar 19 23:09:12 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19DFA1065688 for ; Mon, 19 Mar 2012 23:09:12 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id D34BE8FC19 for ; Mon, 19 Mar 2012 23:09:11 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so1542517pbc.13 for ; Mon, 19 Mar 2012 16:09:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=twhiKOHqitlsKtJO1FnAhXYsJ28BzhvApYRXpZ8ZwKw=; b=a2xMoa4copBvAPIHsqDtevg0a3+w9AhHYSGGYfKP8LLzP+FHq+xAbHxCdCi3andICH qseEB6PgtHeSngF/PG7MeNTSkiViKMZY2m4gkbNEFiIufX3dWK1OxOztY7k4dnxBM0Aa 4Tw331r3rVsHLpBZ74tGQassePKXVf2QporVYLsOYqU3ASkpNDUXx6DZR/lhCXIYQs5j YhhSesyHMon3VsdqWC6RbUaKw96R4e9K+QnD8G/0y0PPfVdknxH30UTzbtCk1NCJcx9w ga2pyapD+/Z3LS/wCk9Dz7tNc2HoL6PeBP/Wp7mAn43kDAQd/xSYwal7JFmnZSJlkusY U5qg== Received: by 10.68.220.129 with SMTP id pw1mr44192590pbc.27.1332198551415; Mon, 19 Mar 2012 16:09:11 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id r8sm12266341pbr.51.2012.03.19.16.09.09 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Mar 2012 16:09:10 -0700 (PDT) Sender: Jason Helfman Date: Mon, 19 Mar 2012 16:08:18 -0700 From: Jason Helfman To: Jung-uk Kim Message-ID: <20120319230818.GJ46825@dormouse.experts-exchange.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <20120319193152.GD46825@dormouse.experts-exchange.com> <20120319215933.GG46825@dormouse.experts-exchange.com> <201203191900.42677.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201203191900.42677.jkim@FreeBSD.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQm7R4DO9groDG2oyfTptDlQFTl9Q7eKBsr9H3+7Rt7YkBsrx1tBOwoYeCwNSlHeH50w+X3e Cc: freebsd-eclipse@freebsd.org, freebsd-java@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 23:09:12 -0000 On Mon, Mar 19, 2012 at 07:00:39PM -0400, Jung-uk Kim thus spake: >Hmm... It doesn't seem right. > >% cat /usr/local/bin/ecj.sh >#!/bin/sh > >/usr/local/openjdk6/bin/javac -classpath /usr/local/share/java/classes/ecj.jar $1 >% /usr/local/bin/ecj.sh -version >javac 1.6.0_30 >% /usr/local/openjdk6/bin/javac -version >javac 1.6.0_30 > >Please note it isn't coming from ecj.jar. That is grabbing the version of javac based on the shell script. I'm not certain if you can get a vesion of the jar with an argument, or if that argument is even valid. > >Also, `$1' should be `$*'. I can change this. > >Thanks for working on this, BTW. Your very welcome :) > >Jung-uk Kim > -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh From owner-freebsd-eclipse@FreeBSD.ORG Mon Mar 19 23:46:04 2012 Return-Path: Delivered-To: freebsd-eclipse@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 2B6B31065674; Mon, 19 Mar 2012 23:46:03 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Jason Helfman Date: Mon, 19 Mar 2012 19:45:45 -0400 User-Agent: KMail/1.6.2 References: <20120318180225.GA51618@dormouse.experts-exchange.com> <201203191900.42677.jkim@FreeBSD.org> <20120319230818.GJ46825@dormouse.experts-exchange.com> In-Reply-To: <20120319230818.GJ46825@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201203191945.50219.jkim@FreeBSD.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 23:46:04 -0000 On Monday 19 March 2012 07:08 pm, Jason Helfman wrote: > On Mon, Mar 19, 2012 at 07:00:39PM -0400, Jung-uk Kim thus spake: > >Hmm... It doesn't seem right. > > > >% cat /usr/local/bin/ecj.sh > >#!/bin/sh > > > >/usr/local/openjdk6/bin/javac -classpath > > /usr/local/share/java/classes/ecj.jar $1 % /usr/local/bin/ecj.sh > > -version > >javac 1.6.0_30 > >% /usr/local/openjdk6/bin/javac -version > >javac 1.6.0_30 > > > >Please note it isn't coming from ecj.jar. > > That is grabbing the version of javac based on the shell script. Yes, that's exactly my point. :-) > I'm not certain if you can get a vesion of the jar with an > argument, or if that argument is even valid. Of course, it is valid: % fetch http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/ecj-3.7.2.jar ecj-3.7.2.jar 100% of 1708 kB 1851 kBps % /usr/local/openjdk6/bin/java -jar ecj-3.7.2.jar -version Eclipse Compiler for Java(TM) 0.B83_R37x, 3.7.2, Copyright IBM Corp 2000, 2011. All rights reserved. > >Also, `$1' should be `$*'. > > I can change this. Thanks. While you are at it, please add these: USE_ZIP= yes NO_WRKSUBDIR= yes and remove these: BUILD_WRKSRC= ${WRKDIR} ... EXTRACT_CMD= ${TAR} EXTRACT_BEFORE_ARGS= xf EXTRACT_AFTER_ARGS= -C ${WRKDIR} Jung-uk Kim From owner-freebsd-eclipse@FreeBSD.ORG Tue Mar 20 00:00:52 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A862D1065673 for ; Tue, 20 Mar 2012 00:00:52 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9F48FC08 for ; Tue, 20 Mar 2012 00:00:52 +0000 (UTC) Received: by dald2 with SMTP id d2so11495784dal.13 for ; Mon, 19 Mar 2012 17:00:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=x11mC7Ttp2/bpYAS4YD0J5wfstiMZ+Da9wriQyB75MU=; b=VCdSaVLb0L60dEOdnns9FZqAtVGxvvYCcA8wGimru6NAlamWKMREbfp05ynLZGnNFP 0JoosDqOdELS6lCLePg49ld5T/cYFOsZvYhAY6GMs5YXUq/yyqgHMvSf7mGPdQ7cKwcl UpJZwDOEovOABOuyH6OUe7ub0t2N7ut/ysew47/5Uk4HR6QEsrNC/3PjHgGawUx8p+vS W0SplMe3XusQvvlP9vUITIWK/yiK/rRNYkuqpxMQ+MNJwukNebfx6HZplXLYR6D+0XBg QxPa6Kr6yr3ZU/ZAs3MPxnMuSVu+ACra9afZpKndWhp+7GWspV+xTnvmqaPCSrzO6ZNm wGgw== Received: by 10.68.203.4 with SMTP id km4mr3071722pbc.53.1332201652213; Mon, 19 Mar 2012 17:00:52 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id u10sm12354250pbf.37.2012.03.19.17.00.50 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Mar 2012 17:00:51 -0700 (PDT) Sender: Jason Helfman Date: Mon, 19 Mar 2012 16:59:59 -0700 From: Jason Helfman To: Jung-uk Kim Message-ID: <20120319235959.GL46825@dormouse.experts-exchange.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <201203191900.42677.jkim@FreeBSD.org> <20120319230818.GJ46825@dormouse.experts-exchange.com> <201203191945.50219.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201203191945.50219.jkim@FreeBSD.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQlr8GbgchuvX8LzX5A3p5eUtgqmGlE8Tjv3gGXeRHVwRe9X6HQnIOGSFFYFrAZu1EZOIRAO Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 00:00:52 -0000 On Mon, Mar 19, 2012 at 07:45:45PM -0400, Jung-uk Kim thus spake: >On Monday 19 March 2012 07:08 pm, Jason Helfman wrote: >> On Mon, Mar 19, 2012 at 07:00:39PM -0400, Jung-uk Kim thus spake: >> >Hmm... It doesn't seem right. >> > >> >% cat /usr/local/bin/ecj.sh >> >#!/bin/sh >> > >> >/usr/local/openjdk6/bin/javac -classpath >> > /usr/local/share/java/classes/ecj.jar $1 % /usr/local/bin/ecj.sh >> > -version >> >javac 1.6.0_30 >> >% /usr/local/openjdk6/bin/javac -version >> >javac 1.6.0_30 >> > >> >Please note it isn't coming from ecj.jar. >> >> That is grabbing the version of javac based on the shell script. > >Yes, that's exactly my point. :-) > >> I'm not certain if you can get a vesion of the jar with an >> argument, or if that argument is even valid. > >Of course, it is valid: > >% fetch >http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/ecj-3.7.2.jar >ecj-3.7.2.jar 100% of 1708 kB 1851 >kBps >% /usr/local/openjdk6/bin/java -jar ecj-3.7.2.jar -version >Eclipse Compiler for Java(TM) 0.B83_R37x, 3.7.2, Copyright IBM Corp >2000, 2011. All rights reserved. I am unable to validate this with the jar that is built. Are you able to get it to work? > >> >Also, `$1' should be `$*'. >> >> I can change this. > >Thanks. > >While you are at it, please add these: > >USE_ZIP= yes Why? It isn't a zip file, and why is this dependency required? >NO_WRKSUBDIR= yes Can't see why this would be an issue to put in. > >and remove these: > >BUILD_WRKSRC= ${WRKDIR} Why? Otherwise, I need to put: WRKSRC= ${WRKDIR} Seems silly when bpm supports a different BUILD worksource. >... >EXTRACT_CMD= ${TAR} >EXTRACT_BEFORE_ARGS= xf >EXTRACT_AFTER_ARGS= -C ${WRKDIR} Why on these, as well? I'm not using zip, and zip is in different locations based on different releases of the Operating System. > >Jung-uk Kim > -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh From owner-freebsd-eclipse@FreeBSD.ORG Tue Mar 20 01:58:38 2012 Return-Path: Delivered-To: freebsd-eclipse@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C2374106564A; Tue, 20 Mar 2012 01:58:38 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1208FC0A; Tue, 20 Mar 2012 01:58:37 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id q2K1wa1p083719; Mon, 19 Mar 2012 18:58:36 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id q2K1waWU083718; Mon, 19 Mar 2012 18:58:36 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 19 Mar 2012 18:58:36 -0700 From: Greg Lewis To: Jason Helfman Message-ID: <20120320015836.GA83617@misty.eyesbeyond.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <20120319193152.GD46825@dormouse.experts-exchange.com> <20120319215933.GG46825@dormouse.experts-exchange.com> <201203191900.42677.jkim@FreeBSD.org> <20120319230818.GJ46825@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120319230818.GJ46825@dormouse.experts-exchange.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-eclipse@FreeBSD.org, Jung-uk Kim , freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 01:58:38 -0000 On Mon, Mar 19, 2012 at 04:08:18PM -0700, Jason Helfman wrote: > On Mon, Mar 19, 2012 at 07:00:39PM -0400, Jung-uk Kim thus spake: > >Hmm... It doesn't seem right. > > > >% cat /usr/local/bin/ecj.sh > >#!/bin/sh > > > >/usr/local/openjdk6/bin/javac -classpath /usr/local/share/java/classes/ecj.jar $1 > >% /usr/local/bin/ecj.sh -version > >javac 1.6.0_30 > >% /usr/local/openjdk6/bin/javac -version > >javac 1.6.0_30 > > > >Please note it isn't coming from ecj.jar. > > That is grabbing the version of javac based on the shell script. > I'm not certain if you can get a vesion of the jar with an argument, or if > that argument is even valid. > > > >Also, `$1' should be `$*'. I could be wrong, but I thought the preferred version of this was "$@" (as is, including the double quotes). IIRC using $* doesn't quite work properly if some of your arguments have spaces in them. Instead of %%JAVAC%% I'd suggest %%LOCALBASE%%/bin/javac so that the selection of which JDK to use can be done at run time rather than port install time. Note that I haven't tested the port though, so YMMV. > I can change this. > > > >Thanks for working on this, BTW. > > Your very welcome :) > > > >Jung-uk Kim > > > > -- > Jason Helfman | FreeBSD Committer > jgh@FreeBSD.org | http://people.freebsd.org/~jgh -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-eclipse@FreeBSD.ORG Tue Mar 20 16:23:53 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 125331065673 for ; Tue, 20 Mar 2012 16:23:53 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id CC4998FC19 for ; Tue, 20 Mar 2012 16:23:52 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so214872pbc.13 for ; Tue, 20 Mar 2012 09:23:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=1x0qfGBu8omo+dUF5toVh+sfFtqUfZlXNYpRZKS+Gms=; b=kmG1C5aDgg77xbJ6HfJRcg9lwN0HO/LFJidfm+re6tnBBwQi81Sic9dpj9Jk+Ng30b TgqzFNV3rk2Xss6cjksZ6e5mNdRc5biPCIlo7H0nVRYPIyRm3shqjg2IA+PvDQLnAgbY mf3ypthFANQoFcqauyZ5PQjVDqVSQF/nwYqxRnfRKPVqsRPBoPXzaqyfvOgYDrkpXq/Y pLYfnwFpb1+8Z8BTL7QdRhGgRaFOm+B6uHqvpg5ionZdbFriaUh3+dTkKRFy7TzmxjlG 0aJ7ffSci/ZOHQC+EJ2I9ew1fYx22JR2eQVGtxFA/i+Tb88HQaRMK5eRHCE/Q0HTfw9N POSA== Received: by 10.68.201.73 with SMTP id jy9mr2798365pbc.35.1332260632285; Tue, 20 Mar 2012 09:23:52 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id u5sm1591914pbu.76.2012.03.20.09.23.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Mar 2012 09:23:51 -0700 (PDT) Sender: Jason Helfman Date: Tue, 20 Mar 2012 09:22:58 -0700 From: Jason Helfman To: Jung-uk Kim Message-ID: <20120320162258.GN46825@dormouse.experts-exchange.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <201203191900.42677.jkim@FreeBSD.org> <20120319230818.GJ46825@dormouse.experts-exchange.com> <201203191945.50219.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201203191945.50219.jkim@FreeBSD.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQlpdCiVaWtnVn0QvNypTuJgSZKtY3MVxHzCgp3G1U/cE6YWcIAM+RMu1vUC6YT5sO/j08Nu Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 16:23:53 -0000 On Mon, Mar 19, 2012 at 07:45:45PM -0400, Jung-uk Kim thus spake: >On Monday 19 March 2012 07:08 pm, Jason Helfman wrote: >> On Mon, Mar 19, 2012 at 07:00:39PM -0400, Jung-uk Kim thus spake: >> >Hmm... It doesn't seem right. >> > >> >% cat /usr/local/bin/ecj.sh >> >#!/bin/sh >> > >> >/usr/local/openjdk6/bin/javac -classpath >> > /usr/local/share/java/classes/ecj.jar $1 % /usr/local/bin/ecj.sh >> > -version >> >javac 1.6.0_30 >> >% /usr/local/openjdk6/bin/javac -version >> >javac 1.6.0_30 >> > >> >Please note it isn't coming from ecj.jar. >> >> That is grabbing the version of javac based on the shell script. > >Yes, that's exactly my point. :-) > >> I'm not certain if you can get a vesion of the jar with an >> argument, or if that argument is even valid. > >Of course, it is valid: > >% fetch >http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/ecj-3.7.2.jar >ecj-3.7.2.jar 100% of 1708 kB 1851 >kBps >% /usr/local/openjdk6/bin/java -jar ecj-3.7.2.jar -version >Eclipse Compiler for Java(TM) 0.B83_R37x, 3.7.2, Copyright IBM Corp >2000, 2011. All rights reserved. From the bug I had opened, it was indicated that you can run this to get the same result: [jhelfman@dormouse.experts-exchange /usr/local/share/java/classes]$ java -cp ecj-3.7.2.jar org.eclipse.jdt.internal.compiler.batch.Main -version Eclipse Compiler for Java(TM) 0.B83_R37x, 3.7.2, Copyright IBM Corp 2000, 2011. All rights reserved. Here is a bit from the log of the bug: --- Comment #2 from Satyam Kandula 2012-03-20 11:48:50 EDT --- The Manifest.Mf is not including the main class! I will see what could be done here. Otherwise, you could try out %java -cp ecj.jar org.eclipse.jdt.internal.compiler.batch.Main -version I'll see if I can tune the shell script to output the same. -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh From owner-freebsd-eclipse@FreeBSD.ORG Tue Mar 20 16:30:16 2012 Return-Path: Delivered-To: freebsd-eclipse@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 4783D106566B; Tue, 20 Mar 2012 16:30:16 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Jason Helfman Date: Tue, 20 Mar 2012 12:29:57 -0400 User-Agent: KMail/1.6.2 References: <20120318180225.GA51618@dormouse.experts-exchange.com> <201203191945.50219.jkim@FreeBSD.org> <20120319235959.GL46825@dormouse.experts-exchange.com> In-Reply-To: <20120319235959.GL46825@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203201230.06968.jkim@FreeBSD.org> Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 16:30:16 -0000 On Monday 19 March 2012 07:59 pm, Jason Helfman wrote: > On Mon, Mar 19, 2012 at 07:45:45PM -0400, Jung-uk Kim thus spake: > >On Monday 19 March 2012 07:08 pm, Jason Helfman wrote: > >> On Mon, Mar 19, 2012 at 07:00:39PM -0400, Jung-uk Kim thus spake: > >> >Hmm... It doesn't seem right. > >> > > >> >% cat /usr/local/bin/ecj.sh > >> >#!/bin/sh > >> > > >> >/usr/local/openjdk6/bin/javac -classpath > >> > /usr/local/share/java/classes/ecj.jar $1 % > >> > /usr/local/bin/ecj.sh -version > >> >javac 1.6.0_30 > >> >% /usr/local/openjdk6/bin/javac -version > >> >javac 1.6.0_30 > >> > > >> >Please note it isn't coming from ecj.jar. > >> > >> That is grabbing the version of javac based on the shell script. > > > >Yes, that's exactly my point. :-) > > > >> I'm not certain if you can get a vesion of the jar with an > >> argument, or if that argument is even valid. > > > >Of course, it is valid: > > > >% fetch > >http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202 > >080800/ecj-3.7.2.jar ecj-3.7.2.jar > > 100% of 1708 kB 1851 kBps > >% /usr/local/openjdk6/bin/java -jar ecj-3.7.2.jar -version > >Eclipse Compiler for Java(TM) 0.B83_R37x, 3.7.2, Copyright IBM > > Corp 2000, 2011. All rights reserved. > > I am unable to validate this with the jar that is built. Are you > able to get it to work? No, current port builds unusable ecj.jar. :-( > >> >Also, `$1' should be `$*'. > >> > >> I can change this. > > > >Thanks. > > > >While you are at it, please add these: > > > >USE_ZIP= yes > > Why? It isn't a zip file, and why is this dependency required? A JAR file is essentially a ZIP file with additional meta-data, just like a FreeBSD package is a tarball with meta-data. % file /usr/local/openjdk6/jre/lib/rt.jar /usr/local/openjdk6/jre/lib/rt.jar: Zip archive data, at least v1.0 to extract If you are really concerned about the additiaonal build dependency, you may use jar but (bsd)tar is the worst choice. > >NO_WRKSUBDIR= yes > > Can't see why this would be an issue to put in. > > >and remove these: > > > >BUILD_WRKSRC= ${WRKDIR} > > Why? Otherwise, I need to put: > WRKSRC= ${WRKDIR} That's because it is easier to read/maintain for maintainer(s), "FOO=yes" is easier to parse with scripts, it is the "official" ports way to handle this case, etc, etc... bsd.port.mk: # NO_WRKSUBDIR - Assume port unpacks directly into ${WRKDIR}. > Seems silly when bpm supports a different BUILD worksource. I am sorry but I don't understand this because I don't use bpm. > >... > >EXTRACT_CMD= ${TAR} > >EXTRACT_BEFORE_ARGS= xf > >EXTRACT_AFTER_ARGS= -C ${WRKDIR} > > Why on these, as well? I'm not using zip, and zip is in different > locations based on different releases of the Operating System. Please see above. Besides, what made you think bsdtar is available and able extract a JAR file on "different releases of the Operating System"? ;-) Jung-uk Kim From owner-freebsd-eclipse@FreeBSD.ORG Tue Mar 20 16:41:14 2012 Return-Path: Delivered-To: freebsd-eclipse@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 78258106566B; Tue, 20 Mar 2012 16:41:14 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Greg Lewis Date: Tue, 20 Mar 2012 12:41:02 -0400 User-Agent: KMail/1.6.2 References: <20120318180225.GA51618@dormouse.experts-exchange.com> <20120319230818.GJ46825@dormouse.experts-exchange.com> <20120320015836.GA83617@misty.eyesbeyond.com> In-Reply-To: <20120320015836.GA83617@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203201241.04720.jkim@FreeBSD.org> Cc: freebsd-eclipse@FreeBSD.org, Jason Helfman , freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 16:41:14 -0000 On Monday 19 March 2012 09:58 pm, Greg Lewis wrote: > On Mon, Mar 19, 2012 at 04:08:18PM -0700, Jason Helfman wrote: > > On Mon, Mar 19, 2012 at 07:00:39PM -0400, Jung-uk Kim thus spake: > > >Hmm... It doesn't seem right. > > > > > >% cat /usr/local/bin/ecj.sh > > >#!/bin/sh > > > > > >/usr/local/openjdk6/bin/javac -classpath > > > /usr/local/share/java/classes/ecj.jar $1 % > > > /usr/local/bin/ecj.sh -version > > >javac 1.6.0_30 > > >% /usr/local/openjdk6/bin/javac -version > > >javac 1.6.0_30 > > > > > >Please note it isn't coming from ecj.jar. > > > > That is grabbing the version of javac based on the shell script. > > I'm not certain if you can get a vesion of the jar with an > > argument, or if that argument is even valid. > > > > >Also, `$1' should be `$*'. > > I could be wrong, but I thought the preferred version of this was > "$@" (as is, including the double quotes). IIRC using $* doesn't > quite work properly if some of your arguments have spaces in them. Ah, you're right, "$@" is better than $* in this case. > Instead of %%JAVAC%% I'd suggest %%LOCALBASE%%/bin/javac so that > the selection of which JDK to use can be done at run time rather > than port install time. I totally agree with you, too. However, it should be java. javac cannot "execute" ecj.jar. Thanks, Jung-uk Kim From owner-freebsd-eclipse@FreeBSD.ORG Tue Mar 20 18:31:11 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CEC661065670 for ; Tue, 20 Mar 2012 18:31:11 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 939CE8FC15 for ; Tue, 20 Mar 2012 18:31:11 +0000 (UTC) Received: by dald2 with SMTP id d2so433893dal.13 for ; Tue, 20 Mar 2012 11:31:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=Uv8xYNONH2Xz9G0/GhbUsUiM0yI92aUEfwTjoSS0FZY=; b=Oo+owYESVOXjJYYTYk8fQRaTSKvmzzmXG2dPQP6nfdoRx+KXynW07p6pA2Kdlppa2o Pso46jh/8YjlW8RiBqzIVi6eCf6nms6qEKB+eV1mYnOaaY84FKy9ZgNS3hZhMvK11WWz 0K8g5vIv6akNfWTHdgMVx2Zzgr1jZ6sPzU9DsWiOJ3TgFDVuzLmq0/hNGnNnrNKkrasC yqxm0uppE1ug6vVI1xAOFiL9WHHipL45fyc3B/1A6cdDieYe0V7OdbKT+1Bbl56OtzOG fDQ5dwG1G/4CIBImjNpMhqosHuC6h7tsgt5a28lXKXZXvNyTFNdKbAL2BY9W5kd6X5Ph FdBA== Received: by 10.68.132.232 with SMTP id ox8mr3399728pbb.145.1332268271371; Tue, 20 Mar 2012 11:31:11 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id l8sm1796474pbd.62.2012.03.20.11.31.09 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Mar 2012 11:31:10 -0700 (PDT) Sender: Jason Helfman Date: Tue, 20 Mar 2012 11:30:18 -0700 From: Jason Helfman To: Jung-uk Kim Message-ID: <20120320183018.GA13507@dormouse.experts-exchange.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <20120319230818.GJ46825@dormouse.experts-exchange.com> <20120320015836.GA83617@misty.eyesbeyond.com> <201203201241.04720.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201203201241.04720.jkim@FreeBSD.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQlYzYfhbPvxEp5I4aWpC+wZosv+fgl1Mz1mJMYZGmi6xzhdfgXGmb61LXmtwQOnYnel39Ko Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 18:31:12 -0000 On Tue, Mar 20, 2012 at 12:41:02PM -0400, Jung-uk Kim thus spake: >On Monday 19 March 2012 09:58 pm, Greg Lewis wrote: >> On Mon, Mar 19, 2012 at 04:08:18PM -0700, Jason Helfman wrote: >> > On Mon, Mar 19, 2012 at 07:00:39PM -0400, Jung-uk Kim thus spake: >> > >Hmm... It doesn't seem right. >> > > >> > >% cat /usr/local/bin/ecj.sh >> > >#!/bin/sh >> > > >> > >/usr/local/openjdk6/bin/javac -classpath >> > > /usr/local/share/java/classes/ecj.jar $1 % >> > > /usr/local/bin/ecj.sh -version >> > >javac 1.6.0_30 >> > >% /usr/local/openjdk6/bin/javac -version >> > >javac 1.6.0_30 >> > > >> > >Please note it isn't coming from ecj.jar. >> > >> > That is grabbing the version of javac based on the shell script. >> > I'm not certain if you can get a vesion of the jar with an >> > argument, or if that argument is even valid. >> > >> > >Also, `$1' should be `$*'. >> >> I could be wrong, but I thought the preferred version of this was >> "$@" (as is, including the double quotes). IIRC using $* doesn't >> quite work properly if some of your arguments have spaces in them. > >Ah, you're right, "$@" is better than $* in this case. I can change this. > >> Instead of %%JAVAC%% I'd suggest %%LOCALBASE%%/bin/javac so that >> the selection of which JDK to use can be done at run time rather >> than port install time. > >I totally agree with you, too. However, it should be java. javac >cannot "execute" ecj.jar. I was able to compile with javac, but not with java. Do you have the arguments you've used to compile with ecj.jar with using "java" > >Thanks, > >Jung-uk Kim > Thanks, Jason -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh From owner-freebsd-eclipse@FreeBSD.ORG Tue Mar 20 18:39:22 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 331FF106566B for ; Tue, 20 Mar 2012 18:39:22 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id E98198FC16 for ; Tue, 20 Mar 2012 18:39:21 +0000 (UTC) Received: by dald2 with SMTP id d2so444845dal.13 for ; Tue, 20 Mar 2012 11:39:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=1jRUhIflxcqh5hQGDkklLPYhTFkGO3BeGAC7uTIaLwQ=; b=WtCQz6AiwjQw4GPqob9IvleStEnsh9UNXDoDYbWfMBFBOar11KCrVbQ/xavIzA/CcI ajaW9Hoc64KqXM7+NOY62nqoQQiVENmegqFe4Ox2MVZ3546D9xgtreT0jeC0y4haaNlU jMVhg5IlG8FpXoaYI8tvsNtAsVZ8HhK4KJrE4xjg1BNWooBsGKREc7FpbBZFHs9GRztu rhWtAFTBHagIndG2IeAlpcIrT9oMCREVwenRxkt6f4/r3ypI8DnKnN1MG1cTur68wCi3 T8CWhOm9dEMO5GMe+4lR7+wT6ktGyNGBQuIIZfkkpWZvolEFsDdDXiwFzYOEjEWUck1h r36Q== Received: by 10.68.228.67 with SMTP id sg3mr3860731pbc.17.1332268761613; Tue, 20 Mar 2012 11:39:21 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id kx17sm1826336pbb.19.2012.03.20.11.39.19 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Mar 2012 11:39:20 -0700 (PDT) Sender: Jason Helfman Date: Tue, 20 Mar 2012 11:38:28 -0700 From: Jason Helfman To: Jung-uk Kim Message-ID: <20120320183828.GB13507@dormouse.experts-exchange.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <201203191945.50219.jkim@FreeBSD.org> <20120319235959.GL46825@dormouse.experts-exchange.com> <201203201230.06968.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201203201230.06968.jkim@FreeBSD.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmjqKZccAgsdpihC6WMFbqgouc0xNj226J8z5/JGkDCKSV6PoShhV/vUE93md89lxh/Qozn Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 18:39:22 -0000 On Tue, Mar 20, 2012 at 12:29:57PM -0400, Jung-uk Kim thus spake: >> I am unable to validate this with the jar that is built. Are you >> able to get it to work? > >No, current port builds unusable ecj.jar. :-( I am able to compile with it with no issue. What issues are you seeing? > >> >While you are at it, please add these: >> > >> >USE_ZIP= yes >> >> Why? It isn't a zip file, and why is this dependency required? > >A JAR file is essentially a ZIP file with additional meta-data, just >like a FreeBSD package is a tarball with meta-data. > >% file /usr/local/openjdk6/jre/lib/rt.jar >/usr/local/openjdk6/jre/lib/rt.jar: Zip archive data, at least v1.0 to >extract > >If you are really concerned about the additiaonal build dependency, >you may use jar but (bsd)tar is the worst choice. Tar is completely valid for uncompressing zip archives. > >> >NO_WRKSUBDIR= yes >> >> Can't see why this would be an issue to put in. >> >> >and remove these: >> > >> >BUILD_WRKSRC= ${WRKDIR} >> >> Why? Otherwise, I need to put: >> WRKSRC= ${WRKDIR} > >That's because it is easier to read/maintain for maintainer(s), >"FOO=yes" is easier to parse with scripts, it is the "official" ports >way to handle this case, etc, etc... Scripts can still parse and find both WRKDIR and WRKSRC in this port regardless of the option I use. If BUILD_WRKSRC is not easier, why is it bpm? I am also confused by this. What would I be setting to yes, to resolve this issue? > >bsd.port.mk: ># NO_WRKSUBDIR - Assume port unpacks directly into ${WRKDIR}. It does do this, and I have made this change, but haven't pushed it yet, as I would like to work out the style issue first. > >> Seems silly when bpm supports a different BUILD worksource. > >I am sorry but I don't understand this because I don't use bpm. I am referring to bsd.port.mk > >> >... >> >EXTRACT_CMD= ${TAR} >> >EXTRACT_BEFORE_ARGS= xf >> >EXTRACT_AFTER_ARGS= -C ${WRKDIR} >> >> Why on these, as well? I'm not using zip, and zip is in different >> locations based on different releases of the Operating System. > >Please see above. Besides, what made you think bsdtar is available >and able extract a JAR file on "different releases of the Operating >System"? ;-) There are instances of using zip that don't work on 7.x with jar files. I have addressed this in a number of ports as a result of pointyhat failures. Thanks, Jason -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh From owner-freebsd-eclipse@FreeBSD.ORG Tue Mar 20 23:01:58 2012 Return-Path: Delivered-To: freebsd-eclipse@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 28DF51065670; Tue, 20 Mar 2012 23:01:58 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Jason Helfman Date: Tue, 20 Mar 2012 19:01:49 -0400 User-Agent: KMail/1.6.2 References: <20120318180225.GA51618@dormouse.experts-exchange.com> <201203201230.06968.jkim@FreeBSD.org> <20120320183828.GB13507@dormouse.experts-exchange.com> In-Reply-To: <20120320183828.GB13507@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203201901.50789.jkim@FreeBSD.org> Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 23:01:58 -0000 On Tuesday 20 March 2012 02:38 pm, Jason Helfman wrote: > On Tue, Mar 20, 2012 at 12:29:57PM -0400, Jung-uk Kim thus spake: > >> I am unable to validate this with the jar that is built. Are you > >> able to get it to work? > > > >No, current port builds unusable ecj.jar. :-( > > I am able to compile with it with no issue. What issues are you > seeing? > > >> >While you are at it, please add these: > >> > > >> >USE_ZIP= yes > >> > >> Why? It isn't a zip file, and why is this dependency required? > > > >A JAR file is essentially a ZIP file with additional meta-data, > > just like a FreeBSD package is a tarball with meta-data. > > > >% file /usr/local/openjdk6/jre/lib/rt.jar > >/usr/local/openjdk6/jre/lib/rt.jar: Zip archive data, at least > > v1.0 to extract > > > >If you are really concerned about the additiaonal build > > dependency, you may use jar but (bsd)tar is the worst choice. > > Tar is completely valid for uncompressing zip archives. Yes, bsdtar is good enough for most cases. But we also had some issues with it in the past. I believe these problems are all fixed, however. What's wrong with jar, BTW? > >> >NO_WRKSUBDIR= yes > >> > >> Can't see why this would be an issue to put in. > >> > >> >and remove these: > >> > > >> >BUILD_WRKSRC= ${WRKDIR} > >> > >> Why? Otherwise, I need to put: > >> WRKSRC= ${WRKDIR} > > > >That's because it is easier to read/maintain for maintainer(s), > >"FOO=yes" is easier to parse with scripts, it is the "official" > > ports way to handle this case, etc, etc... > > Scripts can still parse and find both WRKDIR and WRKSRC in this > port regardless of the option I use. If BUILD_WRKSRC is not easier, > why is it bpm? > > I am also confused by this. What would I be setting to yes, to > resolve this issue? Defining NO_WRKSUBDIR eliminates needs for BUILD_WRKSRC or WRKSRC. # WRKSRC - A subdirectory of ${WRKDIR} where the distribution actually # unpacks to. # Default: ${WRKDIR}/${DISTNAME} unless NO_WRKSUBDIR is set, # in which case simply ${WRKDIR} ... # BUILD_WRKSRC - Directory to do build in (default: ${WRKSRC}). > >bsd.port.mk: > ># NO_WRKSUBDIR - Assume port unpacks directly into ${WRKDIR}. > > It does do this, and I have made this change, but haven't pushed it > yet, as I would like to work out the style issue first. Thanks. > >> Seems silly when bpm supports a different BUILD worksource. > > > >I am sorry but I don't understand this because I don't use bpm. > > I am referring to bsd.port.mk Oh, I see. > >> >... > >> >EXTRACT_CMD= ${TAR} > >> >EXTRACT_BEFORE_ARGS= xf > >> >EXTRACT_AFTER_ARGS= -C ${WRKDIR} > >> > >> Why on these, as well? I'm not using zip, and zip is in > >> different locations based on different releases of the Operating > >> System. > > > >Please see above. Besides, what made you think bsdtar is > > available and able extract a JAR file on "different releases of > > the Operating System"? ;-) > > There are instances of using zip that don't work on 7.x with jar > files. I have addressed this in a number of ports as a result of > pointyhat failures. Okay, I didn't know that. However, I still believe ${LOCALBASE}/bin/jar is better for extracting JAR files when USE_JAVA is set. ;-) Jung-uk Kim From owner-freebsd-eclipse@FreeBSD.ORG Tue Mar 20 23:34:34 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C422D1065677 for ; Tue, 20 Mar 2012 23:34:34 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4AB0F8FC19 for ; Tue, 20 Mar 2012 23:34:34 +0000 (UTC) Received: by dald2 with SMTP id d2so799207dal.13 for ; Tue, 20 Mar 2012 16:34:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=MY/UDcMd8t7DCQiNKcZzlh2eaf7UtmRJbB7pKO9+0lo=; b=IE5B8rKQWRjAudOrBPo4UJ0B/D07/7iLyX56x8FlA/bt4hXTCJ9rOVX+M8xXCSkvKG OLbcQoJVE9VSy8vyf5KdQUxP+Re7BejgJQ9lQZThOuHVuqFHJwBzwUphcntusIo+QA2W RpmEYb1k1UvTvTRKtRh9x9gqwaz4Qi8ZQ8c6vqHZJA4uCventfODYYz9MiytMLCmmHEC jfw+Tmqv8gL2CRDRJsEM3UPprAfIHS6s092GwbonWQQ39USgw94Fenp0Av1Kiv6vmhG2 IldbpGDF6eXpw6AI4NSsZD2uWVcmsQCgkGOTCm3REJ7FCIF/db/cxrTeMzzHBKVGzVZ+ eLcA== Received: by 10.68.194.227 with SMTP id hz3mr5725084pbc.23.1332286474058; Tue, 20 Mar 2012 16:34:34 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id f7sm2284034pbr.3.2012.03.20.16.34.33 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Mar 2012 16:34:33 -0700 (PDT) Sender: Jason Helfman Date: Tue, 20 Mar 2012 16:33:41 -0700 From: Jason Helfman To: Jung-uk Kim Message-ID: <20120320233341.GE13507@dormouse.experts-exchange.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <201203201230.06968.jkim@FreeBSD.org> <20120320183828.GB13507@dormouse.experts-exchange.com> <201203201901.50789.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201203201901.50789.jkim@FreeBSD.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQm3f6hykkIK7a1cHXUYJI8nA6O/VJ8zW/FLuZ+E0pullF4rOJnEZp7uNgQZ+iFm94f92qCZ Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 23:34:34 -0000 On Tue, Mar 20, 2012 at 07:01:49PM -0400, Jung-uk Kim thus spake: >> Tar is completely valid for uncompressing zip archives. > >Yes, bsdtar is good enough for most cases. But we also had some >issues with it in the past. I believe these problems are all fixed, >however. What's wrong with jar, BTW? Nothing, however it adds an extra dependency for extract-depends, and this could change based on what version of java you are using. So writing the EXTRACT_DEPENDS line could be a little tricky. >> I am also confused by this. What would I be setting to yes, to >> resolve this issue? > >Defining NO_WRKSUBDIR eliminates needs for BUILD_WRKSRC or WRKSRC. Confirmed, and removed. Thanks :) I am now just working out the shell script bits. -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh From owner-freebsd-eclipse@FreeBSD.ORG Wed Mar 21 04:40:01 2012 Return-Path: Delivered-To: freebsd-eclipse@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24C961065673; Wed, 21 Mar 2012 04:40:01 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id B9B378FC12; Wed, 21 Mar 2012 04:40:00 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id q2L4dr0b097919; Tue, 20 Mar 2012 21:39:53 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id q2L4dqYY097918; Tue, 20 Mar 2012 21:39:52 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 20 Mar 2012 21:39:51 -0700 From: Greg Lewis To: Jason Helfman Message-ID: <20120321043951.GA97303@misty.eyesbeyond.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <201203201230.06968.jkim@FreeBSD.org> <20120320183828.GB13507@dormouse.experts-exchange.com> <201203201901.50789.jkim@FreeBSD.org> <20120320233341.GE13507@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120320233341.GE13507@dormouse.experts-exchange.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-eclipse@FreeBSD.org, Jung-uk Kim , freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2012 04:40:01 -0000 On Tue, Mar 20, 2012 at 04:33:41PM -0700, Jason Helfman wrote: > On Tue, Mar 20, 2012 at 07:01:49PM -0400, Jung-uk Kim thus spake: > >> Tar is completely valid for uncompressing zip archives. > > > >Yes, bsdtar is good enough for most cases. But we also had some > >issues with it in the past. I believe these problems are all fixed, > >however. What's wrong with jar, BTW? > > Nothing, however it adds an extra dependency for extract-depends, and this > could change based on what version of java you are using. So writing the > EXTRACT_DEPENDS line could be a little tricky. JAVA_EXTRACT= yes is the line you are looking for. You'll also get ${JAR} set appropriately for you. But it should be easier than that. Something like the USE_ZIP simplicity for JAR would be nice. > >> I am also confused by this. What would I be setting to yes, to > >> resolve this issue? > > > >Defining NO_WRKSUBDIR eliminates needs for BUILD_WRKSRC or WRKSRC. > > Confirmed, and removed. Thanks :) > > I am now just working out the shell script bits. Could you post the up to date shar maybe? I've lost track of the current state. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org