views:

3081

answers:

3

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.

+5  A: 

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.

Shane C. Mason
I agree. I think relying on third-party build tools (ant, nant, etc.) is the way to go. It's fine if the IDE generates them, but the build files should be /usable/ without needing the IDE.
Matthew Flaschen
Exactly - in my experience Netbeans generated build scripts are not generic - they seem to have some dependencies on the ant that comes bundled with Netbeans. This was my experience 2 years ago anyway - it might have changed.
Shane C. Mason
Unfortunately I work with a governmental agency and we're so backward there there are persons that are still fighting to stay in Java 1.2! Aw well, seems we'll be doing alot of manual migration.
Randin
+1  A: 

At my company people pretty much use either eclipse or Netbeans. I myself use both of them for various tasks. We write our own ant scripts to build and package our source so it does not matter what IDE a person uses. I would suggest that you create your own ant script to build your source, that way you won't have to depend on an IDE specific build script.

Mr. Will
A: 

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 :)

KiNGPiN