X

Geertjan's Blog

  • July 31, 2008

Groovy: Bridge Between Eclipse and NetBeans IDE?

Geertjan Wielenga
Product Manager
If you're able to use a Groovy script to generate a NetBeans Platform application (as shown over the past few days in this blog), then why not go a step further and also generate two additional files—".project" and ".classpath", as shown below...

...because those two files happen to be all that's needed for an application to be an Eclipse project. You can then simply open the NetBeans Platform application right inside Eclipse:

And then you can use NetBeans IDE to generate various NetBeans API implementations, since Eclipse doesn't have the cool wizards that NetBeans IDE makes available for this purpose. After that, simply continue using Eclipse, if you're more comfortable with that editor or if one/more of your team mates use Eclipse while you prefer NetBeans.

By the way, I really like how an Eclispe project's classpath is declared in the above shown external ".classpath" file, because that means that I'm able to include as many NetBeans Platform JARs as I want in the process that generates the file. I.e., when the Eclipse project is opened in Eclipse, all the NetBeans Platform JARs (or as many/few as are set in the Groovy script) are on the Eclipse project's classpath.

Previously, I'd need Maven to achieve the result above. Now, via Groovy, I can generate an IDE-polyglot project in an easily customizable style and language. Thanks, Groovy, you're groovy.

Join the discussion

Comments ( 21 )
  • Oyun Monday, August 11, 2008

    thank you...


  • youtube Friday, November 28, 2008

    Thank you very much


  • hersey varmis Friday, November 28, 2008

    Thank you very much. Great works <a href="http://www.seyretvideo.net/" title="youtube">youtube</a>


  • dizi izle Saturday, January 3, 2009
  • okey oyna Wednesday, February 11, 2009

    thanks


  • hal&#305; y&#305;kama makinas&#305; Tuesday, March 3, 2009

    thank you


  • hal&#305; y&#305;kama makinalar&#305; Tuesday, March 3, 2009

    thank you


  • deniz iskele Tuesday, March 3, 2009

    thank


  • ilan Tuesday, March 3, 2009

    thank


  • video Tuesday, March 3, 2009

    populer video


  • oyun Tuesday, March 3, 2009

    populer game


  • vesaire hikayeleri Tuesday, March 3, 2009

    sagop kajmer


  • YouTube Thursday, April 23, 2009

    thanks

    Youtube


  • guzelokey Monday, May 11, 2009

    thank


  • okey Tuesday, June 2, 2009

    thank you


  • giyim Tuesday, June 2, 2009

    thank you


  • pantalon Tuesday, June 2, 2009

    okey


  • Okey Wednesday, June 3, 2009

    thank you well


  • Okey Oyna Monday, July 6, 2009

    I'd like to congratulate you for this beautiful article was a really nice article nice article your health and your new look


  • Okey Oyunu Monday, July 6, 2009

    I'd like to congratulate you for this beautiful article was a really nice article nice article your health and your new look


  • Okey Oyunu Oyna Monday, July 6, 2009

    I'd like to congratulate you for this beautiful article was a really nice article nice article your health and your new look


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