Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Re: questions about building and modifying CDT

Tim, have you tried the traditional self-hosting way of launching plug-ins you're testing?
That is, bring up a runtime workbench from your development workbench?
I think there are two issues here
(1) test that your changes are working
(2) then figure out how to export to give plugin to others or use it yourself
A runtime workbench lets you test (1).

See http://wiki.eclipse.org/Getting_started_with_CDT_development - under "Launching"

Or, what I usually do is set up a launch configuration which is described at
the bottom of the page at http://wiki.eclipse.org/PTP/environment_setup_30
"Launching a runtime workbench" (You can do it with 'run' or 'debug' either one)

There's also an article here: http://eclipse.dzone.com/articles/plug-development-101-fundament?page=0,3
Very brief but it shows the launch configuration (aka Run Configuration) dialog.



...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform http://eclipse.org/ptp
IBM STG Communications Protocols and Tools
Mailing Address: IBM Corp., Coldstream Research Campus, 745 West New Circle Road, Lexington, KY 40511

Inactive hide details for "Kaestel-Baumgartner Harald (DCC---03/17/2010 04:09:19 AM---> Date: Tue, 16 Mar 2010 14:02:45 -0700 >"Kaestel-Baumgartner Harald (DCC---03/17/2010 04:09:19 AM---> Date: Tue, 16 Mar 2010 14:02:45 -0700 > From: Tim Black <timblaktu@xxxxxxxxx>


From:

"Kaestel-Baumgartner Harald (DCC/EDF2)" <Harald.Kaestel-Baumgartner@xxxxxxxxxxxxxxx>

To:

"'cdt-dev@xxxxxxxxxxx'" <cdt-dev@xxxxxxxxxxx>

Date:

03/17/2010 04:09 AM

Subject:

[cdt-dev] Re: questions about building and modifying CDT

Sent by:

cdt-dev-bounces@xxxxxxxxxxx




> Date: Tue, 16 Mar 2010 14:02:45 -0700
> From: Tim Black <timblaktu@xxxxxxxxx>
> Subject: Re: [cdt-dev] Re: Re: questions about building and modifying
>       CDT     plugins
> To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
> Message-ID:
>       <f3cdbfbe1003161402w52d32ff6n11fd5eb3b1fa2e47@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I wanted to bypass refreshing the project after each make, so
> I commented
> out the call to refreshProject(currProject) in invokeMake()
> on line 228 in
> MakeBuilder.java. I'm using Version tag CDT_6_0_2. (I
> imported project set,
> then Team - Switch to...) I made this single change, rebuilt,
> and tested the
> change but I still see the same behavior as before: About a 2
> minute delay
> while "Updating project..." after making my makefile project.
> I tested this
> 2 ways:
>
> 0. Select all CDT plugins in my workspace, Run As - Eclipse
> Application.
> 1. Export - Plug-in Development --> Deployable plug-ins and
> fragments -
> select all CDT plugins in workspace - Install Into Host, Restart
>
> For 1., I was using a fresh SDK 3.5.2 without CDT installed,
> so I could
> verify that upon restart CDT was added.
>
> Can you think of anything obviously wrong with my procedure
> or things I
> should check?
>
> I have tried this same basic procedure after making other trivial but
> hopefully observable changes to CDT, and not a single time
> have I observed a
> change, i.e. not a single time have I proven to myself that
> the plug-in
> installation methods are working. Can anyone propose another
> simple change I
> could make to CDT that I could observe in a target
> installation? E.g. I
> thought I could change the string in MakeBuilder.Updating_project in
> MakeMessages.properties and see a different string in the
> dialog other than
> "Updating project..." but this didn't work either. This is
> the reason why I
> feel there's something wrong with my "deployment" mechanism.
>
> Thanks,
> Tim
>

A handy mechanism (from a non-expert) to verify your deployment/modifications could be:
1. Temp. add system.out.println statements.
2. Open your patched eclipse with the -console option.
3. You should see the added prints in the console.

--Harald
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


GIF image

GIF image


Back to the top