DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43121>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43121 Summary: War task fails with "No WEB-INF/web.xml file was added" when called a second time Product: Ant Version: 1.7.0 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] I use the war task with just a fileset to define the content; the web.xml is in this fileset (in the WEB-INF dir of course); this is accepted behaviour according to the docs (the webxml attribute is optional). This works fine when building the war for the first time. However, when i rerun this command and the war file doesn't need to be updated (no files changed), the build fails with the following warning: web/build.xml:37: No WEB-INF/web.xml file was added. If this is your intent, set needxml='false' The work around is to set needxmlfile to false, but that is of course not what i intended. Btw. note that the error message incorrectly refers to the attribute "needxml": it should be needxmlfile. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]