Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

(Curiosity only) how to transfer a project from NetBeans to Eclipse

+10 votes

As far as I know, our team is not planning on doing this any time soon, but just to know, how would we transfer a project from NetBeans into Eclipse?  We chose NetBeans initially because it had JavaFX support out of the box, whereas Eclipse had to do a lot of configuring, but just in case we all want to go over moving it to Eclipse in the future, how would we do that?

asked Oct 5, 2015 in Fall 15-16 by Nick Caputo (100 points)
edited Oct 5, 2015 by Nick Caputo

1 Answer

+5 votes
Best answer

According to this StackOverflow post... http://stackoverflow.com/questions/836647/migrating-from-netbeans-to-eclipse

...which linked me to this page as a solution... http://www.coderanch.com/t/458555/vc/Export-Netbeans-Eclipse

...apparently it's just a matter of creating a new project in Eclipse which points to the important files in the NetBeans project. The same solution is also present on the StackOverflow page with screenshots.

Another option that is mentioned is something to do with AntBuild, which I don't really know anything about, but I've noticed that Eclipse asks me if I want to Run using it when attempting to launch a class file outside of a project? (Sorry if that was long-winded.)

Not sure if JavaFX would go along with it, though.

answered Oct 5, 2015 by Christopher Green (100 points)
selected Oct 13, 2015 by Nick Caputo
The AntBuild thing wants you to point to the build.xml or whatever file that is in the project. Netbeans just does this right away and it's part of why JavaFX is easier with NB as far as I can tell.