Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JSP not recompiled on change in Java file
JSP not recompiled on change in Java file [message #499217] Fri, 20 November 2009 08:18 Go to previous message
David  Balažic is currently offline David Balažic
Messages: 127
Registered: July 2009
Senior Member
Using Eclipse Java EE package 3.5.1
Build id: 20090920-1017

I have a webapp project and noticed that in some cases Eclipse does not see a change and does not recompile (redetect errors).

I had a JSP file and a Java class file.

1.) The Java class has a static method.
2.) The JSP calls that method, but eclipse reports an error, as the java class is not imported.
3.) I add a page import directive
4.) Now I get that the method is not accessible/visible.
5.) I change the Java method to be "public" and sav the change.

Expected: the error mark in JSP goes away.
Actual: the error mark stays.

I added a meaningless space character to JSP and saved it, that triggered eclipse to notice, that the error is not present anymore.

I think eclipse should reevaluate compile errors in JSP when related Java files change.

Regards,
David
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:XDEBUG & PECL
Next Topic:getting started with adding custom library support to JSDT
Goto Forum:
  


Current Time: Tue May 21 16:04:45 EDT 2013

Powered by FUDForum. Page generated in 0.02218 seconds