From owner-freebsd-eclipse@FreeBSD.ORG Mon Mar 19 23:09:12 2012 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19DFA1065688 for ; Mon, 19 Mar 2012 23:09:12 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id D34BE8FC19 for ; Mon, 19 Mar 2012 23:09:11 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so1542517pbc.13 for ; Mon, 19 Mar 2012 16:09:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=twhiKOHqitlsKtJO1FnAhXYsJ28BzhvApYRXpZ8ZwKw=; b=a2xMoa4copBvAPIHsqDtevg0a3+w9AhHYSGGYfKP8LLzP+FHq+xAbHxCdCi3andICH qseEB6PgtHeSngF/PG7MeNTSkiViKMZY2m4gkbNEFiIufX3dWK1OxOztY7k4dnxBM0Aa 4Tw331r3rVsHLpBZ74tGQassePKXVf2QporVYLsOYqU3ASkpNDUXx6DZR/lhCXIYQs5j YhhSesyHMon3VsdqWC6RbUaKw96R4e9K+QnD8G/0y0PPfVdknxH30UTzbtCk1NCJcx9w ga2pyapD+/Z3LS/wCk9Dz7tNc2HoL6PeBP/Wp7mAn43kDAQd/xSYwal7JFmnZSJlkusY U5qg== Received: by 10.68.220.129 with SMTP id pw1mr44192590pbc.27.1332198551415; Mon, 19 Mar 2012 16:09:11 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id r8sm12266341pbr.51.2012.03.19.16.09.09 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Mar 2012 16:09:10 -0700 (PDT) Sender: Jason Helfman Date: Mon, 19 Mar 2012 16:08:18 -0700 From: Jason Helfman To: Jung-uk Kim Message-ID: <20120319230818.GJ46825@dormouse.experts-exchange.com> References: <20120318180225.GA51618@dormouse.experts-exchange.com> <20120319193152.GD46825@dormouse.experts-exchange.com> <20120319215933.GG46825@dormouse.experts-exchange.com> <201203191900.42677.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201203191900.42677.jkim@FreeBSD.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQm7R4DO9groDG2oyfTptDlQFTl9Q7eKBsr9H3+7Rt7YkBsrx1tBOwoYeCwNSlHeH50w+X3e Cc: freebsd-eclipse@freebsd.org, freebsd-java@freebsd.org Subject: Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 23:09:12 -0000 On Mon, Mar 19, 2012 at 07:00:39PM -0400, Jung-uk Kim thus spake: >Hmm... It doesn't seem right. > >% cat /usr/local/bin/ecj.sh >#!/bin/sh > >/usr/local/openjdk6/bin/javac -classpath /usr/local/share/java/classes/ecj.jar $1 >% /usr/local/bin/ecj.sh -version >javac 1.6.0_30 >% /usr/local/openjdk6/bin/javac -version >javac 1.6.0_30 > >Please note it isn't coming from ecj.jar. That is grabbing the version of javac based on the shell script. I'm not certain if you can get a vesion of the jar with an argument, or if that argument is even valid. > >Also, `$1' should be `$*'. I can change this. > >Thanks for working on this, BTW. Your very welcome :) > >Jung-uk Kim > -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh