Looks like JDK's jar tool uses CRLF to end each line
in the manifest irrespective of what platform the jar
is being created under.  That is, the manifest present
in a jar file, whether it is created from Windows or
Unix, will have \r (^M) in each line.  Ant's Manifest 
creation routine does not do that - it ends each line
depending upon the platform - if it is Unix, it ends it
with \n - Unix's line separator, and if it is Windows,
it ends the line with \r\n - Windows's line separator.

Maybe this is causing your problem?

Magesh


On Wed, 14 Nov 2001 Magesh Umasankar wrote :
> 
> > looks the same, even down to the file size, (except 
> > for the manifest file.)  
> 
> When the jar is created using Ant in Windows, the 
> Manifest file is created with Windows specific line 
> separators.  Hence dumping the war created in windows 
> isn't readable in Unix, as Unix line separators are 
> different.
> 
> Guess the Manifest must be created by Ant using 
> platform-
> neutral line separators...
> 
> Magesh
>  
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@j-
> akarta.apache.org>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to