- This topic has 1 reply, 1 voice, and was last updated 19 years, 11 months ago by Dorothy gantenbein.
-
AuthorPosts
-
Dorothy gantenbeinMemberHi –
We have a jsp that takes 8+ hours to compile. This problem showed up with MyEclipse 3.8.2 but was not an issue in 3.8.1. When th compile of the jsp finally finishes, there are hundreds of errors about an invalid jsp param (sorry do not have actual message because it happened for a different person who did not write down the exact error).
After some experimentation, I have found what is triggering the exceedlingly long compile. Here is the problem JSP fragment.
<jsp:include page=”/portal/jspf/header.jspf”>
<c:choose>
<c:when test=”${errorHandlingHelper.consistentState}”>
<jsp:param name=”showNavigationButtons” value=”true”/>
</c:when>
<c:otherwise>
<jsp:param name=”showNavigationButtons” value=”false”/>
</c:otherwise>
</c:choose><jsp:param name=”selectedButton” value=”updateProfile”/>
</jsp:include>
Dorothy gantenbeinMember(oops submitted before I was done)
Here is the reworked fragment that compiles…
<c:choose>
<c:when test=”${errorHandlingHelper.consistentState}”>
<jsp:include page=”/portal/jspf/header.jspf”>
<jsp:param name=”showNavigationButtons” value=”true”/>
<jsp:param name=”selectedButton” value=”updateProfile”/>
</jsp:include>
</c:when>
<c:otherwise>
<jsp:include page=”/portal/jspf/header.jspf”>
<jsp:param name=”showNavigationButtons” value=”false”/>
<jsp:param name=”selectedButton” value=”updateProfile”/>
</jsp:include>
</c:otherwise>
</c:choose>I can give you the entire jsp file if you need it. Here are the rest of the details about our systems.
Windows 2000 and Windows XP
Eclipse Version: 3.0.1, Build id: 200409161125
Fresh install of MyEclipse and Eclipse
No other plugins besides MyEclipse
There are noplugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
MyEclipse 3.8.2
JDK 1.4.2_03 for Eclipse and JRun4 app server
Just compile (or validate) jsps for my web project to reproduce
We are using the JRun4 app server
There is nothing in the Eclipse log file related to this problem. -
AuthorPosts