ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <>
Subject Re: Creating WARs and Weblogic
Date Tue, 13 Nov 2001 19:18:35 GMT

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?


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-
> For additional commands, e-mail: 
> <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message