• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

migration from netbeans to eclipse

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all

I have an EJB application configured in netbeans. Now i want to migrate that application to eclipse IDE. Its a very big application

Can anyone please tell step by step procedure of how to configure that application in eclipse

Thanks and Regards
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please be sure to ask IDE questions in the IDEs forum. I have moved this post there for you.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
NetBeans uses Ant build scripts, and Eclipse lets you create a new project based on an Ant build script, so you could try that. In Eclipse, do File > New > Project, then Java > Java Project From Existing Ant Build.
 
simranjeet kaur
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Thanks for your reply. I don't want to make a new project from scratch. I have an already built EJB project in netbeans. now i want to configure that project in eclipse.

how can i do that?
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I never said make a new project from scratch. I said that you can create an Eclipse project based on an Ant script. Doing so will create the necessary constructs within Eclipse so that you can edit your project there. This is like opening the NetBeans project in Eclipse and having Eclipse convert the project into an Eclipse project. Note that there is no way to open a NetBeans project within Eclipse (or the other way around) without going through such a conversion.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In fact Eclipse has that option to use an existing Ant script but, how would you cope with macrodefs?

The Eclipse won't be able to find the javac task because NetBeans has defined a Macrodef task to compile.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anthony, you are right. Looks like NetBeans build scripts are architected in such a way as to prevent Eclipse from understanding them. Too bad. (Note that I never said I had actually done this, I simply recommended to simranjeet that he(?) try it... )

But this worked for me:
1) create a new Java project and identify the NetBeans project directory as the location
2) identify the Java source directories
3) add an ant builder to the project using the NetBeans build script.

I used a web app as the test case.
 
reply
    Bookmark Topic Watch Topic
  • New Topic