Re: Is "Open Type" feature extensible? [message #639837] |
Wed, 17 November 2010 23:33  |
Eclipse User |
|
|
|
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 #639871 is a reply to message #639837] |
Thu, 18 November 2010 03:38  |
Eclipse User |
|
|
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03002 seconds