Re: [photran-dev] Breaking changes in CDT HEAD

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [photran-dev] Breaking changes in CDT HEAD

by Greg Watson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeff,

Yes, the Helios build is currently running against CDT HEAD. The builds are set for Fridays at 10pm.

Greg

On Dec 17, 2009, at 7:59 PM, Jeffrey Overbey wrote:

> Greg--
>
> There are some changes in CDT HEAD that break Photran.  Are our automated (weekly and/or Helios) builds run against CDT HEAD or some fixed version of CDT?  I want to make sure I commit the changes at the right time so we don't break the builds...
>
> Jeff
> _______________________________________________
> photran-dev mailing list
> photran-dev@...
> https://dev.eclipse.org/mailman/listinfo/photran-dev

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

Re: Re: [photran-dev] Breaking changes in CDT HEAD

by Doug Schaefer-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am curious what changed that broke you. So far our API tooling builds haven't been failing. If you're using something that's currently internal, we should look at making it an official API.

Thanks,
Doug.

On Thu, Dec 17, 2009 at 4:24 PM, Greg Watson <g.watson@...> wrote:
Jeff,

Yes, the Helios build is currently running against CDT HEAD. The builds are set for Fridays at 10pm.

Greg

On Dec 17, 2009, at 7:59 PM, Jeffrey Overbey wrote:

> Greg--
>
> There are some changes in CDT HEAD that break Photran.  Are our automated (weekly and/or Helios) builds run against CDT HEAD or some fixed version of CDT?  I want to make sure I commit the changes at the right time so we don't break the builds...
>
> Jeff
> _______________________________________________
> photran-dev mailing list
> photran-dev@...
> https://dev.eclipse.org/mailman/listinfo/photran-dev

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


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

Re: Breaking changes in CDT HEAD

by Jeffrey Overbey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I am curious what changed that broke you. So far our API tooling builds haven't been failing. If you're using something that's currently internal, we should look at making it an official API.

Actually we're using a LOT of stuff that's currently internal... mainly we subclass various classes from the CDT UI (or just reference the CDT classes directly in plugin.xml) and change labels from "C/C++" to "Fortran."  I think there are a couple of classes we had to actually copy and modify, but most of it's just subclassed with one or two methods overridden.  Anyway, the Fortran perspective, Fortran Projects view, Fortran launch configuration and launch actions, project property pages, etc. are all done this way.

All of this is in the org.eclipse.photran.cdtinterface project if you want to look around, mainly in these packages and, of course, in its nightmarish plugin.xml.
  • org.eclipse.photran.internal.cdtinterface.ui
  • org.eclipse.photran.internal.cdtinterface.launch
  • org.eclipse.photran.internal.cdtinterface.ui.editor
I apologize in advance for what a horrible hack some of it is.  The refactoring engine and the parts of Photran I actually care about are much better designed.  I promise.  :-)  Eventually I'd like to figure out the "right" way to do share some of this UI between CDT and Photran, but so far the goal has been "just get it working without any changes to CDT so you can focus on refactoring and writing a dissertation."

So if you want to talk about making API for some of the things we're trying to do, I'm completely open to it.  In the cases where we're doing something naughty but doing it "right" will require some time-consuming, invasive change to CDT, we can continue hijacking your internal classes and dealing with the consequences... no problem...

Jeff

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