Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

migration from netbeans to eclipse

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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
 
Marshal
Posts: 67451
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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.
 
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic