You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "H, Sugumaran (CORP, GEITC)" <Su...@geind.ge.com> on 2002/05/13 11:58:04 UTC

Name attribute in Manifest file

I am in the process of converting our Build scripts form .bat files to Ant
scripts. While invoking the jar command from dos prompt and including out
own Manifest file without Name attribute, we are not getting any errors, but
while I am using the built-in ant task Jar to make the jar files and while I
am supplying our own jar files that doesn't contain the Name attribute, its
complaining that wrong Manifest file. Any info. on how to use a Manifest
file without Name attribute? or any info on what kind of mistake I am doing?

Thanks,
Sugu


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this 
communication is strictly Prohibited. 
If you have received this message by error, please notify us 
immediately, return the original mail to the sender and delete the 
message from your system."


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


Re: Name attribute in Manifest file

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
H, Sugumaran (CORP, GEITC) wrote:
> I am in the process of converting our Build scripts form .bat files to Ant
> scripts. While invoking the jar command from dos prompt and including out
> own Manifest file without Name attribute, we are not getting any errors, but
> while I am using the built-in ant task Jar to make the jar files and while I
> am supplying our own jar files that doesn't contain the Name attribute, its
> complaining that wrong Manifest file. Any info. on how to use a Manifest
> file without Name attribute? or any info on what kind of mistake I am doing?
> 
> Thanks,
> Sugu
> 


You really need to provide more detailed information if you want us to help 
you. Information such as

1. How are you using the <jar> task? A build file snippet would help.

2. What is the exact error message you are getting?

3. What does the manifest file look like?

Conor



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