Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Validation of web.xml for 2.5 projects
Validation of web.xml for 2.5 projects [message #202874] Tue, 23 October 2007 08:30
kiril mitov is currently offline kiril mitovFriend
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: Fri Mar 29 13:13:55 GMT 2024

Powered by FUDForum. Page generated in 0.03302 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top