ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Problems creating WAR file
Date Fri, 16 Nov 2001 00:50:45 GMT
On Fri, 16 Nov 2001 08:16, Michael Weir (Transform Research) wrote:
> I create a .war file using ant code that looks like this:
>
> 		<zip	zipfile="${win32.webappsDir}/cm.war"
> 				basedir="${win32.webappsDir}"
> 				excludes="*.war"
> 				excludes="*.properties"
> 		/>
>
> I'm on W2K, and when I use Explorer to look at my directories, they are all
> in the correct case, that is "CM/WEB-INF".
>
> But when I look inside the new .war file, the case has been changed.  The
> files in the WEB-INF directory have their directory as "cm\web-inf", and
> the files inside the "CM\WEB-INF\lib" directory are listed correctly.
>
> What's going on?  Can anyone help?

Your zip tools is "helping" you. If it identifies a file that is in full 
uppercase it thinks it is a DOS file and thus will display it all as lower 
case to make things more pretty. Nice of it to do that for you - isn't it ? ;)

-- 
Cheers,

Pete

----------------------------------------
"Liberty means responsibility. That is 
      why most men dread it." - Locke
----------------------------------------

--
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