From owner-freebsd-java@FreeBSD.ORG Sun Mar 18 05:55:25 2012 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCE50106566C for ; Sun, 18 Mar 2012 05:55:25 +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 A33918FC0A for ; Sun, 18 Mar 2012 05:55:25 +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 q2I5tHr2025021; Sat, 17 Mar 2012 22:55:17 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id q2I5tGuF024972; Sat, 17 Mar 2012 22:55:16 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 17 Mar 2012 22:55:16 -0700 From: Greg Lewis To: J B Message-ID: <20120318055516.GA3199@misty.eyesbeyond.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: java@FreeBSD.org Subject: Re: icedtea-web update/compilation X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 05:55:25 -0000 On Sat, Mar 17, 2012 at 07:08:25PM +0100, J B wrote: > Hi, > this is FB9-release, with updates. > > I recently updated openjdk6 port with 'portmaster openjdk6'. > The openjdk6 is required by icedtea-web. > > So, I updated icedtea-web to the latest version with 'portmaster icedtea-web'. > I noticed that during compilation firefox-3.6.27 was downloaded which puzzled > me. > The final msg was: > ===>>> The following actions were performed: > Installation of www/libxul (libxul-1.9.2.27) > Re-installation of icedtea-web-1.1.4 > > Is there any problem with firefox dependency here ? No. If you look at the libxul port you'll notice that the distfile is firefox-3.6.27.tar.gz. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sun Mar 18 16:21:00 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A2241065674 for ; Sun, 18 Mar 2012 16:21:00 +0000 (UTC) (envelope-from SethFeinstein833@qmail.com) Received: from [161.174.205.143] (173-129-151-85.pools.spcsdns.net [173.129.151.85]) by mx1.freebsd.org (Postfix) with SMTP id DBED98FC15 for ; Sun, 18 Mar 2012 16:20:59 +0000 (UTC) Received: from [161.174.205.143][127.0.0.1] by [161.174.205.143][127.0.0.1] (SMTPD32); Sun, 18 Mar 2012 09:20:59 -0700 Message-ID: <2a2e43a19a31e402e1b29d3e0014f336@qmail.com> From: "Seth Feinstein" To: Date: Sun, 18 Mar 2012 09:20:57 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Proposal X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 16:21:00 -0000 Hello, This is Seth from Valuplus=2E Google has launched "The Google Wallet", a mobile phone app that turns = your customer's phone into their wallet. Merchants use a Pay-Pass terminal = in their stores to enable customers to make purchases through the tap of a = smart phone=2E You now have the opportunity to be set up with this new state of the art = technology RENT FREE! Valuplus will provide you with a zero-rent Pay-Pass = terminal. This will give you the ability to accept payments through Google = Wallet and other contactless payment programs=2E Your business will be also be added to the Pay-Pass locator published on = the Google Wallet website. See what large merchants like Macy=E2=80=99s, = Subway, and Wal-Greens are saying about Google Wallet: I am willing to go over this whole program with you, either in person or = via telephone, depending on your location and/or preference=2E Please call 1 (800) 390-7912 to get more information today! Sincerely, Seth Feinstein National Account Manager Valuplus Merchants Association=20 1 (800) 390-7912 Click This Link to Stop Future Messages = From owner-freebsd-java@FreeBSD.ORG Sun Mar 18 18:03:18 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C934B106566B for ; Sun, 18 Mar 2012 18:03:18 +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 8ACB18FC08 for ; Sun, 18 Mar 2012 18:03:18 +0000 (UTC) Received: by dald2 with SMTP id d2so9392694dal.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=Uj6ZfCyKx6XS/QcO9KGc7rBE8IeNG2ro1gF/Ixqv87MsIVCuWG+2342C850T7EWupZ O/nm3QP3biM14QsyYXxYS7Wv3yxxaCKnZWKTHLGPQw6bfl98cg/Eb2GiqlklylNj2he5 6UDgNulYvFYS6TU2u1kX4mrpDHjb+zwqz74CX6di/3S0zeJRZRiKnYAPDgXZLu1MScGN g3aIesmJOTOvCcgdtjaCjQ+druXJqbRibQm70q9i3F0yJaoHYr6lD+aDasRGTyrYt2uJ vrGiqBU4q+E0obcCfrrLGBv2z6PkDmMGaXFgoegz1+OnMZ+aB9uzt55RkYKbYDBu52kS X5lA== 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: ALoCoQmLU+if+Qrn7JoznuzIaHpCG81ysxMjN5CYak93zKZ2N6REpIbYP3Bj8ZLk32/Zg1aVncmF Cc: java@freebsd.org, freebsd-eclipse@FreeBSD.org Subject: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 18:03:18 -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-java@FreeBSD.ORG Sun Mar 18 18:03:18 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9515106566C for ; Sun, 18 Mar 2012 18:03:18 +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 8AE358FC0A for ; Sun, 18 Mar 2012 18:03:18 +0000 (UTC) Received: by dald2 with SMTP id d2so9392693dal.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=f2RjD9g56tqF1yA1Et8TTV9DeaF2nzSmu2LLl//CdjupK5EWNcHG9IQZ8r8mcpsiuI 4c3znqjQ2zG3n1PfqVXc1eUOq3FU+i7VagLHPLEnizVVNyTcK+2dJy0ubKFMAS7/f+90 mNFu+enG1dz2av0V0sbawI2MTR70Qz257FMgIhsKqdKte1ASb+Yt1Q9vNcAVAdhdKF6Y eXDjQR+RAEsy2SHnQ8TUJYMSqadP+J7YTf4NXRp/8fmBS1cZWcC7Rx+UEr4LyZnmCWzb UTbgBvF1Zv6WnYZD+U4S6ITyrWINH0Om/5leubuNYg/rY1Q1nbRFoTfUSRE5ehnqEYBZ mAYg== 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: ALoCoQn7n3GDA9AOkVT3HcQIFB/BFL1qTZGouHkNcIWqtLgY/Tn0xEpN7ToYDuPcHHpgYubf2Ojv Cc: java@freebsd.org, freebsd-eclipse@FreeBSD.org Subject: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 18:03:18 -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-java@FreeBSD.ORG Mon Mar 19 11:07:16 2012 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C4FF106566B for ; Mon, 19 Mar 2012 11:07:16 +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 D05AA8FC18 for ; Mon, 19 Mar 2012 11:07:15 +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 q2JB7FLR033627 for ; Mon, 19 Mar 2012 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2JB7FFO033625 for freebsd-java@FreeBSD.org; Mon, 19 Mar 2012 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Mar 2012 11:07:15 GMT Message-Id: <201203191107.q2JB7FFO033625@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 11:07:16 -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 -------------------------------------------------------------------------------- a java/163456 java [patch] java/openjdk6: build and distribute open timez o ports/162991 java java/openjdk6 fails to build o java/162522 java OpenJDK 6 is not setting close on exec o java/160553 java Jaikoz java based audio tagger core dumps o ports/159787 java java/openjdk6 nio muti-thread bug o ports/156674 java [PATCH] java/openjdk6: make x11-fonts/dejavu a build d o ports/155967 java [bsd.java.mk] [patch] javavm wrapper insists on diablo o ports/155657 java java/openjdk6: missing symlink for include/freebsd/* o ports/154884 java java/openjdk6: Every NetBeans version on FreeBSD 8.1 c o ports/151923 java [patch] java/openjdk6: free and native openjdk bootstr o ports/151042 java [patch] java/openjdk6 Respect CC o java/147512 java Crash of RXTX-2.1-7 on AMD64 system o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones f java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java 26 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Mar 19 15:57:59 2012 Return-Path: Delivered-To: freebsd-java@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-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Mon Mar 19 19:32:44 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF605106564A for ; Mon, 19 Mar 2012 19:32:44 +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 965CE8FC14 for ; Mon, 19 Mar 2012 19:32:44 +0000 (UTC) Received: by dald2 with SMTP id d2so11165163dal.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=Ao9ZXhAVEBCvt9+5FztlcjnRTOmQP3YiCr+kycHIE0wixP3nHFOdKy6OsGdFOGWgSj dujzHt72oJjY2mbB9DNxS47wd5PA1vR0CVD1LJ7KsT6qijkI/1q7GsNDKWq1XrG8NJZC gYl3JYMlLxXwRK82CbokgtaniR5EqCVvx7RNzqsMghF9et5Xb0piu4s1VKWsDtI5yaNy GYYjZ5gu99x4Tgj6Q4uyAMVoIadbRWImDxTeuiEQYSmJfOMdFpjcYSDFo4iXmVe+V2/O sDy/1Ao/QnGDlP4Y5F3nNyxqgaib52R5xr2C0mmgOBkLnHpXab2WzHU1klnmMu+fS4mt NKVw== 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: ALoCoQmF63dPWaA43slot1ihLJLkFrWg3KQPM/D84TwmmoPclgkvDmX4609ljMLcU2xvYJAHaL9r Cc: freebsd-eclipse@freebsd.org, freebsd-java@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Mon Mar 19 22:00:27 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03E70106567D for ; Mon, 19 Mar 2012 22:00:26 +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 AE7348FC19 for ; Mon, 19 Mar 2012 22:00:26 +0000 (UTC) Received: by dald2 with SMTP id d2so11356843dal.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=DmPN2iBQcgPIgl5bwm6pq9oWsqKzM4XQBdYk4fDbRWURBeJp6xx0GuIrOLdgLRgziF j5MwloKTLPA2KUYRboo8pAOfL+5rMZSPXf6dIsIqtPpriyEwwu3cS/mWIojcc2ONOn1E l/Ui03RL3sNL0xCKesc+zOUv1BHtfALkBPd3IP2x61UIKyymfDb+Ox5pApP5bl/irkQF gUSKSCqOXzkWbJUdeW9YD+3srdYe0hl34mDgA0JgKGrVZb9/qtY7xqiEBy7TL6Z3m6kD XR4nop5CMDJ/cReyZ/6EXDAy+k/nJAPXL0VasWB+zIrNyOTLG6lCRlCyQ2sRN4M25S0P 97/g== 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: ALoCoQk5eBh8iwQfrXxHLWgk5VAmKbWWJ0rZzqlHC0Q5qZpDtppz0NFoWRM93/2C2qi2HPuzhRJV Cc: freebsd-eclipse@freebsd.org, freebsd-java@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Mon Mar 19 23:00:55 2012 Return-Path: Delivered-To: freebsd-java@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-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Mon Mar 19 23:09:11 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1D941065686 for ; Mon, 19 Mar 2012 23:09: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 A4E258FC18 for ; Mon, 19 Mar 2012 23:09:11 +0000 (UTC) Received: by dald2 with SMTP id d2so11438891dal.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=dZMwZfoMXk+ZA1r7Yy1Mlza9vnwbzLw7AFlxGiKen38D5vEJ3XvyKRYgB4o1KKkBWb zwfZfcRvX/9iTZu8SlohjpIbcrtJNIXrMPenbZPQ0rcB0IsMEWApk0xLpttsI1s0q52+ i4itvtNmGTju4imNLegCXxjoI8eVsYp5/dMKiWN9rar//fO40vu1lNQv1Zx5mWVVVJzm WomXFWPGs3kebGWP+/VvAtSj7cPQ9j6NTbMOMUugXg0Chaa6XaF8c+9L/SFoxYAoyOLc Dn01KfiwVWRKZ5qenjETuuw081vvUp6rM5WEhgPRIe7QJ9qngkUAAaNiM21DxL2XIxNX /Ruw== 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: ALoCoQmFedGFG8VejbV82U9ZIg4TQIzScJ93E31NwnYObgb6spsPSdX5AvYW52iV0iwobxVkSioE Cc: freebsd-eclipse@freebsd.org, freebsd-java@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Mon Mar 19 23:46:04 2012 Return-Path: Delivered-To: freebsd-java@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-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Tue Mar 20 00:00:52 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D38401065676 for ; Tue, 20 Mar 2012 00:00:52 +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 966568FC0C for ; Tue, 20 Mar 2012 00:00:52 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so1564883pbc.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=NVjSe71vE4J7jABOHnoJcjZlFU372mWyZRen9bUuHsLHB+x1gdMWECe/vhEtGiM454 EMrUjznHO/0xj+vYFxp7PBFubxydJ3afowbVGpGLkY5nQ3BaoOvlXE2qxvHPk2lMiYbh KLiS261rHOdFy44/h43aSNe5jvFBmeVKRj0a52G3FyBhGW4AiDhUsJ/keHosJASWijwf KRhToFnrSQKH6gLUUatvb3+/K9hec16PoEnzlHI7CfffjSNv4e3uvTGSYtMBptb0gbyg +6YjdiHoHia+37jIQ9E3WA95QEfThlf68aS29vgqq8iwiShE/9TbsIfHJZxLjShzD1Cm 8EvA== 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: ALoCoQn7H5ZImH325rX8YuvKscyB9Hs3WWTBJJR2h9TxXhd8Oi4Z1NvtPlIXHTAyUigO6akDAQSB Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 00:00: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. 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-java@FreeBSD.ORG Tue Mar 20 01:58:38 2012 Return-Path: Delivered-To: freebsd-java@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-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Tue Mar 20 08:50:59 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F4641065670 for ; Tue, 20 Mar 2012 08:50:59 +0000 (UTC) (envelope-from loopy-lotto@tom-carson.com) Received: from mail.tom-carson.com (mail.tom-carson.com [184.82.118.46]) by mx1.freebsd.org (Postfix) with ESMTP id A71BC8FC23 for ; Tue, 20 Mar 2012 08:50:58 +0000 (UTC) X-AuthUser: loopy-lotto@tom-carson.com Received: from tom-carson.com ([41.190.3.54]:26095) by tom-carson.com with [XMail 1.27 ESMTP Server] id for from ; Tue, 20 Mar 2012 02:50:55 -0600 Date: Tue, 20 Mar 2012 08:15:34 +0100 From: "jack" To: "freebsd-java" Message-Id: <69728231360542860@tom-carson.com> X-mailer: Foxmail 6, 14, 103, 24 [cn] MIME-Version: 1.0 In-Reply-To: <69728231360542860@tom-carson.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: march notification X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bakerjack51@yahoo.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 08:50:59 -0000 RGVhciBFbWFpbCBBY2NvdW50IFVzZXIsDQpBcyBhIHdpbm5lciBpbiBvdXIgTG9vcHkgTG90dG8g UHJvZ3JhbSwNCllvdSBhcmUgdG8gcmVjZWl2ZSBhIGNhc2ggcHJpemUgb2YgMSwwMDAsMDAwIFBv dW5kIFN0ZXJsaW5nDQpmcm9tIHRoZSB0b3RhbCBwYXlvdXQuIFNlbmQgYW4gZW1haWwgbWVzc2Fn ZSBjb250YWluaW5nIHRoZSBkZXRhaWxzIGJlbG93IHRvIHlvdXIgY2xhaW1zIG9mZmljZXIgKEph Y2sgQmFrZXIpLCB5b3UgYXJlIGFkdmlzZWQgdG8gaW5jbHVkZSB5b3VyIHdpbm5pbmcgcXVhbGlm aWNhdGlvbiBjb2RlOiBMTDQ3MUFBDQpKYWNrIEJha2VyDQpFbWFpbDogYmFrZXJqYWNrNTFAeWFo b28uY29tDQpOYW1lOg0KVGVsZXBob25lL01vYmlsZSBudW1iZXI6DQpOYXRpb25hbGl0eToNCkFn ZToNCk9jY3VwYXRpb246DQpXaW5uaW5nIEVtYWlsOg0KU2luY2VyZWx5IFlvdXJzLA0KTG9vcHkg TG90dG8gVGVhbS4NCg== From owner-freebsd-java@FreeBSD.ORG Tue Mar 20 16:23:53 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 081111065670 for ; Tue, 20 Mar 2012 16:23:53 +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 C0F3A8FC17 for ; Tue, 20 Mar 2012 16:23:52 +0000 (UTC) Received: by dald2 with SMTP id d2so271452dal.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=cQ45Kn1iq/AKbqGeTU2ndXQZt1LNmr7nuJRhE9TWUCXDPg8va9HZgcmbOSGfI71DhV wET2K9y5XfQFQVsFCdbdoK+Ql0rvRgEZqFaCbogleBv3RkTaO6APP9reVBftem6wVj5L wFIwgw8/1Pbuf81QLl1vcDl9k3zWGAEtWAdBKT5vAT5HZqCVcQKaYjSjR+zgMD4ntAFB SwreIyPyUSjrwrkPBuD/aIJRH9XfcW6XDBw2Jq4KRY9+gTkWiYF5fofoYFiY0jxHyLpo wB0F2BYCeoQ0rtqppFT7OgU7AukeJVT4JTwOePOgsxwDTs8iMkAOhygI/pzVgKt+uQ3q Af8Q== 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: ALoCoQkWrXqpisOLQTuMZJxDTctPnIHpXlqUja2yyEuIs9JL/4w7NLzlMGQgdNWFvS4oacTdczyZ Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Tue Mar 20 16:30:16 2012 Return-Path: Delivered-To: freebsd-java@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-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Tue Mar 20 16:41:14 2012 Return-Path: Delivered-To: freebsd-java@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-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Tue Mar 20 18:31:12 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 897C91065674 for ; Tue, 20 Mar 2012 18:31:12 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 331A38FC1C for ; Tue, 20 Mar 2012 18:31:12 +0000 (UTC) Received: by yenl9 with SMTP id l9so441560yen.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=HFavYohJcEdvRjDxzktDrvxno3IiHsDYXqgK/JOywPqDLn/64Ts58o4qRCgbIqQUXB cghnXc7fMHPKgHCwn9kZXm/pdRMIjCf67JJTCDcZQ6wVAl/MNeQGCrbj7fu0VpobDmC6 /fO8axcReBGyQPQaBqriCZfFCewwHFRKoRBI+RS00AyNKxvyoA6kXXWiozCLuRh2SVEq c2CcWZR34Cla4LYZKpmF8jILyHynMb1FiqgkDPCBdhajvEM2Cujr04BTBQScQcg4+c0s 2AFZnQYPcQTOQO/mVyCWRqA/LgixWvF3oXmP9E2R8fj6GAvkpF5Rjns1i6y+9hfE3eSv QdSw== 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: ALoCoQkAERfT/T8btlbokoJvWINrylim45Pk+fuPe1wvp1+jdWEAfp9xa2Scenv1Xd1aYzcSBfdS Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Tue Mar 20 18:39:22 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60BA91065674 for ; Tue, 20 Mar 2012 18:39:22 +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 1E0DE8FC20 for ; Tue, 20 Mar 2012 18:39:21 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so291532pbc.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=QPmSBEQ3GWgLbmaNRu18JA1JWmuQU0bp/ZxJ0kG1XqifbRtXc4rOXrlIrTcchxX1kp Lnx1f+bjrxf/h4TDgzsElHJ/V5SsYKtpr9CVGOvhjB/2260jro2dl4qrTLlKdf7OxS/v hAP+7kMlH3BMT4wPGgdwO4sHBNqvFk1gnwAawNtJMKu39DLlnkvIjubUAXtgvGTTzcG9 mM1v+yrcSJx86JuvOFLlCEQ+L4W53GV8wZnRjKrRnsOSjW5Nd8xWSmshzvaAX9GZFEFZ Y3PMvHl3c+JzfB0E490s/lZD2EOgiC5jVHk57EToGFqzywkMDNyxcd4eAuIA+uq8hCgG ukLw== 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: ALoCoQlLFFPnfc8rHA8VsZlCg4HRDGivJeNotl+usPHYkEyCdZbztgznuQTdKmF1YuyvouSigmSM Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Tue Mar 20 23:01:58 2012 Return-Path: Delivered-To: freebsd-java@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-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Tue Mar 20 23:34:34 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C408C1065676 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 4AC3B8FC1A for ; Tue, 20 Mar 2012 23:34:34 +0000 (UTC) Received: by dald2 with SMTP id d2so799206dal.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=eK/8ypyoQq/2YUddt8/LBrCEudyOV+SeKdmhAc6lvyS+w5Or8zqwliFo3e6qZLjbZ0 dgXOPl/272DR28C3BXR8RNrVPjy1NcXb2+j4K2/zNzILAAhLTxhSabytPprExC1rm6tX Np6QAOhCQqnSU8GybHxpA9PMCf5AOlFRJPTy4p+5VO/VMjT00TELy77aAWkhlipoXYzO Y8+rDak+Fzd0djdmTwW28Z3yBn0BcZfgRUyCvt+DpHOljpfs2gXPNYQkN+X/Pe0+SEgb TAWSc0LACYGRx0RMHAYmkYQD9xJJi2uFSG67kzhS4IHsy/Tnt9koaWIQNdIExJvPPMYr +PUQ== 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: ALoCoQmYDUI37IMTGm155/svlFRbJMzJzwsddn7P9dBiWOABN9Ney+fy3Vh4y+oIbVmB3Vl2mimf Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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-java@FreeBSD.ORG Wed Mar 21 04:40:01 2012 Return-Path: Delivered-To: freebsd-java@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-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD 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 From owner-freebsd-java@FreeBSD.ORG Thu Mar 22 22:10:44 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD982106567A; Thu, 22 Mar 2012 22:10:44 +0000 (UTC) (envelope-from innuendo18@kurdogluholding.com.tr) Received: from anteldata.net.uy (r186-53-112-34.dialup.adsl.anteldata.net.uy [186.53.112.34]) by mx1.freebsd.org (Postfix) with ESMTP id E11478FC17; Thu, 22 Mar 2012 22:10:42 +0000 (UTC) Date: Thu, 22 Mar 2012 19:10:43 -0300 From: , , To: , , X-Mailer: dxz Content-Transfer-Encoding: 7bit Message-Id: <20120322221044.BD982106567A@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Poszukujemy zdalnych pracownikow do pracy na akord z wynagrodzeniem 95 EUR za 1 godzine. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 22:10:44 -0000 Witamy wszystkich! Poszukujemy wspól/pracowników, którzy sa gotowi podjac sie dodatkowej pracy. Praca zajmie 1-2 godziny w tygodniu i nie wymaga zadnego wkl/adu pienieznego. Istota pracy jest przetwarzanie napl/ywajacych z Waszego miasta zamówien. Jest to prosta praca, której mozna nauczyc sie w ciagu 10 minut i bedzie mozna regularnie wykonywac ja dla naszej firmy. Za kazde przetworzone zamówienie otrzymacie od 200 do 500 EUR. Opl/ata - natychmiastowa! Jesli jesli tylko panstwo zechca to bedziecie mogli stale zwiekszac ilosc przetwarzanych zamówien. Niestety my nie mozemy zagwarantowac zatrudnienia dla wszystkich chetnych, dlatego proponujemy od razu wysl/ac nam swoje zgl/oszenie. / Zwiekszy to wasza szanse, aby zostac czl/onkiem naszego zespol/u. Co nalezy podac w zgl/oszeniu: Imie i nazwisko: Adres e-mail: Miasto, w którym mieszkacie: Zgl/oszenie nalezy wysl/ac na nasz adres e-mail: Patty@gazetapracapl.com,Odpowiedz otrzymacie w ciagu dwóch dni roboczych. Z powazaniem, Patty Voss From owner-freebsd-java@FreeBSD.ORG Fri Mar 23 13:50:18 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFA03106566C for ; Fri, 23 Mar 2012 13:50:18 +0000 (UTC) (envelope-from USPS_Shipping_Support@usps.com) Received: from inetia.pl (77-253-146-229.adsl.inetia.pl [77.253.146.229]) by mx1.freebsd.org (Postfix) with ESMTP id 40A198FC12 for ; Fri, 23 Mar 2012 13:50:14 +0000 (UTC) Received: from [149.151.31.78] (helo=zaebi.jwotv.ru) by inetia.pl with esmtpa (Exim 4.69) (envelope-from ) id 1MM54Z-1564nv-9X for java@freebsd.org; Fri, 23 Mar 2012 14:50:14 +0100 From: "Jonas Mcdonald" To: Date: Fri, 23 Mar 2012 14:50:14 +0100 Message-ID: <1476714884.FDU69918257@gdtkuqzzs.jgwwjja.biz> MIME-Version: 1.0 X-Mailer: lvabob 17 Content-Language: en Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Your USPS delivery. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2012 13:50:19 -0000 Your USPS delivery = Acct #: 7517382 D= ear client: This is an email confirmation for = your order of 3 online shipping label(s) with postage. = Your credit card will be charged the following amoun= t: Transaction Number: #8430454 P= rint Date/Time: 03/14/2012 02:30 PM CST Postage= Amount: $48.81 Credit Card Number: XXXX XXXX XXXX XXXX = Priority Mail Regional Rate Box B # 6954 = 3004=A0 0416=A0 3921=A0 3250=A0 (Sequence Number 1 of 1= ) = = For further inf= ormation, please log on to www.usps.com/clicknship = and go to your Shipping History or visit our Frequentl= y Asked Questions . Refunds for u= nused postage-paid labels can be requested online up to 7 da= ys after the issue date by logging on to your Click-N-Ship A= ccount. Thank you for choosing the United Stat= es Postal Service Click-N-Ship: The Online Shi= pping Solution Click-N-Ship has just made on l= ine shipping with the USPS even better. = New Enhanced International Label and Customs Form: Updated = Look and Easy to Use! * * * * * * * * = This is an automatically generated = message. Please do not respond