You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Corbin <dc...@imperitek.com> on 2001/08/10 02:04:36 UTC

and web-inf

I've building a war file using <war> using ant 1.3

When I examine the .WAR file, those files that were added from <classes> and
<lib> show a path of "WEB-INF", and those from <webinf> and the <war
webxml=?> show a path of "web-inf".

Now, I'm on a Windows system at the moment, so I expect things will be fine,
but it seems wrong to me.

Comments?

Thanks.
David Corbin


Re: and web-inf

Posted by David Corbin <dc...@imperitek.com>.
You're right.  It was winzip at fault.  I just didn't imagine that it would
only "help" me for some of them.  Sorry for the misdirection...
David

----- Original Message -----
Some win32 zip tools do "help" you this way-- they display the name in
lowercase, even though they're not actually lowercase in the file.
If you use "jar tf <file>", it should display it in all caps, as it truly is
in the file.

miroac





Re: and web-inf

Posted by Mitchell Ackermann <mi...@epsiia.com>.
On Fri, 10 Aug 2001 20:52, David Corbin wrote:
> But it is only doing some of them, not all of them....
> ----- Original Message -----
> From: "Peter Donald" <do...@apache.org>
> To: <an...@jakarta.apache.org>
> Sent: Friday, August 10, 2001 2:01 AM
> Subject: Re: <war> and web-inf
>
> > On Fri, 10 Aug 2001 15:42, Stefan Bodewig wrote:
> > > On Thu, 9 Aug 2001, David Corbin <dc...@imperitek.com> wrote:
> > > > When I examine the .WAR file, those files that were added from
> > > > <classes> and <lib> show a path of "WEB-INF", and those from
> > > > <webinf> and the <war webxml=?> show a path of "web-inf".
> > >
> > > Hmm, in the source of the task it is WEB-INF in all cases, and those
> > > I've created on Unix like systems have all been fine so far.
> >
> > Some zip tools "help" you because they thing it has been zipped on a
> > win32 system and that is the reason for full CAPs entries. So if an entry
> > is all in caps it will put it all in lower case to "help" you.
> >
> > Cheers,
> >
> > Pete
> >
> > *-----------------------------------------------------*
> >
> > | "Faced with the choice between changing one's mind, |
> > | and proving that there is no need to do so - almost |
> > | everyone gets busy on the proof."                   |
> > |              - John Kenneth Galbraith               |
> >
> > *-----------------------------------------------------*

Some win32 zip tools do "help" you this way-- they display the name in lowercase, even though they're not actually lowercase in the file.
If you use "jar tf <file>", it should display it in all caps, as it truly is in the file.

miroac


Re: and web-inf

Posted by Peter Donald <do...@apache.org>.
So some entries that have filenames *all* in capitals are being displayed?

On Fri, 10 Aug 2001 20:52, David Corbin wrote:
> But it is only doing some of them, not all of them....
> ----- Original Message -----
> From: "Peter Donald" <do...@apache.org>
> To: <an...@jakarta.apache.org>
> Sent: Friday, August 10, 2001 2:01 AM
> Subject: Re: <war> and web-inf
>
> > On Fri, 10 Aug 2001 15:42, Stefan Bodewig wrote:
> > > On Thu, 9 Aug 2001, David Corbin <dc...@imperitek.com> wrote:
> > > > When I examine the .WAR file, those files that were added from
> > > > <classes> and <lib> show a path of "WEB-INF", and those from
> > > > <webinf> and the <war webxml=?> show a path of "web-inf".
> > >
> > > Hmm, in the source of the task it is WEB-INF in all cases, and those
> > > I've created on Unix like systems have all been fine so far.
> >
> > Some zip tools "help" you because they thing it has been zipped on a
> > win32 system and that is the reason for full CAPs entries. So if an entry
> > is all
>
> in
>
> > caps it will put it all in lower case to "help" you.
> >
> > Cheers,
> >
> > Pete
> >
> > *-----------------------------------------------------*
> >
> > | "Faced with the choice between changing one's mind, |
> > | and proving that there is no need to do so - almost |
> > | everyone gets busy on the proof."                   |
> > |              - John Kenneth Galbraith               |
> >
> > *-----------------------------------------------------*

-- 
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

Re: and web-inf

Posted by David Corbin <dc...@imperitek.com>.
But it is only doing some of them, not all of them....
----- Original Message -----
From: "Peter Donald" <do...@apache.org>
To: <an...@jakarta.apache.org>
Sent: Friday, August 10, 2001 2:01 AM
Subject: Re: <war> and web-inf


> On Fri, 10 Aug 2001 15:42, Stefan Bodewig wrote:
> > On Thu, 9 Aug 2001, David Corbin <dc...@imperitek.com> wrote:
> > > When I examine the .WAR file, those files that were added from
> > > <classes> and <lib> show a path of "WEB-INF", and those from
> > > <webinf> and the <war webxml=?> show a path of "web-inf".
> >
> > Hmm, in the source of the task it is WEB-INF in all cases, and those
> > I've created on Unix like systems have all been fine so far.
>
> Some zip tools "help" you because they thing it has been zipped on a win32
> system and that is the reason for full CAPs entries. So if an entry is all
in
> caps it will put it all in lower case to "help" you.
>
> Cheers,
>
> Pete
>
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof."                   |
> |              - John Kenneth Galbraith               |
> *-----------------------------------------------------*
>
>


Re: and web-inf

Posted by Peter Donald <do...@apache.org>.
On Fri, 10 Aug 2001 15:42, Stefan Bodewig wrote:
> On Thu, 9 Aug 2001, David Corbin <dc...@imperitek.com> wrote:
> > When I examine the .WAR file, those files that were added from
> > <classes> and <lib> show a path of "WEB-INF", and those from
> > <webinf> and the <war webxml=?> show a path of "web-inf".
>
> Hmm, in the source of the task it is WEB-INF in all cases, and those
> I've created on Unix like systems have all been fine so far.

Some zip tools "help" you because they thing it has been zipped on a win32 
system and that is the reason for full CAPs entries. So if an entry is all in 
caps it will put it all in lower case to "help" you.

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

Re: and web-inf

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 9 Aug 2001, David Corbin <dc...@imperitek.com> wrote:

> When I examine the .WAR file, those files that were added from
> <classes> and <lib> show a path of "WEB-INF", and those from
> <webinf> and the <war webxml=?> show a path of "web-inf".

Hmm, in the source of the task it is WEB-INF in all cases, and those
I've created on Unix like systems have all been fine so far.

Stefan

Re: and web-inf

Posted by Erik Hatcher <er...@earthlink.net>.
Interesting.... I noticed the same thing in my WAR files built on Win2k.
But the ones we build using the same build.xml on a Linux box has the path
names in all CAPS.   Must be an O/S specific thing.

    Erik


----- Original Message -----
From: "David Corbin" <dc...@imperitek.com>
To: <an...@jakarta.apache.org>
Sent: Thursday, August 09, 2001 5:04 PM
Subject: <war> and web-inf


> I've building a war file using <war> using ant 1.3
>
> When I examine the .WAR file, those files that were added from <classes>
and
> <lib> show a path of "WEB-INF", and those from <webinf> and the <war
> webxml=?> show a path of "web-inf".
>
> Now, I'm on a Windows system at the moment, so I expect things will be
fine,
> but it seems wrong to me.
>
> Comments?
>
> Thanks.
> David Corbin
>