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
[email protected]       | http://people.freebsd.org/~jgh
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "[email protected]"

Reply via email to