I'm currently doing some web development using XDoclet and the cactus testing framework. Cactus is a servlet and it needs to be packaged in the war with the application I'm testing.
Consider this scenario: I have 100 servlets. I'm using XDoclet to generate a huge web.xml. Then I want to use Cactus. I'll have to maintain a huge servlet-mappings.xml because the introduction of Cactus results in all mappings from the @web:servlet-mapping tags being ignored. I'm facing a maintenance nightmare. I've written servlets.xml and servlet-mappings.xml that refer to Cactus. The problem is that when merge files are used, the mappings from the @web:servlet-mapping tags are left out of the resulting web.xml. The phenomenon is the same for a lot of other merge points in web_xml.j too except for the servlet element. I'd like everything to work the same way as for the servlet element (tags _plus_ merge file). It's only a matter of moving the start of the XdtMerge blocks. Does this make sense? I'll change it if nobody disagrees. (I realise that doing it this way would make it impossible to override the tags in the servlet classes with merge files, but does that really matter?) <aslak/> _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
