[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] IManagedBuilderMakefileGenerator
|
Arghhhh, now I figured out what was going wrong... anyway, thanks Leo for your response.
Thomas
>
> Yes, I know that it works for the GnuMakefileGenerator. I had a look at it to get an idea how to implement my own one. Is there something special I have to do in my plugin.xml?
> I mean what's really strange is the fact that the IManagedBuildInfo argument in the initialize function works fine, just the IProject parameter doesn't. And the class of the project instance is a org.eclipse.core.internal.resources.Project, so this should be ok...
>
> Has anybody implemented another IManagedBuilderMakefileGenerator yet?
>
>
> Thomas
>
> >
> > The project argument appears to work in the default implementation of
> > IManagedBuilderMakefileGenerator (see GnuMakefileGenerator.java), so I
> > don't know what is wrong in your case.
> >
> > Regards,
> > Leo
> >
> > -----Original Message-----
> > From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx] On
> > Behalf Of thomas.strehl@xxxxxx
> > Sent: Tuesday, February 22, 2005 8:55 AM
> > To: cdt-dev@xxxxxxxxxxx
> > Subject: [cdt-dev] IManagedBuilderMakefileGenerator
> >
> > Hi,
> >
> > I'm using CDT 2.1.0 and want to replace the existing makefile generator
> > with my own one. My class which implements the
> > IManagedBuilderMakefileGenerator class is called (instantiated) when the
> > project is built - so this works.
> > In the initialize(...) function I save the current project and the
> > monitor for later usage. But something is wrong with the project
> > parameter I get. The problem is that I cannot access any IProject
> > function (only toString()) on this project - as soon as I try to call
> > e.g. getFolder(...) or any other function it crashes/quits. However,
> > toString() returns the right project. What is wrong? Have I forgotten to
> > initialize something?
> >
> > Thomas
> >
> > ______________________________________________________________
> > Verschicken Sie romantische, coole und witzige Bilder per SMS!
> > Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> >
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/cdt-dev
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193