Skip to main content

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

Chances are you checked out the projects at the wrong level (some directory above where you should have checked them from).

When you checkout from cvs, you need to checkout specifically the project directories, not a directory that contains them. The preferred way to check out CDT is using the PSF. It is error-proof (assuming no CVS errors, of course) :-)

John

At 02:46 PM 3/11/2010, Tim Black wrote:
Understood.

Before even trying to work with HEAD, I was having trouble getting the 6.0.x CDT sources working with 3.5 eclipse sdk. I have tried Branches/cdt_6_0/cdt-platform cdt_6_0 and Versions/cdt-platform/cdt-
platform CDT_6_0_x. The resulting projects don't build. Not that they create build errors, they just don't build. I have Build Automatically checked and they don't create any output in the bin/ directory. Also, in File - Export - Deployable plug-ins and fragments, nothing is listed in the "Available Plug-ins and Fragments" like it was when I had only org.eclipse.cdt.make.core as a source project imported into my workspace. I get same behavior if I do File - Export - Deployable Features. Any ideas what's wrong here?

It looks to me like the "cdt-platform" projects in CVS are like metaprojects in SNV - they pull together project components under one umbrella. Is this the preferred item to checkout from CVS when their goal is to rebuild all of CDT?

Tim

On Thu, Mar 11, 2010 at 12:32 PM, John Cortell <rat042@xxxxxxxxxxxxx> wrote:
That was committed within the last  few hours, so perhaps this is another snag with the CVS mirroring. This happened a few weeks ago for someone else. Basically, non-committers work from a mirror CVS repository that is updated several times a day. If the synch operation happens in the middle of someone making a commit of numerous files, the mirror site can have a broken snapshot.

John


At 02:27 PM 3/11/2010, Tim Black wrote:
You beat me to it! ;-)

Hey, so any ideas on the IResumeWithoutSignalHandler error? I can't find its definition anywhere in any of the projects checked out via the project set...

Tim

On Thu, Mar 11, 2010 at 12:24 PM, John Cortell <rat042@xxxxxxxxxxxxx> wrote:
Yep.
I've already updated the wiki :-)
John

At 02:24 PM 3/11/2010, Tim Black wrote:
OK, thanks. It sounds like you're saying that using the .psf file is the accepted best practice for getting a complete set of CDT code from CVS. Unless I hear any argument, I will update the wiki page to that effect.
Any idea, though, why I'd be getting errors building org.eclipse.cdt.dsf.gdb.ui. (all related to resolving IResumeWithoutSignalHandler) Again I'm using CVS HEAD (via the psf file) and 3.6M5 Eclipse SDK?
Tim
On Thu, Mar 11, 2010 at 12:08 PM, John Cortell <rat042@xxxxxxxxxxxxx> wrote:
I meant..."on that wiki page."
At 02:06 PM 3/11/2010, John Cortell wrote:
Tim,
Disregard the list of projects on that directory. It shouldn't be there. What you want to do is use the project set file (psf) to download CDT from CVS. That file automates the process and ensures you get everything you need. The link to the psf was provided in the thread below.
John
At 01:57 PM 3/11/2010, Tim Black wrote:
Thanks for the feedback, Dave.
I just did a fresh install of 3.6M5 Eclipse SDK, then from CVS HEAD checked out all the necessary CDT projects listed at http://wiki.eclipse.org/Getting_started_with_CDT_development, and I get lots of "cannot be resolved to type" errors in org.eclipse.cdt.managedbuilder.gnu.ui. (can't resolve BuildEnvVar, BuildException, BuildEnvironmentVariable, ...)
Assuming this error isn't a transient due to some non-atomic commit, I'm guessing the wiki list is just out of date and I don't really have all the necessary projects. The project set appears to be a superset of the wiki list. I started over and this time imported the project set, and now I get almost no errors. Progress! But I am getting 5 errors in org.eclipse.cdt.dsf.gdb.ui. (all related to resolving IResumeWithoutSignalHandler) This is much better, but does anyone know why I'm getting this error using CVS HEAD and 3.6M5 Eclipse SDK? Dave, did you get this error?
Tim
On Thu, Mar 11, 2010 at 7:56 AM, Dave Korn < dave.korn.cygwin@xxxxxxxxxxxxxx> wrote:
On 11/03/2010 14:25, Dave Korn wrote:
> predefined CDT project set from http://www.eclipse.org/cdt/psf/cdt-main.psf
> and everything "just worked" first time for me.
 Sorry, I forgot one little thing: I had to(*) manually edit the .psf file to
replace ":extssh:dev.eclipse.org:" with ": pserver:anonymous@xxxxxxxxxxxxxxx:",
because it's designed for devs who have write access to the repository.  Apart
from that it was all plain sailing.
   cheers,
     DaveK
--
(*) - There's probably a way to change this in the UI, but I don't know well
enough, which is why I say I "had to".
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

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


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


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

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


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

Back to the top