|
Re: Setting up source for Target Platform [message #180596 is a reply to message #180533] |
Thu, 16 November 2006 13:50 |
Eclipse User |
|
|
|
Originally posted by: wayne.beaton._NOSPAM_eclipse.org
Shaun Forbes wrote:
> Hey,
>
> Can someone please tell me the best way to get an eclipse bundle source
> included when I setup a new target platform.
>
> I haven't had much luck with the "Source Code Locations" tab in the
> Target Platform dialog box, and I'd like to be able to step through some
> of the eclipse code without having to import the bundle source into my
> workspace.
>
> Cheers,
> Shaun
>
> PS. I've seen some features that supply source code, but now sure how to
> set one up, or if I need to
>
> PPS. I've just noticed that the Source Code Location dialog box mentions
> JAR source attachments, I've been trying with unpacked directory trees,
> so I'll give that a try
I assume that you're building an RCP application (though this need not
necessarily be the case).
Try downloading the RCP SDK instead of the RCP Runtime Binaries. The SDK
should have the source code included.
Do the same thing for other bundles. If you need EMF, get the SDK rather
than the runtime binaries and you'll get source code.
Wayne
|
|
|
Re: Setting up source for Target Platform [message #180696 is a reply to message #180596] |
Thu, 16 November 2006 23:19 |
S. Forbes Messages: 35 Registered: July 2009 |
Member |
|
|
Howdy Wayne,
Figured it out while writing the original reply to your email.
Looks like I can't just add the source plugin directory to the target
platform settings, I need to copy the plugin directory to my target
platforms plugin directory.
For example I had to copy
D:\dev\ide\eclipse\installations\eclipse-3_2_1\plugins\org.e clipse.rcp.source_3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
directory to my target platforms plugin directory, rather than just
adding it. I got to admit, the idea of even the source code being a
plugin is pretty cool.
Presumably I'll be able to find similar directories for the other
eclipse/equinox bundles I'm using, or maybe create my own with all the
source in one.
Cheers,
Shaun
Wayne Beaton wrote:
> Shaun Forbes wrote:
>> Hey,
>>
>> Can someone please tell me the best way to get an eclipse bundle
>> source included when I setup a new target platform.
>>
>> I haven't had much luck with the "Source Code Locations" tab in the
>> Target Platform dialog box, and I'd like to be able to step through
>> some of the eclipse code without having to import the bundle source
>> into my workspace.
>>
>> Cheers,
>> Shaun
>>
>> PS. I've seen some features that supply source code, but now sure how
>> to set one up, or if I need to
>>
>> PPS. I've just noticed that the Source Code Location dialog box
>> mentions JAR source attachments, I've been trying with unpacked
>> directory trees, so I'll give that a try
>
> I assume that you're building an RCP application (though this need not
> necessarily be the case).
>
> Try downloading the RCP SDK instead of the RCP Runtime Binaries. The SDK
> should have the source code included.
>
> Do the same thing for other bundles. If you need EMF, get the SDK rather
> than the runtime binaries and you'll get source code.
>
> Wayne
|
|
|
Powered by
FUDForum. Page generated in 0.08549 seconds