Ant creates WAR/JAR files with a lower-case
March 20th, 2009
Applies to:
Ant
Description:
Occurs while using Apache Ant.
Cause:
Ant created WAR files with a lower-case web-inf or JAR files with a lower-case meta-inf directory.
Applies to:
Ant
Description:
Occurs while using Apache Ant.
Cause:
Ant created WAR files with a lower-case web-inf or JAR files with a lower-case meta-inf directory.
JAVA-Tools ant all are in small case, ant change to upper case, ant create uppercase jar, ant jar case, ant jar contains lower case files, ant jar folder upper case, ant jar with lowercase meta-inf, ant lower to upper, ant lower upper, ant lowercase, ant name lower upper, ant unzip lowercase, hibernate jar file in lcds.war, j, jar file lowercase, jar file with upper and lower case file, jar in lowercase, jar name starts with lowercase, lrm-00118: syntax error at '=' at the end of input, unzipping jar file upper and lower case, why winzip changes filename to capitals, win zip changes to lower case, winzip all uppercase, winzip change folder name lower case, winzip changes filename to lower case, winzip directory case, winzip filename case change, winzip files in lowercase, winzip lower case, winzip lowercase, winzip lowercase creates uppercase filename, winzip lowercase filename, winzip prevent lowercase filenames, winzip shows folder in lower case, winzip upper lower case error, winzip uppercase
You may have seen these lower-case directory names in WinZIP, but WinZIP is trying to be helpful (and fails). If WinZIP encounters a filename that is all upper-case, it assumes it has come from an old DOS box and changes the case to all lower-case for you.
If you extract (or just check) the archive with jar, you will see that the names have the correct case.
With WinZIP (version 8.1 at least), this can be corrected in the configuration. In the Options/Configuration menu, in the View tab, General section, check the “Allow all upper case files names” box. The META-INF and WEB-INF will look correct.