Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Validation of web.xml for 2.5 projects
Validation of web.xml for 2.5 projects [message #202874] Tue, 23 October 2007 04:30
kiril mitov is currently offline kiril mitov
Messages: 69
Registered: July 2009
Member
Hi all,
I am trying to implement a validator for the web.xml file in 2.5 projects.

Check https://bugs.eclipse.org/bugs/show_bug.cgi?id=204148

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 -
org.eclipse.jst.javaee.web.internal.util.WebValidator and
org.eclipse.jst.javaee.internal.web.validation.JeeUIWarValid ator

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.

Best Regards,
Kiril
Previous Topic:Does WTP 2.0.2 need ORBIT ?
Next Topic:Help with WSDL validation error
Goto Forum:
  


Current Time: Wed Aug 27 11:22:56 EDT 2014

Powered by FUDForum. Page generated in 0.01683 seconds