Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2012 16:08:18 -0700
From:      Jason Helfman <jgh@FreeBSD.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        freebsd-eclipse@freebsd.org, freebsd-java@freebsd.org
Subject:   Re: [RFC] New Port: Eclipse Java Compiler, java/eclipse-ecj
Message-ID:  <20120319230818.GJ46825@dormouse.experts-exchange.com>
In-Reply-To: <201203191900.42677.jkim@FreeBSD.org>
References:  <20120318180225.GA51618@dormouse.experts-exchange.com> <20120319193152.GD46825@dormouse.experts-exchange.com> <20120319215933.GG46825@dormouse.experts-exchange.com> <201203191900.42677.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120319230818.GJ46825>