facebook

JSP pages don’t recompile when Java is modified

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #196510 Reply

    If I have a simple JSP page with the following snipet:

    <%
    MyClass foo = new MyClass();
    foo.bar();
    %>

    Which gives me a compile error – “The method foo() is undefined for the type MyClass”. If I go and edit MyClass.java to have the properly implemented signature, the JSP pages still reports the error after the java file is saved and recompiled.

    #196512 Reply

    Scott Anderson
    Participant

    I verified this behavior and entered it into our internal tracking system so it can be resolved in the next release.

    As a workaround, either touch and save the affected JSP page, thus forcing a recompile, or select Rebuild Project.

    Thanks for taking the time to report this so we can address it.

    –Scott
    MyEclipse Support

    #196956 Reply

    Scott Anderson
    Participant

    The GA release (v2.5.0) adds a “Recomplie All JSP’s” option on the project context menu as a stop-gap measure until a full JSP->Java dependency model is implemented in a follow-on release.

    –Scott
    MyEclipse Support

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSP pages don’t recompile when Java is modified

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