Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 4182 invoked from network); 15 Jun 2010 17:23:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 17:23:27 -0000 Received: (qmail 75308 invoked by uid 500); 15 Jun 2010 17:23:27 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 75261 invoked by uid 500); 15 Jun 2010 17:23:26 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 75253 invoked by uid 99); 15 Jun 2010 17:23:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 17:23:26 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Alexander.Foreman@morganstanley.com designates 199.89.103.69 as permitted sender) Received: from [199.89.103.69] (HELO pimtaint02.ms.com) (199.89.103.69) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 17:23:17 +0000 Received: from pimtaint02 (localhost.ms.com [127.0.0.1]) by pimtaint02.ms.com (output Postfix) with ESMTP id A5A9B400583 for ; Tue, 15 Jun 2010 13:22:56 -0400 (EDT) Received: from ny0030as01 (unknown [144.203.194.92]) by pimtaint02.ms.com (internal Postfix) with ESMTP id 8B390400556 for ; Tue, 15 Jun 2010 13:22:56 -0400 (EDT) Received: from ny0030as01 (localhost [127.0.0.1]) by ny0030as01 (msa-out Postfix) with ESMTP id 6F568AE4D6A for ; Tue, 15 Jun 2010 13:22:56 -0400 (EDT) Received: from hqmsaext01.ms.com (hqmsaext01 [205.228.53.70]) by ny0030as01 (mta-in Postfix) with ESMTP id 6CDE1B08037 for ; Tue, 15 Jun 2010 13:22:56 -0400 (EDT) Received: from hqmsaext01 (localhost.ms.com [127.0.0.1]) by hqmsaext01.ms.com (output Postfix) with ESMTP id 6086A54077 for ; Tue, 15 Jun 2010 13:22:56 -0400 (EDT) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by hqmsaext01.ms.com (submission Postfix) with ESMTPS id 16CE85406B for ; Tue, 15 Jun 2010 13:22:55 -0400 (EDT) Received: by fxm7 with SMTP id 7so3959044fxm.13 for ; Tue, 15 Jun 2010 10:22:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.102.193.9 with SMTP id q9mr2560150muf.11.1276622574828; Tue, 15 Jun 2010 10:22:54 -0700 (PDT) Received: by 10.102.244.15 with HTTP; Tue, 15 Jun 2010 10:22:54 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 Jun 2010 18:22:54 +0100 Message-ID: Subject: Re: Problem with version of Apache Ant 1.8.1 From: Alex Foreman To: Ant Users List Content-Type: text/plain; charset=ISO-8859-1 X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.35/RELEASE, bases: 15062010 #4031068, status: clean X-Virus-Checked: Checked by ClamAV on apache.org HI, Thanks for your input. What had actually happened is that I generated a Source jar (ant.src.jar) and placed it next to ant.jar inorder that eclipse could attach the source intellegently. I did not realise that this included the versions.txt file which has not been instrumented. Tor some reason this is in a different classpath order in windows compared to linux which is confusing. OS specific, not Ants fault as far as I can tell. I am regenerating the src file to nly include the java files. Is there any chance ant could include a src jar as part of the binary distribution or am I always going to have to generate this file myself. Again thanks for the replies. On 15 June 2010 14:21, Peter Reilly wrote: > I get >> ant -version > Apache Ant version 1.8.1 compiled on April 30 2010 > on linux. > > Peter > > > On Tue, Jun 15, 2010 at 1:58 PM, Alex Foreman > wrote: >> There seems to be a problem with 1.8.1 reporting the correct version. >> >> With Ant 1.8.0 on the classpath: >> >> unix: >>> ant -version >> Apache Ant version 1.8.0 compiled on February 1 2010 >> windows: >> C:\> ant -version >> Apache Ant version 1.8.0 compiled on February 1 2010 >> >> With Ant 1.8.1: >> unix: >>> ant -version >> Apache Ant version ${project.version} compiled on ${TODAY} >> windows: >> C:\> ant -version >> Apache Ant version 1.8.0 compiled on April 20 2010 >> >> Can this be verified as a bug? Is there an easy way to fix this? >> >> Note these are being loaded from the same place on a drive visable to >> both machines. So they are the same binaries that is being called. >> >> Many thanks, >> >> >> -- >> Alex Foreman >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > -- Alex Foreman --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org