aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes migration from netbeans to eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "migration from netbeans to eclipse" Watch "migration from netbeans to eclipse" New topic
Author

migration from netbeans to eclipse

simranjeet kaur
Greenhorn

Joined: Apr 02, 2009
Posts: 2
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
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60071
    
  65

Please be sure to ask IDE questions in the IDEs forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

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.


JBoss In Action
simranjeet kaur
Greenhorn

Joined: Apr 02, 2009
Posts: 2
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
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

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.
Anthony Simpson
Greenhorn

Joined: Jun 11, 2009
Posts: 2
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
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: migration from netbeans to eclipse
 
Similar Threads
newbie: IDE generated build files on separate non-IDE build system??
How should I go about preparing?
flow of execution
Why Eclipse is preferred professionally over Netbeans?
Which IDE for developing Android application?