Re: [SPAM] Java 5 fails to run jar files created with Ant 1.9.0

2013-03-28 Thread Jarek Czekalski
Marc, could you take 2 jars, one generated with 1.8.4 and one generated with 1.9 and expand them to neighbouring directories? Then do diff -r with them. Possibly expanding with jar command coming from java 5. I expect either a difference in contents or difference in filenames. Maybe there are

Re: Java 5 fails to run jar files created with Ant 1.9.0

2013-03-28 Thread Marc Benstein
Using the manifest element within jar works fine. On Thu, 2013-03-28 at 12:53 -0600, Welsh, Armand wrote: > What happens if you insert a manifest element instead of a manifest property, > and let ANT dynamically build the manifest file? > > > > >

RE: Java 5 fails to run jar files created with Ant 1.9.0

2013-03-28 Thread Welsh, Armand
What happens if you insert a manifest element instead of a manifest property, and let ANT dynamically build the manifest file? -Original Message- From: Marc Benstein [mailto:mbenst...@ultramain.com] Sent: Thu

Re: Java 5 fails to run jar files created with Ant 1.9.0

2013-03-28 Thread Marc Benstein
On Thu, 2013-03-28 at 05:59 -0600, Stefan Bodewig wrote: > On 2013-03-28, Marc Benstein wrote: > > > Java 5 fails to execute jars created with Ant 1.9.0. Java 6 and 7 work > > fine to execute the jar. > > I assume creating the same jar with Ant 1.8.x works just fne for you. Correct. > > Ant 1.9.0

Re: Java 5 fails to run jar files created with Ant 1.9.0

2013-03-28 Thread Stefan Bodewig
On 2013-03-28, Marc Benstein wrote: > Java 5 fails to execute jars created with Ant 1.9.0. Java 6 and 7 work > fine to execute the jar. I assume creating the same jar with Ant 1.8.x works just fne for you. Ant 1.9.0 ships with a zip package that has some enhancements over the one in 1.8.x - Zip6

Re: Get dependant Libarary without -lib

2013-03-28 Thread Harold Putman
Nevermind. I read the stackoverflow articlemore carefully and when I followed all the instructions it totally worked: Here's my sample script. I have ant-classloadertas