|Validation of web.xml for 2.5 projects [message #202874]
||Tue, 23 October 2007 08:30
| kiril mitov
Registered: July 2009
I am trying to implement a validator for the web.xml file in 2.5 projects.
I have attached a patch with the initial ideas for implementation and a unit
test for the validator.
The validation is separated in two main classes -
The WebValidator is the emf validator for the model. I have added two
additional methods for checking Servlets and Servelts Mappings. The
validator also checks for every servlet element if the servlet class exists.
The JeeUIWarValidator is a wrapper for the calls to the WebValidator that
supports the cancelation of the validation.
The attached patch is just the initial idea of the implementation and it
will soon change.
It will be greate if you can check the implementation and give you comments.
Powered by FUDForum
. Page generated in 0.02304 seconds