AW: Accessing the manifest within a jar file

2006-11-01 Thread Jan.Materne
>> I do not know the jarlib tasks. >> What are they ? > >Optional tasks already in Ant and the manual. I think Conor >may have added them, but I could be wrong. --DD Didnt knew them neiter ... but they are there ;-) - Jarlib-available - Jarlib-display - Jarlib-manifest - Jarlib-resolve >Thank

Re: Accessing the manifest within a jar file

2006-11-01 Thread Dominique Devienne
I do not know the jarlib tasks. What are they ? Optional tasks already in Ant and the manual. I think Conor may have added them, but I could be wrong. --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Accessing the manifest within a jar file

2006-10-31 Thread Antoine Levy-Lambert
Hello Dominique, I do not know the jarlib tasks. What are they ? Antoine Original-Nachricht Datum: Tue, 31 Oct 2006 07:46:49 -0600 Von: "Dominique Devienne" <[EMAIL PROTECTED]> An: "Ant Users List" Betreff: Re: Accessing the manifest within a ja

Re: Accessing the manifest within a jar file

2006-10-31 Thread Matt Benson
--- "Ivan \"Rambius\" Ivanov" <[EMAIL PROTECTED]> wrote: > Hello, > > You can also use Ant 1.7 zipentry resource: > > name="META-INF/MANIFEST.MF"/> Thanks for the resource plug, Ivan. :) Alternatively, assuming ${jar} points to the relevant jar file, you could use or ;) Note that

Re: Accessing the manifest within a jar file

2006-10-31 Thread Dominique Devienne
Actually, I am interested by the same sort of topic, for instance to collect Vendor/Version/Name information from a set of jar files and generate a report from this. There are the optional jarlib-* tasks already, although their focus might be just optional extensions. Maybe these can be built on

RE: Accessing the manifest within a jar file

2006-10-30 Thread Rebhan, Gilbert
er 31, 2006 8:28 AM To: Ant Users List Subject: RE: Accessing the manifest within a jar file Hi, Mike i've written a ManifestScanner task that scans the manifest of jar's in 1 - n filesets for a given key=value pair and writes all matches in a separated list. If you're interest

RE: Accessing the manifest within a jar file

2006-10-30 Thread Rebhan, Gilbert
ssage- From: Nau, Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 3:29 AM To: user@ant.apache.org Subject: Accessing the manifest within a jar file Anyone know of an easy way to access the manifest file within a jar file? I realize I can extract the manifest first using the

Re: Accessing the manifest within a jar file

2006-10-30 Thread Ivan \"Rambius\" Ivanov
Hello, You can also use Ant 1.7 zipentry resource: Regards Ivan --- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > Hello Michael, > > this is an interesting question. > > I would write my own custom Ant task . You can use > java.util.jar.JarFile > and java.util.jar.Manifest to access wha

Re: Accessing the manifest within a jar file

2006-10-30 Thread Antoine Levy-Lambert
Hello Michael, this is an interesting question. I would write my own custom Ant task . You can use java.util.jar.JarFile and java.util.jar.Manifest to access whathever information you want. Actually, I am interested by the same sort of topic, for instance to collect Vendor/Version/Name informati

Accessing the manifest within a jar file

2006-10-30 Thread Nau, Michael
Anyone know of an easy way to access the manifest file within a jar file? I realize I can extract the manifest first using the task, but I was hoping for a way to directly access the manifest file. I need to check for some specific info within the manifest of several jar files from my ant script.