Hack Forums
[Java] Importing NetBeans IDE projects too Eclipse IDE - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Java] Importing NetBeans IDE projects too Eclipse IDE (/showthread.php?tid=3516910)



Importing NetBeans IDE projects too Eclipse IDE - mikebail - May 30, 2013

Hey guys, I started working on a game a couple days ago and as I have been doing more work with pixels I see my hate for netbeans. So I would like to bring my NetBeans project over to Eclipse.

Please help

Regards,
Mikebail 🎉


* - Taru - May 30, 2013

I'd try to make a new project, navigate to the workspace, and move the source folders from netbeans into the new eclipse project source folder? May work, may not. Good luck.


* - mikebail - May 30, 2013

ok thanks I will try this
Miebail 🎉

It did not work :( Thank you for the suggestion though!

Possibly some one else can enlighten me with some insight.

Mikebail 🎉


* - Taru - May 30, 2013

Did you refresh Eclipse after adding the source in?


* - mikebail - May 30, 2013

Hey guys thanks for the input, I found a 100% tutorial of how to do this here.

I will post it here so it will be archived

Code
PART I - NETBEANS

1) Open NebBeans.
2) Create a java project named "ToEclipse".
3) Build this project.

Then, NetBeans has created several folders. The important folders to us are (in my computer):

a) "c:\User\Almir\NetBeans\ToEclipse\dist"
b) "c:\User\Almir\NetBeans\ToEclipse\src"

PART II - ECLIPSE

1) Go to Eclipse.
2) Create a java project in Eclipse named "ToEclipse".

Then, Eclipse has created several folders. The important folders to us are (in my computer):

a) "c:\Users\Almir\Eclipse\ToEclipse\bin"
b) "c:\Users\Almir\Eclipse\ToEclipse\src"

PART III - WINDOWS EXPLORER

1) Go to Windows Explorer.
2) Copy the FILE "ToEclipse.jar" at "c:\Users\Almir\Eclipse\ToEclipse\bin" folder.
3) Past it in "c:\Users\Almir\Eclipse\ToEclipse\bin"
4) Copy the FOLDER "toeclipse" at "c:\User\Almir\NetBeans\ToEclipse\src" folder.
5) Past it in b) "c:\Users\Almir\Eclipse\ToEclipse\src" folder.

PART IV - ECLIPSE

1) Go to Eclipse.
2) Press "f5"to refresh the view.
3) Verify that your project is there (under "ToEclipse/src/toeclipse").
4) Say "Oh! Yes! It works!".
5) Run the project.
6) Return to 3) how many times you want!