Bug 43390 - Incorrect error message on ant war task
Summary: Incorrect error message on ant war task
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.7.0
Hardware: All All
: P2 trivial (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords: ErrorMessage
Depends on:
Blocks:
 
Reported: 2007-09-13 13:34 UTC by Maciek Sakrejda
Modified: 2008-02-22 12:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciek Sakrejda 2007-09-13 13:34:39 UTC
If a web.xml file is not specified for a war file, ant will fail the build and
complain:

BUILD FAILED
/home/maciek/foo/build.xml:262: No WEB-INF/web.xml file was added.
If this is your intent, set needxml='false' 

However, the suggestion is wrong (or at least out of date): the name of the
attribute is "needxmlfile", not "needxml".
Comment 1 Peter Reilly 2007-09-13 13:40:01 UTC
This is fixed in trunk.