How to Continue Working with Eclipse C Projects in NetBeans IDE

Is it possible to continue working with C projects created with Eclipse in NetBeans IDE? The answer is: "Yes!"

Follow the steps below to work with Eclipse C projects in NetBeans IDE:

Software used:

  • NetBeans IDE 6.1 Beta
  • Eclipse Europa
  • GCC tool chain
Steps:

1. Create a "New Project" and choose "C/C++ Project From Existing Code":



2. Browse to your Eclipse project and select the Makefile:



3. Browse to the source folder in the Eclipse project. (usually the 'src' folder):



4. Choose Project Name and Folder:



5. Click Finish and examine your new project:



6. Run the project:



7. Observe the Output:



In summary, here I have shown how to work in NetBeans IDE with a simple "Hello World" style C-project created in Eclipse Europa.

 

0

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Neil Bartlett replied on Mon, 2008/03/31 - 1:38am

Interesting I guess... buy why would anybody want to do this? Perhaps this content should be on NetBeansZone rather than EclipseZone ;-)

Ian Skerrett replied on Tue, 2008/04/01 - 8:18am

I too am curious why this has anything to do with EclipseZone?

Geertjan Wielenga replied on Tue, 2008/04/01 - 8:52am

Some people use more than one IDE. They see IDEs as complementary rather than competitive. I am one of those, by the way. For those people, it is good to know how stuff from one IDE can be used in another IDE.

Ian Skerrett replied on Tue, 2008/04/01 - 9:18am in response to: geertjan

Geertjan,

Is this another April Fool's joke? :-)

Aren't you a Sun employee and a NetBean's evangelist? Isn't the moto of NetBean's 'The only IDE you need'?

I don't disagree that people use more than one IDE. I just find your comments a bit ironic considering the marketing messages that come out of the NetBeans team.

Ian

 

Geertjan Wielenga replied on Tue, 2008/04/01 - 9:25am

No, I'm not "a Sun employee and a NetBean's evangelist".

I'm a Sun employee and a technical writer. I'm not an evangelist at all. And I'm only a blogger because I like recording the things I learn. I'm a person with my own opinion. I don't think pretending that one IDE is the best at everything makes much sense. Each IDE has its strengths and weaknesses, everyone knows that. Many people out there use many IDEs at the same time. Personally, I've contributed a plugin to the IntelliJ repository recently.

From another perspective, I'm an advocate of the NetBeans Platform. The NetBeans Platform is a Swing application framework that can be used from any IDE. Unfortunately only NetBeans IDE provides productivity tools for the NetBeans Platform, like wizards. So, from that perspective I'm IDE-agnostic too.

Anyway, I'm not much of a fan for long discussions. You can either believe me or not. My blog is full of evidence, should you need it, that I prefer common sense over marketing speak. 

Neil Bartlett replied on Tue, 2008/04/01 - 11:39am

Geertjan,

 I believe you. Personally, I simply feel it's odd to have two articles in a row on EclipseZone which are essentially about migrating away from Eclipse to other IDEs (IntelliJ and NetBeans respectively). It almost seems like a trend, and I doubt it's of much interest to an Eclipse developer. I'm sure it is of interest to an IntelliJ or a NetBeans developer but there are other Zones for that.

 Regards,

Neil 

Geertjan Wielenga replied on Mon, 2008/04/07 - 4:19am in response to: njbartlett

njbartlett wrote:

I believe you. Personally, I simply feel it's odd to have two articles in a row on EclipseZone which are essentially about migrating away from Eclipse to other IDEs (IntelliJ and NetBeans respectively). It almost seems like a trend, and I doubt it's of much interest to an Eclipse developer. I'm sure it is of interest to an IntelliJ or a NetBeans developer but there are other Zones for that.

 

Again, to me, these articles are not about moving away from Eclipse. They are about using Eclipse together with other IDEs. That's, after all, what developers out there often do. Many companies have some Eclipse users, some NetBeans users, and some IntelliJ users. That's not going to change. Therefore, this article makes perfect sense within EclipseZone. 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.