You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Nau, Michael" <Mi...@pyxis.com> on 2003/01/14 02:31:18 UTC

Accessing information from a manifest

Is there a way within ant to access information from a manifest. It
looks like the <manifest> task is designed to only set values, not
retrieve them.

I want to present the current "Specification Version" of a jar file to
the person running my build.xml.

Any ideas?

Thanks,
Mike.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Accessing information from a manifest

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 13 Jan 2003, Michael Nau <Mi...@pyxis.com> wrote:

> I want to present the current "Specification Version" of a jar file
> to the person running my build.xml.

Take a look at the optional jarlib-* tasks.  I've never used them
myself, but they may provide a starting point to you.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>