Update manifest in existing jars with additional attributes

2010-01-12 Thread Vinayak
Hi, I have a need to build a target that updates/adds the manifest of jar files with additional attributes (perhaps replace if it's already present). If I use a jar task, with 'update="true"' and an inline manifest element containing the property I want to add, and no files specified, what is it

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
Thank you for at least looking at it. - Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: October 28, 2008 2:30 PM To: Ant Users List Subject: RE: Update Manifest I'm not sure what's going on now. It seems like it should work. The only differ

RE: Update Manifest

2008-10-28 Thread ray . harper
ify the sender immediately. Pascal Lalonde <[EMAIL PROTECTED]> 10/28/2008 12:55 PM Please respond to "Ant Users List" To Ant Users List cc Subject RE: Update Manifest This is not working:

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: October 28, 2008 12:48 PM To: Ant Users List Subject: RE: Update Manifest I read something about the Ant Manifest Tag not liking dashes "-" in the names of files ... try to create a file called test.mf and see if this works ... Make sure you hardcod

RE: Update Manifest

2008-10-28 Thread ray . harper
Pascal Lalonde <[EMAIL PROTECTED]> 10/28/2008 12:42 PM Please respond to "Ant Users List" To Ant Users List cc Subject RE: Update Manifest That's what I tough at the beginning. But they do exist. - Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
the folders do exist and both has a META-INF folder with the MANIFEST.MF file. - Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: October 28, 2008 12:41 PM To: Ant Users List Subject: RE: Update Manifest try creating a blank file and hardcoding the

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
That's what I tough at the beginning. But they do exist. - Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: October 28, 2008 12:32 PM To: Ant Users List Subject: Re: Update Manifest You may be getting the error because you are trying to perform an u

RE: Update Manifest

2008-10-28 Thread ray . harper
the sender immediately. Pascal Lalonde <[EMAIL PROTECTED]> 10/28/2008 12:34 PM Please respond to "Ant Users List" To Ant Users List cc Subject RE: Update Manifest Another weird thing is that when specifying the file attribute, the first manifest task is not working

Re: Update Manifest

2008-10-28 Thread ray . harper
, distribution or reliance upon the contents of this email is strictly prohibited. If you receive this email in error, please notify the sender immediately. Pascal Lalonde <[EMAIL PROTECTED]> 10/28/2008 11:55 AM Please respond to "Ant Users List" To "user@ant.apache.org" c

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
Users List Subject: Re: Update Manifest Hi Pascal, Looks like you left the filename out in the first manifest task ... this is required: http://ant.apache.org/manual/CoreTasks/manifest.html

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
008 12:14 PM To: Ant Users List Subject: Re: Update Manifest Hi Pascal, Looks like you left the filename out in the first manifest task ... this is required: http://ant.apache.org/manual/Cor

Re: Update Manifest

2008-10-28 Thread ray . harper
this email in error, please notify the sender immediately. Pascal Lalonde <[EMAIL PROTECTED]> 10/28/2008 11:55 AM Please respond to "Ant Users List" To "user@ant.apache.org" cc Subject Update Manifest I am attempting to update two manifest files from exist

Update Manifest

2008-10-28 Thread Pascal Lalonde
I am attempting to update two manifest files from existing jar and war. The goal of my ant task is to update their manifest file and jar the parent folder. This is what my task looks like: Copying the binaries

Re: Update manifest in jar with additional attribute

2005-10-27 Thread Antoine Levy-Lambert
Karr, David wrote: >I have a need to build a target that updates the manifest of a jar file >with an additional attribute (perhaps replace if it's already present). >If I use a jar task, with 'update="true"' and an inline manifest element >containing the property I want to add, and no files specif

Re: Update manifest in jar with additional attribute

2005-10-27 Thread Rhino
tion via my own experiments if they weren't too complicated to set up. Your question doesn't sound like it would be difficult to set up. Rhino - Original Message - From: "Karr, David" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Thursday, October 27

Update manifest in jar with additional attribute

2005-10-27 Thread Karr, David
I have a need to build a target that updates the manifest of a jar file with an additional attribute (perhaps replace if it's already present). If I use a jar task, with 'update="true"' and an inline manifest element containing the property I want to add, and no files specified, what is it likely t