diff --git a/CONTRIBUTORS b/CONTRIBUTORS index a3de7235e..1ccc112cf 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -227,6 +227,7 @@ Steve Loughran Steve Morin Steven E. Newton Takashi Okamoto +Tariq Master Thomas Butz Thomas Christen Thomas Christensen diff --git a/contributors.xml b/contributors.xml index e5ecb2516..53b900c2c 100644 --- a/contributors.xml +++ b/contributors.xml @@ -901,6 +901,10 @@ Takashi Okamoto + + Tariq + Master + Thomas Butz diff --git a/docs/manual/CoreTasks/war.html b/docs/manual/CoreTasks/war.html index 343b8e588..0d5a6b623 100644 --- a/docs/manual/CoreTasks/war.html +++ b/docs/manual/CoreTasks/war.html @@ -14,7 +14,7 @@ treatment for files that should end up in the WEB-INF/lib, WEB-INF/classes or WEB-INF directories of the Web Application Archive.

-

(The War task is a shortcut for specifying the particular layout of a WAR file. +

(The War task is a shortcut for specifying the particular layout of a WAR file. The same thing can be accomplished by using the prefix and fullpath attributes of zipfilesets in a Zip or Jar task.)

The extended zipfileset element from the zip task (with attributes prefix, fullpath, and src) is available in the War task.

@@ -41,7 +41,7 @@ to a value other than its default, "add".

warfile Deprecated name of the file to create -use destfile instead. - + webxml The deployment descriptor to use (WEB-INF/web.xml). @@ -192,7 +192,7 @@ then the war file myapp.war created with <exclude name="jdbc1.jar"/> </lib> <classes dir="build/main"/> - <zipfileset dir="src/graphics/images/gifs" + <zipfileset dir="src/graphics/images/gifs" prefix="images"/> </war> @@ -211,17 +211,19 @@ using Ant's default manifest file. The content of WEB-INF/web.xml is identical to src/metadata/myapp.xml. -We regulary receive bug reports that this task is creating the WEB-INF +

We regulary receive bug reports that this task is creating the WEB-INF directory, and thus it is our fault your webapp doesn't work. The cause of these complaints lies in WinZip, which turns an all upper-case directory into an all lower case one in a fit of helpfulness. Please check that jar xvf yourwebapp.war shows the same behaviour before filing another -report. +report.
+Winzip has an option allowing all uppercase names (which is off by default!). It can be enabled by: +Menu "Options" -> "Configuration", "View" property/tab page, then "General" group box has an option called "Allow all uppercase file names". +


-

Copyright © 2000-2005 The Apache Software Foundation. All rights +

Copyright © 2000-2006 The Apache Software Foundation. All rights Reserved.

-