ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Tibbetts <ttibbe...@ecmc.org>
Subject Re: Creating WARs and Weblogic
Date Tue, 13 Nov 2001 20:33:58 GMT
I'm doing everything under windows.
I did try taking the manifest file from the working war and put it into the 
non-working war with no success.


At 07:18 PM 11/13/2001 +0000, you wrote:

>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:ant-user-help@jakarta.apache.org>
> >
>
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message