facebook

JSP Validation only happens in a web project

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #246348 Reply

    frensley
    Member

    I just upgraded to 4.1. I used to be able to make a link in my java project to a folder on the file system which is the context of my app server and thus full of jsps. I could directly edit them and have content assist available. Now in a standard Java project it doesnt seem to validate JSPs. Is there some way to recover this functionality?

    Thanks.

    #246353 Reply

    Riyad Kalla
    Member

    frensley,
    Double check your validation settings in your project properties-> MyEclipse-Validation. You also need to be sure that your JDK’s bin directory is in your system path so the validation can find the javac executable.

    #246356 Reply

    frensley
    Member

    Javac is in the path. Validation is enabled. I can create a web project and it works fine. I am having problems with a normal Java project. It no longer works like it did in previous versions. Thanks.

    #246357 Reply

    Riyad Kalla
    Member

    Just to clarify these files are in the project or part of a linked resource?

    #246359 Reply

    frensley
    Member

    They are in file folder that is linked to a folder on the file system via the advanced button. Thanks.

    #246368 Reply

    Riyad Kalla
    Member

    This seems to be a regression, I’ll file it ASAP.

    #246369 Reply

    Riyad Kalla
    Member

    Try this:
    Project Properties > Builders > New… ,do you see a “Validator” builder that you can add?

    #246464 Reply

    frensley
    Member

    The project has a Validation builder already there. Selecting new only returns two. “Ant Build” and “Program”. Thank you.

    #246468 Reply

    Riyad Kalla
    Member

    Try and restart your computer. In my attempts at trying to narrow down this bug, validation began working in my Java Project. None the less I have filed it as a bug and we are looking into it.

    #246469 Reply

    frensley
    Member

    Just rebooted and still no joy. Thanks.

    #246749 Reply

    frensley
    Member

    I have figured this out somewhat. It is a memory issue. I just realized that my vgmargs had a typo and I was using the default memory config. However, I didnt realize this until the workbench ran out of memory. I corrected the args, and now I have content assist available in a linked file system folder. This explains why you restarting fixed (maybe). So, I think the real issue is that we are not getting errors reported by the validtor (or some sub system) about oom. Thanks.

    #246752 Reply

    Riyad Kalla
    Member

    Thank you for the heads up, I will add this to the bug.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: JSP Validation only happens in a web project

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