Java Mailing List Archive

Apache Ant Archive

» Ant Users List
» Ant Developers List
Accessing the manifest within a jar file

Accessing the manifest within a jar file

2006-10-31       - By Rebhan, Gilbert
Reply:     1     2     3     4     5     6     7     8     9  

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 interested, just let me know, please mail to


-----Original Message-----
From: Nau, Michael [mailto:Michael.Nau@(protected)]
Sent: Tuesday, October 31, 2006 3:29 AM
To: user@(protected)
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 <unjar> 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.


To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.