Author: jhm
Date: Fri Jul 28 04:21:47 2006
New Revision: 426479
URL: http://svn.apache.org/viewvc?rev=426479&view=rev
Log:
Update the note about Winzip and WEB-INF directory.
Modified:
ant/core/trunk/CONTRIBUTORS
ant/core/trunk/contributors.xml
ant/core/trunk/docs/manual/CoreTasks/war.html
Modified: ant/core/trunk/CONTRIBUTORS
URL:
http://svn.apache.org/viewvc/ant/core/trunk/CONTRIBUTORS?rev=426479&r1=426478&r2=426479&view=diff
==============================================================================
Binary files - no diff available.
Modified: ant/core/trunk/contributors.xml
URL:
http://svn.apache.org/viewvc/ant/core/trunk/contributors.xml?rev=426479&r1=426478&r2=426479&view=diff
==============================================================================
--- ant/core/trunk/contributors.xml (original)
+++ ant/core/trunk/contributors.xml Fri Jul 28 04:21:47 2006
@@ -902,6 +902,10 @@
<last>Okamoto</last>
</name>
<name>
+ <first>Tariq</first>
+ <last>Master</last>
+ </name>
+ <name>
<first>Thomas</first>
<last>Butz</last>
</name>
Modified: ant/core/trunk/docs/manual/CoreTasks/war.html
URL:
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/war.html?rev=426479&r1=426478&r2=426479&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/war.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/war.html Fri Jul 28 04:21:47 2006
@@ -14,7 +14,7 @@
treatment for files that should end up in the
<code>WEB-INF/lib</code>, <code>WEB-INF/classes</code> or
<code>WEB-INF</code> directories of the Web Application Archive.</p>
-<p>(The War task is a shortcut for specifying the particular layout of a WAR
file.
+<p>(The War task is a shortcut for specifying the particular layout of a WAR
file.
The same thing can be accomplished by using the <i>prefix</i> and
<i>fullpath</i>
attributes of zipfilesets in a Zip or Jar task.)</p>
<p>The extended zipfileset element from the zip task (with attributes
<i>prefix</i>, <i>fullpath</i>, and <i>src</i>) is available in the War
task.</p>
@@ -41,7 +41,7 @@
<td valign="top">warfile</td>
<td valign="top"><i>Deprecated<i> name of the file to create
-use <tt>destfile</tt> instead.</td>
- </tr>
+ </tr>
<tr>
<td valign="top">webxml</td>
<td valign="top">The deployment descriptor to use (WEB-INF/web.xml).</td>
@@ -192,7 +192,7 @@
<exclude name="jdbc1.jar"/>
</lib>
<classes dir="build/main"/>
- <zipfileset dir="src/graphics/images/gifs"
+ <zipfileset dir="src/graphics/images/gifs"
prefix="images"/>
</war>
</pre>
@@ -211,17 +211,19 @@
<code>WEB-INF/web.xml</code> is identical to
<code>src/metadata/myapp.xml</code>.
-We regulary receive bug reports that this task is creating the WEB-INF
+<p>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.<br/>
+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".
+</p>
<hr>
-<p align="center">Copyright © 2000-2005 The Apache Software Foundation.
All rights
+<p align="center">Copyright © 2000-2006 The Apache Software Foundation.
All rights
Reserved.</p>
</body>
</html>
-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]