For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 17 replies, 2 voices, and was last updated 19 years ago by
wfgriffeth.
-
AuthorPosts
-
wfgriffethMemberMyEclipse fails to find references to Java classes and methods that I know are in JSPs in my webapp projects. For example, if I use Search->Java… to look for references to my Java class RelativeUrl, MyEclipse finds matches only in other Java files. Also, if I highlight the class name in the class declaration in RelativeUrl.java or the name of the method RelativeUrl.next, right-click to get a menu, and click References->Workspace, then only references in Java files are found, not references in JSPs. Judging from the popups, MyEclipse is searching both Java indexes and JSP indexes. Oddly, searching on the text string “RelativeUrl.next” yields plenty of hits in a variety of JSPs.
My office mate, who is running Eclipse 3.2.2 with Web Standard Tools 1.5.3, can successfully find references to RelativeUrl.name by searching the same way I did.
!SESSION 2007-07-18 10:58:29.518
———————————————–
eclipse.buildId=M20070212-1330
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.ui 2 0 2007-07-18 10:58:31.846
!MESSAGE Warnings while parsing the commands from the ‘org.eclipse.ui.commands’ and ‘org.eclipse.ui.actionDefinitions’ extension points.
!SUBENTRY 1 org.eclipse.ui 2 0 2007-07-18 10:58:31.846
!MESSAGE Commands should really have a category: plug-in=’org.codehaus.groovy.eclipse.ui’, id=’org.codehaus.groovy.eclipse.command.RunGroovyConsole’, categoryId=’org.codehaus.groovy.eclipse.editor.category.rundebug’
!SUBENTRY 1 org.eclipse.ui 2 0 2007-07-18 10:58:31.846
!MESSAGE Commands should really have a category: plug-in=’org.codehaus.groovy.eclipse.ui’, id=’org.codehaus.groovy.eclipse.debug.ui.testShortcut.debug’, categoryId=’org.eclipse.debug.ui.category.debug’Installation Details
———————
*** Date:
Wednesday, July 18, 2007 10:50:43 AM EDT** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.5.1 GA
Build id: 20070521-5.5.1-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.5.1 GA
Build id: 20070521-5.5.1-GAEclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\MyEclipse 5.5.1 GA again\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
c60_80
-vm
C:\Program Files\MyEclipse 5.5.1 GA again\jre\bin\javaw.exeJuly 18, 2007 at 11:04 am #272881
wfgriffethMemberCorrection:
My office mate, who is running Eclipse 3.2.2 with Web Standard Tools 1.5.3, can successfully find references to RelativeUrl.next by searching the same way I did.
July 19, 2007 at 10:20 am #272913
Riyad KallaMemberSorry for the hassle, this was a bug in 5.5.1 that was fixed in the 6.0M1 release. I just double-checked with my 6.0M1 All in One install and it worked fine, found the references correctly.
July 19, 2007 at 12:39 pm #272924
wfgriffethMemberThanks for your help, Riyad. Since “6.0 M1 is not intended for mission-critical application use”, will I be able to use 5.5.1 GA on my workspace after I’ve used 6.0 M1 on it, or is there no going back after the upgrade?
July 19, 2007 at 3:32 pm #272931
wfgriffethMemberI downloaded and ran the 6.0 M1 all-in-one installer and imported my 5.5.1 workspace into a new workspace for 6.0 use. However, I’m having the same problem as before. What else could be wrong? I’ll post my configuration and my log file in separate replies.
July 19, 2007 at 3:33 pm #272932
wfgriffethMemberConfiguration:
*** Date: Thursday, July 19, 2007 4:27:43 PM ET
*** Platform Details:
*** System properties:
ErrorManager.minimum=18
GRE_HOME=C:\Program Files\MyEclipse-6.0M1\myeclipse\eclipse\plugins\com.genuitec.javascript.debug.mozilla_5.9.100\XPCOM\os\win32\mozilla
awt.toolkit=sun.awt.windows.WToolkit
eclipse.buildId=I20070625-1500
eclipse.commands=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse-6.0M1\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Program Files\MyEclipse-6.0M1\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll
-startup
C:\Program Files\MyEclipse-6.0M1\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-exitdata
12f4_68
-vm
C:\Program Files\MyEclipse-6.0M1\jre\bin\javaw.exe
eclipse.ee.install.verify=false
eclipse.product=com.genuitec.myeclipse.product.ide
eclipse.startTime=1184875439083
eclipse.vm=C:\Program Files\MyEclipse-6.0M1\jre\bin\javaw.exe
eclipse.vmargs=-Xms128m
-Xmx512m
-Duser.language=en
-XX:PermSize=128M
-XX:MaxPermSize=256M
-jarSNIP, in the future please use MyEclipse > Installation Summary > Installation Details
July 19, 2007 at 3:43 pm #272933
wfgriffethMemberThe 6.0 M1 log file, from start-up with clean log to completion of a search with Search > Java… for references to method RelativeUrl.next:
!SESSION 2007-07-19 16:37:53.581
———————————————–
eclipse.buildId=I20070625-1500
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.ui 2 0 2007-07-19 16:37:57.565
!MESSAGE Warnings while parsing the commands from the ‘org.eclipse.ui.commands’ and ‘org.eclipse.ui.actionDefinitions’ extension points.
!SUBENTRY 1 org.eclipse.ui 2 0 2007-07-19 16:37:57.565
!MESSAGE Commands should really have a category: plug-in=’org.codehaus.groovy.eclipse.ui’, id=’org.codehaus.groovy.eclipse.command.RunGroovyConsole’, categoryId=’org.codehaus.groovy.eclipse.editor.category.rundebug’
!SUBENTRY 1 org.eclipse.ui 2 0 2007-07-19 16:37:57.565
!MESSAGE Commands should really have a category: plug-in=’org.codehaus.groovy.eclipse.ui’, id=’org.codehaus.groovy.eclipse.debug.ui.testShortcut.debug’, categoryId=’org.eclipse.debug.ui.category.debug’!ENTRY org.eclipse.ui.workbench 2 0 2007-07-19 16:38:16.658
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-07-19 16:38:16.658
!MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureTypeNodeContribution/com.genuitec.eclipse.sqlexplorer.actions.RefreshTypeNodeAction’:
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureTypeNodeContribution/com.genuitec.eclipse.sqlexplorer.actions.RefreshTypeNodeAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.actions.RefreshTypeNodeAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureTypeNodeContribution/com.genuitec.eclipse.sqlexplorer.actions.RefreshTypeNodeAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.actions.RefreshTypeNodeAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-07-19 16:38:16.658
!MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.actions.editNodeAction’:
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.actions.editNodeAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mysql.actions.EditNodeAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.actions.editNodeAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mysql.actions.EditNodeAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-07-19 16:38:16.658
!MESSAGE Conflict for ‘AUTOGEN:::ValidationMenuAction/ValidationAction’:
HandlerActivation(commandId=AUTOGEN:::ValidationMenuAction/ValidationAction,
handler=ActionDelegateHandlerProxy(null,org.eclipse.wst.validation.internal.ui.ValidationMenuAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::ValidationMenuAction/ValidationAction,
handler=ActionDelegateHandlerProxy(null,org.eclipse.wst.validation.internal.ui.ValidationMenuAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-07-19 16:38:16.658
!MESSAGE Conflict for ‘AUTOGEN:::org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil/org.eclipse.jst.ws.consumption.ui.wsilimport’:
HandlerActivation(commandId=AUTOGEN:::org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil/org.eclipse.jst.ws.consumption.ui.wsilimport,
handler=ActionDelegateHandlerProxy(null,org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil/org.eclipse.jst.ws.consumption.ui.wsilimport,
handler=ActionDelegateHandlerProxy(null,org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-07-19 16:38:16.658
!MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.runFunctionAction’:
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.runFunctionAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.RunMssqlFunctionProcedureAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.runFunctionAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.RunSybaseFunctionProcedureAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-07-19 16:38:16.658
!MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.openTriggerAction’:
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.openTriggerAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mysql.actions.OpenTriggerAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.openTriggerAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mysql.actions.OpenTriggerAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-07-19 16:38:16.658
!MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.openTriggerAction’:
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.openTriggerAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.OpenTriggerAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.openTriggerAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.OpenTriggerAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-07-19 16:38:16.658
!MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.editProcedureAction’:
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.editProcedureAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.EditMssqlNodeAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.editProcedureAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.EditMssqlNodeAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-07-19 16:38:16.658
!MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.spHelpAction’:
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.spHelpAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.MssqlSpHelpAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.spHelpAction,
handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.MssqlSpHelpAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@e8606c),sourcePriority=16384)!ENTRY org.eclipse.jface 2 0 2007-07-19 16:38:16.689
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2007-07-19 16:38:16.689
!MESSAGE A conflict occurred for ALT+SHIFT+T:
Binding(ALT+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.refactor.quickMenu,Show Refactor Quick Menu,
Shows the refactor quick menu,
Category(org.eclipse.jdt.ui.category.refactoring,Refactor – Java,Java Refactoring Actions,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+SHIFT+T,
ParameterizedCommand(Command(com.genuitec.org.springframework.ide.eclipse.beans.ui.commands.openjavatype,Open Java Type,
,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2007-07-19 16:38:16.689
!MESSAGE A conflict occurred for ALT+SHIFT+V:
Binding(ALT+SHIFT+V,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.move.element,Move – Refactoring ,
Move the selected element to a new location,
Category(org.eclipse.jdt.ui.category.refactoring,Refactor – Java,Java Refactoring Actions,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+SHIFT+V,
ParameterizedCommand(Command(com.genuitec.org.springframework.ide.eclipse.beans.ui.commands.showinview,Show in Spring Beans View,
,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)July 19, 2007 at 4:45 pm #272938
Riyad KallaMemberYou may want to try and restart using -clean… it looks like either the install is corrupt or workspace cache is old and needs to be refreshed.
Also just to make sure, are you working with a standard Web Project and not a Java Project right?
July 20, 2007 at 12:12 pm #272976
wfgriffethMemberI restarted 6.0 M1 with the -clean option, but it did not help with the problem.
Consider two projects, java and www. The java project is mainly a bunch of Java classes and the www project is mainly a bunch of JSPs.
Both projects initially had the Java Builder and the MyEclipse Spring Project Builder configured. Search failed as I described earlier.
I cleared the checkboxes for the MyEclipse Spring Project Builder for each project and searched again. Search failed, just as before.
Then I tried making www a Web Project, resulting in the addition of several builders to the list.
Search for RelativeUrl.next in JSPs again showed no matches.July 20, 2007 at 1:04 pm #272979
Riyad KallaMemberAre you searching for source references from the Java project *in* the web project, or you are saying searching even from inside the same web project aren’t working? (Which I cannot reproduce on my end)
July 20, 2007 at 2:28 pm #272991
wfgriffethMemberI am searching for source references from the Java project *in* the web project. The RelativeUrl.next method is defined in the Java project and there are references in Java scriptlets in the web project’s JSPs:
<%
<snip>
String path = RelativeUrl.next( request, “3700” );
<snip>
%>Such references are never found. Under 5.5.1 GA, if the workspace contained compiled JSPs (.java files) and their compiled .class files, then Search > Java… would find the references in the .java files but not in the original .jsp files.
July 20, 2007 at 4:20 pm #272996
Riyad KallaMemberAhh ok thank you for the clarification, this looks like it may be a bug. I’ll do some more testing internally and file it for our dev team.
July 20, 2007 at 4:25 pm #272997
Riyad KallaMemberOk followup. I created two projects:
1. Java project with a class
2. Web project, that depends on the Java project and uses the class in a JSPWhen I do Find References > Workspace, it works for the class and it’s methods and finds them in the JSP just fine.
Attached to this post are the same project I created. My guess is that your configuration between the two projects might be incomplete in some manner… try and double-check against how I have these two setup and see if anything stands out (Make sure you have Java on the Web’s build path AND marked as a project reference for example)
Attachments:
You must be logged in to view attached files.July 23, 2007 at 1:41 pm #273062
wfgriffethMember@support-rkalla wrote:
Ok followup. I created two projects:
1. Java project with a class
2. Web project, that depends on the Java project and uses the class in a JSPWhen I do Find References > Workspace, it works for the class and it’s methods and finds them in the JSP just fine.
Attached to this post are the same project I created. My guess is that your configuration between the two projects might be incomplete in some manner… try and double-check against how I have these two setup and see if anything stands out (Make sure you have Java on the Web’s build path AND marked as a project reference for example)
Riyad, thanks for continuing to investigate this problem. However, I do not see any projects attached to your post.
Bill Griffeth
July 23, 2007 at 2:46 pm #273066
Riyad KallaMemberBill,
Make sure you are logged in, then check my post above, there should be this table inside of the post at the bottom, scroll all the way over to the right and click “Download” -
AuthorPosts
