Subscribe:

sábado, 24 de octubre de 2015

Importar proyectos de NetBeans a Eclipse

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!



1 comentarios:

  1. Crear el proyecto con maven es una buena solucion, para que con cualquier IDE puedas editar tu codigo sin hacer cambios en la estructura de tus directorios.

    ResponderEliminar