Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
jar update task - cannot remove a manifest name/value

jar update task - cannot remove a manifest name/value

2004-02-18       - By Mariano Benitez
Reply:     1     2  

I have a jar, I want to update it to add and REMOVE attributes of the
manifest.

Besides unjaring, replacing the manifest and rejaring, there is no way,
and I guess it would be quite simple to do it. I would save a lot of
time since the whole structure for updating the jar is there, I would
like a
<attribute name="Class-Path" delete="true"/>

to remove the classpath from a jar manifest, this is an example, it
might not be the best one. :)

MAriano

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



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.