Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Regarding extending functionality of Eclipse CDT Remote Development Tool

Hi Nayna,

Glad you are finding RDT useful.

> But we want to customize it to our build environment. By this I meant,
> doing some scanner configuraiton information changes, passing our own
> build environment and header files, remote debugging launching with our
> configuration. We also did some extension to builder and has extended
> project launch wizard to support our configurations.
>
> We could do all this for CDT which is used for local development using
> extension points.

To do scanner info/scanner discovery, you'll have to use those same extension points, but potentially you will have to modify your code so that things are executed remotely. I have not fully deciphered how to get this working yet myself... there are some problems at the moment with the Remote XL C/C++ Toolchain that I've defined at the moment in this regard. Include paths and symbols defined directly in the toolchain definition will be picked up already however. I would suggest for starters you look at the org.eclipse.ptp.rdt.managedbuilder.xlc.ui plugin that I checked in recently to see how I am doing the Remote XL C/C++ Toolchain.

Creating a new builder should not be a problem. You can use the existing extension points to contribute new items to the RDT wizard. The only catch right now is that in order to filter out some of the local items (which don't work on remote projects), we have our wizard checking the IDs of the items and filtering out anything that doesn't come from PTP. This is a temporary situation which we intend to address in PTP 3.0... we can have a discussion as to what the best method would be for allowing proper filtering.

As far as your wizard extensions, it's hard for me to say if these will "just work" without knowing how you contribute them to the new project wizard. Is it an entirely new wizard, one that extends the old one, or one that contrbutes to the org.eclipse.cdt.managedbuilder.ui.newWizardPages extension point?

We don't really do anything with respect to debugging at this time. There is a remote debugger engine launcher (uses RSE to launch GDB server) available with CDT that you might want to look at.

===========================
Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto
Inactive hide details for Nayna Jain <naynjain@xxxxxxxxxx>Nayna Jain <naynjain@xxxxxxxxxx>


          Nayna Jain <naynjain@xxxxxxxxxx>
          Sent by: ptp-user-bounces@xxxxxxxxxxx

          05/11/2009 05:12 AM

          Please respond to
          PTP User list <ptp-user@xxxxxxxxxxx>

To

ptp-user@xxxxxxxxxxx

cc


Subject

[ptp-user] Regarding extending functionality of Eclipse CDT Remote Development Tool

Hi all,

The Eclipse CDT Remote Development Tool(RDT) seems to be really useful and
solves most of our current problems.

But we want to customize it to our build environment. By this I meant,
doing some scanner configuraiton information changes, passing our own
build environment and header files, remote debugging launching with our
configuration. We also did some extension to builder and has extended
project launch wizard to support our configurations.

We could do all this for CDT which is used for local development using
extension points.

So , is it  possible to extend RDT also similarly using some extension
points. And if yes can someone please give the direction from where to
start ?

Thanks & Regards,
Nayna Jain

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

GIF image

GIF image

GIF image


Back to the top