how to disable jsp search in IBM contribution [message #40524] |
Tue, 24 August 2004 09:50  |
Eclipse User |
|
|
|
Originally posted by: fgiust.gmail.com
After installing IBM wtp contribution, java searches in eclipse are
incredibly slow and they often ends with errors (with a never ending
"Jsp search indexing workspace" task). Also memory usage seems to
increase, and using search in projects with a large number of jsp files
can cause out of memory errors.
I couldn't find any option in preferences to disable jsp search, but
after playing with plugin descriptors I found the extensions you need to
comment out to make eclipse usable again.
I'm posting the required changes, for anyone having the same problem:
in plugins/com.ibm.sse.model.jsp_6.0.0
open plugin.xml and remove the following section:
<!-- index JSP files for search when document is built -->
<extension
id="com.ibm.sse.editor.jsp.builderparticipant.jsp.search"
point="com.ibm.sse.model.builderparticipant">
<participant
class=" com.ibm.sse.model.jsp.internal.java.search.JSPSearchBuilderP articipant "
contentType="com.ibm.sse.model.jsp.jspsource">
</participant>
</extension>
in plugins/com.ibm.sse.editor.jsp_6.0.0
open plugin.xml and remove the following section:
< !--========================================================= =============================-- >
<!-- queryParticipant to participate in java seraches
-->
< !--========================================================= =============================-- >
<extension
point="org.eclipse.jdt.ui.queryParticipants">
<queryParticipant
label="JSP Query Participant"
nature="org.eclipse.jdt.core.javanature"
class=" com.ibm.sse.editor.jsp.internal.java.search.ui.JSPQueryParti cipant "
id="com.ibm.sse.editor.jsp.java.search.ui.JSPQueryParticipant ">
</queryParticipant>
</extension>
After this change I can successfully use the "find references" command
again, while the jsp editor still works.
fabrizio
|
|
|
|
|
|
Re: how to disable jsp search in IBM contribution [message #44222 is a reply to message #44159] |
Wed, 15 September 2004 02:55  |
Eclipse User |
|
|
|
Dear David,
Thank you very much.
It worked. I was about to remove ibm contribution.
Thanks again.
David Williams wrote:
> > I have modified both files, but problems are still same.
> Just a guess, but you might try invoking once with -clean argument to
> Eclipse
> to make sure plugins are re-parsed and new manifests created.
> (May not help, since I think they are supposed to be if date/time stamp
> is different, but I've lost track of details).
|
|
|
Powered by
FUDForum. Page generated in 1.07936 seconds