Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » how to disable jsp search in IBM contribution
how to disable jsp search in IBM contribution [message #40524] Tue, 24 August 2004 09:50 Go to next message
Eclipse UserFriend
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 #40654 is a reply to message #40524] Tue, 24 August 2004 22:23 Go to previous messageGo to next message
Eclipse UserFriend
Worked great for me! I was about to give up on doing searches :-)
Thanks,
Derek

Fabrizio Giustina wrote:

> 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 #44072 is a reply to message #40654] Tue, 14 September 2004 09:41 Go to previous messageGo to next message
Eclipse UserFriend
Dear all,
is there something else to do to disable those searches.
I have modified both files, but problems are still same.

I deleted workspace, and loaded my project again,
but search for references still crash eclipse, by out of memory exception,
and still calls jsp indexing.

Any help is welcome!

Milan


Derek Adams wrote:

> Worked great for me! I was about to give up on doing searches :-)
> Thanks,
> Derek

> Fabrizio Giustina wrote:
Re: how to disable jsp search in IBM contribution [message #44159 is a reply to message #44072] Tue, 14 September 2004 21:57 Go to previous messageGo to next message
Eclipse UserFriend
> 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).
Re: how to disable jsp search in IBM contribution [message #44222 is a reply to message #44159] Wed, 15 September 2004 02:55 Go to previous message
Eclipse UserFriend
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).
Previous Topic:XML editor DTD resolver
Next Topic:Missing web project after installing WTP-IBM
Goto Forum:
  


Current Time: Wed May 14 02:05:32 EDT 2025

Powered by FUDForum. Page generated in 1.07936 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top