Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Is "Open Type" feature extensible?
Is "Open Type" feature extensible? [message #639786] Wed, 17 November 2010 19:07 Go to next message
Raymond Mising name is currently offline Raymond Mising nameFriend
Messages: 59
Registered: July 2009
Member
Hey,

We are using eclipse to develop java program for mobile devices. When we debugged on a device, it always happened that the java libs running on the device is not the same version as the ones used in the eclipse project. We do have the right source code for the libs running on the device but do not have the binary class jars. The current "Open Types" feature seems only can search for source files of the classes which are on the classpath. Is it possible to make it also search a specified source jar/folder which does not have corresponding classes in the project's classpath?

Eclipse debug source look up does provide extension points which allow us to add more paths to the search path but the "Open Type" feature does not. So, now when we step into a class, the right source file can be opened but when we want to open a source file and set breakpoints, the "Open Type" feature does not help.

Thanks.

Raymond
Re: Is "Open Type" feature extensible? [message #639838 is a reply to message #639786] Thu, 18 November 2010 04:33 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 18/11/10 12:38 AM, Raymond wrote:
> Hey,
>
> We are using eclipse to develop java program for mobile devices. When we
> debugged on a device, it always happened that the java libs running on
> the device is not the same version as the ones used in the eclipse
> project. We do have the right source code for the libs running on the
> device but do not have the binary class jars. The current "Open Types"
> feature seems only can search for source files of the classes which are
> on the classpath. Is it possible to make it also search a specified
> source jar/folder which does not have corresponding classes in the
> project's classpath?
> Eclipse debug source look up does provide extension points which allow
> us to add more paths to the search path but the "Open Type" feature does
> not. So, now when we step into a class, the right source file can be
> opened but when we want to open a source file and set breakpoints, the
> "Open Type" feature does not help.
> Thanks.
>
> Raymond


As a workaround, you could create a temporary project (like the
"External Plug-in Libraries" created by PDE) and add those classes to
the classpath of the Project.

I'm cc-ing the JDT forum where you may get more helpful answers.

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: Is "Open Type" feature extensible? [message #639875 is a reply to message #639838] Thu, 18 November 2010 08:38 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Prakash G.R. wrote:
> On 18/11/10 12:38 AM, Raymond wrote:
>> Hey,
>>
>> We are using eclipse to develop java program for mobile devices. When we
>> debugged on a device, it always happened that the java libs running on
>> the device is not the same version as the ones used in the eclipse
>> project. We do have the right source code for the libs running on the
>> device but do not have the binary class jars. The current "Open Types"
>> feature seems only can search for source files of the classes which are
>> on the classpath. Is it possible to make it also search a specified
>> source jar/folder which does not have corresponding classes in the
>> project's classpath?
>> Eclipse debug source look up does provide extension points which allow
>> us to add more paths to the search path but the "Open Type" feature does
>> not. So, now when we step into a class, the right source file can be
>> opened but when we want to open a source file and set breakpoints, the
>> "Open Type" feature does not help.
>> Thanks.
>>
>> Raymond
>
>
> As a workaround, you could create a temporary project (like the
> "External Plug-in Libraries" created by PDE) and add those classes to
> the classpath of the Project.
Right, creating a project with those classes is the way to go as 'Open
Type' by definition only finds the types that are on the Java build path
of a project.

Dani
>
> I'm cc-ing the JDT forum where you may get more helpful answers.
>
Previous Topic:Fast View RCP Application
Next Topic:Creating a patch against target platform plugin.
Goto Forum:
  


Current Time: Mon Mar 08 07:48:01 GMT 2021

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

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

Back to the top