wood burning stoves 2.0*
The moose likes JSP and the fly likes case-insensitive WEB-INF by the jar ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "case-insensitive WEB-INF by the jar ... " Watch "case-insensitive WEB-INF by the jar ... " New topic
Author

case-insensitive WEB-INF by the jar ...

Jeya Balaji
Ranch Hand

Joined: Jan 02, 2003
Posts: 40
�� �� �� � � ��
Hi friends,
I have a strange problem. When I generate a .war file using ant, the WEB-INF directory name is stored as Web-inf (the culprit might be windows)
This is not for all the occurance. Only for the files directly under WEB-INF. For the other files like under WEB-INF/classes, the directory name is spelled correctly as WEB-INF
So, eventually, I end up getting a war file with the following directory structure :
...
web-inf\ web.xml
web-inf\ mytag.tld
WEB-INF\classes\mypack myBean.class
...
Why do we have two different dir names? The change in case did not give me a problem in windows environment; but I am afraid it might be a problem in linux where I am going to deploy.
The relavent code in build.xml (which is used by ant to create the WEB-INF dir and build myApp.war)

My development environment is :
Windows 98
jdk 1.3
Ant 1.5.1
Tomcat 4.1.12
The directory names in Windows explorer, shows the wrong name web-inf
In the dos prompt, dir command displays the correct name, WEB-INF
Is there any way I could rectify this problem?
A quick search in sun.com didn't give fruitful result.
Earlier I posted this question in 'Ant' forum and didnot get a response. I don't know the right forum; since I frequently visit jsp forum, I am posting here.
Regards,
Balaji


Regards, Balaji
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: case-insensitive WEB-INF by the jar ...
 
Similar Threads
Ant Undeploy Problem
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
Eclipse 3.3, Glassfish, WebServices and wsimport
case-insensitive WEB-INF by the jar ...
/build.xml:372: java.net.UnknownHostException: root +ant