X

Geertjan's Blog

  • June 8, 2008

Running NetBeans from Eclipse

Geertjan Wielenga
Product Manager
I made some progress with my Maven-based IDE agnosticism: I am now able to launch NetBeans Platform applications from Eclipse. To do so, I set this goal as a new Eclipse launch configuration for cleaning/building the suite:

clean install nbm:cluster

And I created another new launch configuration for running it:

nbm:cluster nbm:run-platform

Both were simply copied from the Actions tab in NetBeans, from the Maven application's Project Properties dialog box. Then I simply selected my launch configuration as needed, from the handy dropdown in Eclipse (of which I have a NetBeans version, described elsewhere in this blog, that I need to upload to the Plugin Portal soon).

The first time I saw the NetBeans splash screen appear in Eclipse was pretty cool:

And here's the result, a simple NetBeans Platform application that integrates with Flickr, created (mostly) in Eclipse:

The only thing that Eclipse needs is a bunch of wizards, templates, and code generators... and then anyone could use it for creating NetBeans Platform applications.

Join the discussion

Comments ( 12 )
  • Aekold Monday, June 9, 2008

    Every IDE with basic ant or maven integration can. But what the point of developing Swing NB-based application from SWT-based eclipse?...


  • Geertjan Monday, June 9, 2008

    I don't know what the point is. I'm just saying that it is possible. Maybe someone feels more comfortable with Eclipse than with NetBeans. In that case, it is nice to know that you can develop NetBeans Platform applications in Eclipse too, via Maven.


  • Wayne Beaton Tuesday, June 10, 2008

    >But what the point of developing Swing NB-based

    >application from SWT-based eclipse?

    That Eclipse is based on SWT is irrelevant. A lot of organizations build Swing-based user interfaces using Eclipse. Eclipse is also (mostly) written in Java, but you can use it to write PHP, C/C++, Perl, ...

    Besides, if you're forced to build a Swing NB-based application (if, for example, somebody was holding your children hostage), you may as well do it with a good development environment :-)


  • James E. Ervin Monday, June 16, 2008

    It is kinda cool there, but it doesn't leave you feeling a little, you know, dirty?? You know that is kinda like a Boston Red Sox fan dating a Yankee fan or something.. Its just not right!


  • Geertjan Monday, June 23, 2008

    :-), funny James. I guess I don't see it that way.


  • InnovationHero Sunday, August 10, 2008

    Ok, lets get to the point, which is a better RCP, can you state some development feature differences and explian the underlaying architecture of them both in Eclipse and your cool netbeans,

    Its really Sphere RCP vs Cube RCP, not swt vs swing


  • Geertjan Sunday, August 10, 2008

    Really, to me it is SWT vs. Swing.


  • InnovationHero Sunday, August 10, 2008

    ya, but you work for Sun, you don't have much of a choice for picking up eclipse over nb :)

    which one is a better rcp, as for startups its best to invest time on a good platform and go along with its skillset rather than to switch to another in the middle of the road, netbeans got a lot of marketing muscles but is it better ?

    I want to find out, and I hope experts from IBM and Sun wouldn't have much insecurity about going into this :D


  • Geertjan Sunday, August 10, 2008

    Since you don't trust my opinions because I work for Sun, you shouldn't be asking me these questions in my blog. Anyway, this should help you:

    http://blogs.sun.com/geertjan/entry/eclipse_platform_vs_netbeans_platform


  • przem Monday, August 18, 2008

    do i get it right, you don't need netbeans IDE at all ?

    but AFAISee profiles.xml needs path to the netbeans ...

    did you manage to workaround it ?


  • faulkner Thursday, September 18, 2008

    I think this is fantastic; our organization builds its client application in NB but the server is developed in Eclipse. Something like this makes RMI testing a breeze since you don't have to launch the monster that is NB IDE.


  • guest Wednesday, April 24, 2013

    I am a beginner and so can you put this as a tutorial or something as I have no idea as how to setup an eclipse project to this.

    May be if you can provide the final eclipse project?


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.