Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 24369 invoked from network); 22 Aug 2008 18:26:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2008 18:26:01 -0000 Received: (qmail 7130 invoked by uid 500); 22 Aug 2008 18:25:59 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 6794 invoked by uid 500); 22 Aug 2008 18:25:58 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 6783 invoked by uid 99); 22 Aug 2008 18:25:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 11:25:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=FM_FAKE_HELO_VERIZON,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jim.showalter@verizon.net designates 206.46.252.46 as permitted sender) Received: from [206.46.252.46] (HELO vms046pub.verizon.net) (206.46.252.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 18:25:01 +0000 Received: from Antares ([151.200.123.7]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K6000HTVLT4WER9@vms046.mailsrvcs.net> for dev@ant.apache.org; Fri, 22 Aug 2008 13:24:41 -0500 (CDT) Date: Fri, 22 Aug 2008 14:24:40 -0400 From: "Jim Showalter" Subject: RE: Problem with -- resolved In-reply-to: To: "Ant Developers List" Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Virus-Checked: Checked by ClamAV on apache.org This has been resolved. I needed to set the encoding on the loadproperties task. Jim -----Original Message----- From: Jim Showalter [mailto:jim.showalter@verizon.net] Sent: Friday, August 22, 2008 10:04 AM To: Ant Developers List Subject: Problem with I posted this to Ant Users several weeks ago and have not received any responses so now I am trying the developers. I have searched some of the archives to no avail. I am having problems getting this to work as described. I am using Ant 1.7.1 with bcel-5.2 and java 1.6. The OS platform is Solaris 10 Unix. The only related environment variables set are ANT_HOME and JAVA_HOME. The bcel classParser throws a ClassFormatException when I run a very simple ant file. I put a print statement in the org.apache.bcel.classfile.ClassParser code and the problem appears to be that the readID method returns a 0x3F3F3F3F instead of the expected 0xCAFEBABE value. I have verified (using od -x) that the Foo.class file begins with 0xCAFEBABE. The files are below. //Foo.java public class Foo { public static final String TESTIT = "hello"; } ${Foo.TESTIT} Any help would be appreciated. Thanks Jim --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org