IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes Web Deployment Descriptor task Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Web Deployment Descriptor task" Watch "Web Deployment Descriptor task" New topic
Author

Web Deployment Descriptor task

Tony Morris
Ranch Hand

Joined: Sep 24, 2003
Posts: 1608
I'm looking for an Ant task (or any feasible solution actually) that would modify an existing web.xml deployment descriptor. Id like to solution to not require changes to the original web.xml file.
An ideal solution would be a <webxml> task and would look something like this to add a servlet-mapping to the deployment descriptor:

If anyone knows of such a task, or has a solution to this kind of problem, I would appreciate learning about it.
Kind of like AOP for web deployment descriptors
Thanks.


Tony Morris
Java Q&A (FAQ, Trivia)
 
 
subject: Web Deployment Descriptor task
 
Threads others viewed
2 struts applications in 1 web.xml
how to deploy portlet in pluto portal with tomcat server
Tom CAT help
Basic Servlet question
Want to instance a class on startup of tomcat in the JVM that will be used for JSP
Two Laptop Bag