My company wants to migrate to Eclipse, I was wondering what options besides an Ant build are there to move our projects from Netbeans to Eclipse.
When the project is created find the source folder in NetBeans project, drag and drop all the source files from the NetBeans project to 'src' folder of your new created project in eclipse. Now you should be able to run your NetBeans project in Eclipse.
Eclipse and Netbeans are both free, open source IDEs. Both support multiple languages, but are especially well-suited for Java. The same basic functionality is available in both Eclipse and NetBeans. But each one has its pros and cons.
Tooooo ... oooo .... oooo late to answer but this works
http://www.coderanch.com/t/458555/vc/Export-Netbeans-Eclipse
i was looking for an answer my self and saw this question :)
Quoting:
Here is a little tutorial on "Importing projects from NetBeans to Eclipse".
Please try this:
PART I - NETBEANS
- Open NebBeans.
- Create a java project named "ToEclipse".
- Build this project.
Then, NetBeans has created several folders. The important folders to us are (in my computer):
c:\User\Almir\NetBeans\ToEclipse\dist
c:\User\Almir\NetBeans\ToEclipse\src
PART II - ECLIPSE
- Go to Eclipse.
- Create a java project in Eclipse named "ToEclipse".
Then, Eclipse has created several folders. The important folders to us are (in my computer):
c:\Users\Almir\Eclipse\ToEclipse\bin
c:\Users\Almir\Eclipse\ToEclipse\src
PART III - WINDOWS EXPLORER
- Go to Windows Explorer.
- Copy the FILE "ToEclipse.jar" at
c:\Users\Almir\Eclipse\ToEclipse\bin
folder.- Past it in
c:\Users\Almir\Eclipse\ToEclipse\bin
- Copy the FOLDER "toeclipse" at
c:\User\Almir\NetBeans\ToEclipse\src
folder. Past it in b)c:\Users\Almir\Eclipse\ToEclipse\src
folder.PART IV - ECLIPSE
- Go to Eclipse.
- Press
F5
to refresh the view.- Verify that your project is there (under
ToEclipse/src/toeclipse
).- Say "Oh! Yes! It works!".
- Run the project.
- Return to 3) how many times you want!
I hope that helps you!
Kind regards, Almir Campos São Paulo, Brazil.
I found another easier way that worked for me at least since I had problems importing the Ant build script due to a missing javac.
Say you have your Netbeans project (src, build, dist etc) in D:/blah/
In Eclipse go to File->New->Java Project
Uncheck 'Use default location' and instead use the path where the Netbeans project is (D:/blah/) Eclipse should automatically populate everything else and link to the files as well.
I have recently 'migrated' from Netbeans to Eclipse and found it amazingly easy. The reason it was easy though is that all of our projects are IDE independent standard ant and ivy build scripts that most modern IDE's can understand. This way, we all get to use the IDE we like (yes - emacs and vi too) and their are no 'migration' issues.
The reason that I am pointing that out is that, if it is not already that way, I would recommend that you take that same path on your migration. Just create some standard ant (and ivy) build scripts. Eclipse knows how to slurp those in and there will be no future migration issues.
in MY PERSONAL experience, it was easy. I was migrating a java desktop app from netbeans to eclipse. Just copy my projects into the workspace, create the project in eclipse as a new java project and put the same name of the project in netbeans (use your workspace as location). It will recognize the project structure ( Eclipse Helios, Netbeans 6.8 )
Hope this helps. I don't know how hard it turns if you have another kind of project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With