Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 711E6F6CE for ; Thu, 28 Mar 2013 03:11:19 +0000 (UTC) Received: (qmail 46960 invoked by uid 500); 28 Mar 2013 03:11:18 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 46851 invoked by uid 500); 28 Mar 2013 03:11:18 -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 42490 invoked by uid 99); 28 Mar 2013 03:08:15 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jattardi@gmail.com designates 209.85.223.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=wfslIlD1NiyTAthJmxowmu4PqSPhe70Ts/rcDARCL9U=; b=m3BqMxncvPTE7YwWdAL+KLEdyyioFqL+B8AkClQXUy8TBrGhAHhT6M9vs0m7Tt+MQ/ /+fffgTNUiEanY6GhqMAys4Wy6xQECtFjAyNw8jeYXgkEHqIW9XIOk4z7r67tnA7Qqmz 4ho0AQM+1l0HyX/3dSDAr+0x7OLTOfNrl/VaY5mWLD6tDHCb5nL0iJ9sLZsMZmVwid+l bRQC7fMUU3UcnYJEcAjZIKzoLltGTQZPE200nUGW3TS0nqOUbXbQ12YPLZxiGYsEnm9P L8IycaZaRkDKBcj2FcxYP1vqf9NZPVqEX58SARRzPatyljSSdJbxUx4NqwUKaQx2B5nd 5OZg== X-Received: by 10.50.119.67 with SMTP id ks3mr5887575igb.90.1364440071055; Wed, 27 Mar 2013 20:07:51 -0700 (PDT) MIME-Version: 1.0 Sender: jattardi@gmail.com In-Reply-To: <1364439784.2046.3.camel@localhost> References: <1364430431.5804.5.camel@localhost> <1364438612.2046.0.camel@localhost> <1364439784.2046.3.camel@localhost> From: Joe Attardi Date: Wed, 27 Mar 2013 23:07:30 -0400 X-Google-Sender-Auth: tZmNKbU8qPTj1V60rL1iv1EvPPA Message-ID: Subject: Re: Java 5 fails to run jar files created with Ant 1.9.0 To: Ant Users List Content-Type: multipart/alternative; boundary=089e011847f6c0b8b604d8f375c4 X-Virus-Checked: Checked by ClamAV on apache.org --089e011847f6c0b8b604d8f375c4 Content-Type: text/plain; charset=ISO-8859-1 It appears to be nothing obvious, then :) Sorry I wasn't much help. On Wed, Mar 27, 2013 at 11:03 PM, Marc Benstein wrote: > Joe, there is nothing screwy in the manifest. As I said, the jar works > fine from Java 6 and 7. Also note, the exact build is used with Ant > 1.8.4 and everything works great there. Anyways, here's the manifest. > > Manifest-Version: 1.0 > Ant-Version: Apache Ant 1.9.0 > Created-By: 1.7.0_17-b02 (Oracle Corporation) > Implementation-Vendor: Ultramain Systems, Inc. > Implementation-Title: blb_core-trunk > Implementation-Version: trunk > Package-Version: B.8 > Build-Host: usi-3862l.ultramain.com > Java-Target-Version: 5 > Main-Class: com.ultramain.util.USIJarLoader > Class-Path: lib/winpack-3.6.jar lib/jniwrap-3.6.1.jar lib/dom4j-1.6.1. > jar lib/jaxen-1.1-beta-6.jar > > > > > On Wed, 2013-03-27 at 20:47 -0600, Joe Attardi wrote: > > Interesting. Is the manifest intact? Maybe post the contents of your > > MANIFEST.MF from the generated JAR file, and perhaps there will be > > something screwy in there. > > > > > > On Wed, Mar 27, 2013 at 10:43 PM, Marc Benstein >wrote: > > > > > Joe, there is not an error when I try jar tf myjar.jar. I see the > > > contents just fine. > > > > > > On Wed, 2013-03-27 at 19:56 -0600, Joe Attardi wrote: > > > > Is the error just when you try to execute the JAR? What if you > simply try > > > > to list its contents (jar tf myjar.jar)? > > > > > > > > > > > > On Wed, Mar 27, 2013 at 8:27 PM, Marc Benstein < > MBenstein@ultramain.com > > > >wrote: > > > > > > > > > Howdy, > > > > > > > > > > Java 5 fails to execute jars created with Ant 1.9.0. Java 6 and 7 > work > > > > > fine to execute the jar. > > > > > > > > > > The message I am seeing in Java 5 is "Invalid or corrupt jarfile" > > > > > > > > > > I have tried my target JVM of 1.5.0_06 on Windows 7 and Linux and > I get > > > > > the same output. I have also tried 1.5.0_22 with the same results. > > > > > > > > > > Any help would be appreciated. > > > > > > > > > > Thanks > > > > > -- > > > > > Marc Benstein > > > > > > > > > > Ultramain Systems, Inc. > > > > > 8100 Lang Avenue NE > > > > > Albuquerque, NM 87109 > > > > > USA > > > > > > > > > > TEL 505.828.9000 > > > > > FAX 505.823.1841 > > > > > www.ultramain.com > > > > > > > > > > Confidentiality Notice: This email message and any files > transmitted > > > with > > > > > it may contain confidential information intended only for the > > > person(s) to > > > > > whom this email is addressed. If you have received this email in > error, > > > > > please notify the sender immediately by phone or email and destroy > the > > > > > original message without making a copy. Thank you. > > > > > > > > > > > > > > > > > > > > > > > -- > > > Marc Benstein > > > > > > Confidentiality Notice: This email message and any files transmitted > with > > > it may contain confidential information intended only for the > person(s) to > > > whom this email is addressed. If you have received this email in error, > > > please notify the sender immediately by phone or email and destroy the > > > original message without making a copy. Thank you. > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: user-help@ant.apache.org > > > > > > > > > > > -- > Marc Benstein > > Confidentiality Notice: This email message and any files transmitted with > it may contain confidential information intended only for the person(s) to > whom this email is addressed. If you have received this email in error, > please notify the sender immediately by phone or email and destroy the > original message without making a copy. Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > -- *Joe Attardi* joe@attardi.net --089e011847f6c0b8b604d8f375c4--