facebook

validate class names in xml config files

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #205766 Reply

    The Spring UI for Eclipse project (http://springui.sourceforge.net/) uses IProject.findType() to validate that the specified class name exists within the current project. It would be nice if this was done in the web.xml and strugs-config.xml files to validate that the XML contained valid class names.

    #205773 Reply

    Riyad Kalla
    Member

    Andy,
    Great suggestion, these are the types of enhancements we are shooting for, to make things easier for the developer.

    #205774 Reply

    +1

    Sounds great indeed. For struts files this should be extended even further.
    – With forwards to JSP’s check if the jsp exists
    – When using tiles to forward to, check if the tile exists
    – for a tile, check if the (jsp) pages a tile is composed of exists

    These are current issues that with small mistakes can lead to a lot of additional deployments. And since a deployment in our case takes several minutes, a few small typos are really annoying

    #205775 Reply

    Riyad Kalla
    Member

    Ronald,
    Those are more great suggestions, keep them comming!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: validate class names in xml config files

You must be logged in to post in the forum log in