Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT Managed Build System
CDT Managed Build System [message #115016] Wed, 11 August 2004 08:29 Go to next message
Eclipse UserFriend
Originally posted by: iffs.bol.com.br

Hi!!

I'm having some problems with CDT Managed Build System in Eclipse 3.0.

I've tried to create a new toolchain with CDT Managed Build System, by
following the Managed Build System Extensibility Document (version 0.1.0).
But I've had some problems.

First, I found at this document some instructions that I just couldn't
find at the UI/follow:

5.2.3. On the Plug-in Project Structure Page you will see that the wizard
has set the id to org.eclipse.cdt.example.toolchain by default. We are
going to be defining the tool chain in the plug-in manifest file without
writing any code, so choose the Create a simple project radio button and
click on the Finish button.

(Where is this "Create a simple project" radio button? And where is this
"Project Structure" Page?)

5.3.3. Select the Extensions tab located along the bottom of the manifest
editor. Click the Add? button located beside the All Extensions list. Make
sure that Generic Wizards is selected in the left-hand list, and
Schema-based Extensions from the right, and then click the Next > button.

(What "Generic Wizards" in left-hand list?? And what Schema-based
Extensions from the right??)

Second, I've done everything mentioned at this document but these parts,
nevertheless when I tested the plugin using a new Workbench, my project
doesn't build at all.

What have I done wrong, or what am I missing here??
Can anyone help me??

Regards,
Igor Felix
Re: CDT Managed Build System [message #115028 is a reply to message #115016] Wed, 11 August 2004 09:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: iffs.bol.com.br

Hi,

Is there any step by step instruction for creating a managed build
environment with any specific tool chain for cross platform development
with
Eclipse 3 and CDT 2? I've found only "Managed Build System Extensibility
Document" version 0.1.0 and there are some steps that I just can't follow
(as I said in my last message on this Subject).

Thanks!!
Igor Felix
Re: CDT Managed Build System (third question) [message #115053 is a reply to message #115016] Wed, 11 August 2004 10:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: iffs.bol.com.br

Hi!!

Can I use this tutorial (Managed Build System Extensibility Guide v0.1.0)
with older versions of Eclipse and CDT without any problems (and which
versions) until these problems with Eclipse 3.0 and CDT 2.0 I've mentioned
are solved??

Thanks!
Igor Felix
Re: CDT Managed Build System [message #115078 is a reply to message #115016] Wed, 11 August 2004 14:55 Go to previous messageGo to next message
Eclipse UserFriend
Igor,
While the tutorial is out-of-date, for the most part the wizards have
changed but the end goal has not. You are trying to create a plugin
project with an XML file that contains a toolchain definition with your
tools in it. You cannot get yourself into that much trouble if you hunt
around for the right options during project creation time.

First, other people on the newsgroup have discovered that you need to
have the SDK version of the CDT in order to get the schema and extend
it. Do a search on this newsgroup for how and why, but it probably
explains why you are having trouble creating an extension.

I don't really have time today to walk you through this, but quickly,
name the project in the first wizard page. You can get a simple project
(no plugin class) by unselecting the option to generate a java class
that controls the plugin's life-cycle.

Hope this helps unblock you,

Sean

Igor Felix wrote:
> Hi!!
>
> I'm having some problems with CDT Managed Build System in Eclipse 3.0.
>
> I've tried to create a new toolchain with CDT Managed Build System, by
> following the Managed Build System Extensibility Document (version 0.1.0).
> But I've had some problems.
>
> First, I found at this document some instructions that I just couldn't
> find at the UI/follow:
>
> 5.2.3. On the Plug-in Project Structure Page you will see that the wizard
> has set the id to org.eclipse.cdt.example.toolchain by default. We are
> going to be defining the tool chain in the plug-in manifest file without
> writing any code, so choose the Create a simple project radio button and
> click on the Finish button.
>
> (Where is this "Create a simple project" radio button? And where is this
> "Project Structure" Page?)
>
> 5.3.3. Select the Extensions tab located along the bottom of the manifest
> editor. Click the Add? button located beside the All Extensions list. Make
> sure that Generic Wizards is selected in the left-hand list, and
> Schema-based Extensions from the right, and then click the Next > button.
>
> (What "Generic Wizards" in left-hand list?? And what Schema-based
> Extensions from the right??)
>
> Second, I've done everything mentioned at this document but these parts,
> nevertheless when I tested the plugin using a new Workbench, my project
> doesn't build at all.
>
> What have I done wrong, or what am I missing here??
> Can anyone help me??
>
> Regards,
> Igor Felix
>
Re: CDT Managed Build System [message #115127 is a reply to message #115078] Wed, 11 August 2004 16:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: iffs.bol.com.br

Thanks for the help, Sean. I still couldn't find "Make sure that Generic
Wizards is selected in the left-hand list, and Schema-based Extensions
from the right, and then click the Next > button.", but even without this
it worked. The only thing I did was to download and install CDT again from
within Eclipse.

Igor Felix

Sean Evoy wrote:

> Igor,
> While the tutorial is out-of-date, for the most part the wizards have
> changed but the end goal has not. You are trying to create a plugin
> project with an XML file that contains a toolchain definition with your
> tools in it. You cannot get yourself into that much trouble if you hunt
> around for the right options during project creation time.

> First, other people on the newsgroup have discovered that you need to
> have the SDK version of the CDT in order to get the schema and extend
> it. Do a search on this newsgroup for how and why, but it probably
> explains why you are having trouble creating an extension.

> I don't really have time today to walk you through this, but quickly,
> name the project in the first wizard page. You can get a simple project
> (no plugin class) by unselecting the option to generate a java class
> that controls the plugin's life-cycle.

> Hope this helps unblock you,

> Sean
Re: CDT Managed Build System [message #115140 is a reply to message #115078] Wed, 11 August 2004 17:11 Go to previous message
Eclipse UserFriend
Originally posted by: iffs.bol.com.br

Hi!!

I have some questions when creating a new plugin with CDT's Managed Build
System. Does CDT has a default Makefile Generator, or I will have to use

org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenera tor

in my new target?? What about the scannerInfoCollector (also in my new
target) and dependencyCalculator (in my new tools)??

I've found the scannerInfoCollector, and I think I won't be needing the
dependencyCalculator. But the problem with GnuMakefileGenerator is that I
need to execute a program I've written before linking the targets, and the
generator calls my program with more arguments than necessary, then an
error occurs.

Of course, I can ignore these extra arguments at my program, but I think
this is not an elegant solution. A default makefileGenerator, which only
executes the commands I've asked, would be a lot better.

At the worst case, I could create a new Makefile generator, based on
GnuMakefileGenerator, but this will take a lot of time (and I don't have
this time).

So, at my new target, what makefile generator should I use??

Thanks!!
Igor Felix


Sean Evoy wrote:

> Igor,
> While the tutorial is out-of-date, for the most part the wizards have
> changed but the end goal has not. You are trying to create a plugin
> project with an XML file that contains a toolchain definition with your
> tools in it. You cannot get yourself into that much trouble if you hunt
> around for the right options during project creation time.

> First, other people on the newsgroup have discovered that you need to
> have the SDK version of the CDT in order to get the schema and extend
> it. Do a search on this newsgroup for how and why, but it probably
> explains why you are having trouble creating an extension.

> I don't really have time today to walk you through this, but quickly,
> name the project in the first wizard page. You can get a simple project
> (no plugin class) by unselecting the option to generate a java class
> that controls the plugin's life-cycle.

> Hope this helps unblock you,

> Sean
Previous Topic:Project files for the cdt source
Next Topic:Makefile generator
Goto Forum:
  


Current Time: Tue Apr 29 02:41:50 EDT 2025

Powered by FUDForum. Page generated in 0.09680 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top