[24934] in SIPB bug reports
Re: updating ant to 1.6.5
daemon@ATHENA.MIT.EDU (Kevin Chen)
Sun Sep 18 16:58:31 2005
From kchen@MIT.EDU Sun Sep 18 20:58:31 2005
Return-Path: <kchen@MIT.EDU>
Delivered-To: bug-sipb-mtg@CHARON.mit.edu
Received: (qmail 2311 invoked from network); 18 Sep 2005 20:58:31 -0000
Received: from biscayne-one-station.mit.edu (18.7.7.80)
by charon.mit.edu with SMTP; 18 Sep 2005 20:58:31 -0000
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id j8IKwKBx022033;
Sun, 18 Sep 2005 16:58:20 -0400 (EDT)
Received: from [18.238.3.200] (SCYTHER.MIT.EDU [18.238.3.200])
(authenticated bits=0)
(User authenticated as kchen@ATHENA.MIT.EDU)
by outgoing.mit.edu (8.13.1/8.12.4) with ESMTP id j8IKwFcG028157
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
Sun, 18 Sep 2005 16:58:17 -0400 (EDT)
Message-ID: <432DD4E7.1060908@mit.edu>
Date: Sun, 18 Sep 2005 16:58:15 -0400
From: Kevin Chen <kchen@MIT.EDU>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Mnenhy/0.7.2.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Kevin Chen <kchen@mit.edu>
CC: bug-sipb@mit.edu
Subject: Re: updating ant to 1.6.5
References: <432C666E.2070006@mit.edu>
In-Reply-To: <432C666E.2070006@mit.edu>
X-Enigmail-Version: 0.92.0.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.099
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42
Kevin Chen wrote:
> I'd like to update ant in the sipb locker to 1.6.5. Are there any
> objections to my doing so? I'll do so tomorrow if I don't hear anything.
Done.
After I replaced the jar files, I found that the libraries I had in
$HOME/.ant/lib weren't being used, which is one reason why I had wanted
to upgrade to 1.6.5, since this feature is new in 1.6. I looked through
both the old and new ant startup scripts, and could not find where this
was occurring. As a result, I replaced the old startup script with the
new startup script.
The old startup script had a bunch of stuff that wasn't really necessary
removed -- I left it in the new script since it doesn't hurt and to keep
it more standard.
The old script always used Java 1.4.1_01 in the java_v1.4.1_01 locker.
The script as shipped with the package uses the first occurrence of Java
in the path. I modified the script to use the path unless it can't find
Java, in which case it uses the copy in /mit/java/current.
This specifically does not use /mit/java/bin/java, because the java
locker wrapper script seems to convert 'java -cp ""' into 'java -cp'.
I've reported this in Casetracker case 884941. (There's also an RCS log
message that says /mit/java/bin/java doesn't work, but that appears to
be for a different reason that probably doesn't apply anymore.)
--
Kevin Chen
http://www.sneswhiz.com/