Peter Johnson wrote:Almir, yes please provide the steps to do this because this question comes up periodically. Oh, and welcome to Java Ranch!
Hi, Peter and All. Thank you for the welcome!
Here is a little tutorial on "Importing projects from NetBeans to Eclipse".
Please try this:
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):
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):
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!
I hope that helps you!
São Paulo, Brazil.
While importing the Eclipse project to NetBeans I am getting
Message "Does not contain regular Eclipse workspace"
I did not get this message.
Could anybody can tell me the steps or some provide me some link.
So I can configure easily.
If possible than please mention the NetBeans version also.I am using NetBeans version 6.7
Any help would be greatly appreciated.
Jenkins Malloy wrote:Hi,
Is there a typo? In Step III you said to copy from "c:\Users\Almir\Eclipse\ToEclipse\bin" and to paste it to "c:\Users\Almir\Eclipse\ToEclipse\bin". Same directory isn't it?
Should be a typo.........the correct file path would be "C:\Users\user\NetBeans\ToEclipse\dist" (for copying the ToEclipse.jar file)
and pasting to the destination directory mentioned. I tried the same (was facing the issue of importing from Netbeans to Eclipse IDE) and it works! (thanks to the
poster Almir Campos). Alternately, I tried the following and was successful:
and then selecting Java Application to execute
Martin Vajsar wrote:Thanks for updating the solution, Sudhir!
You're welcome, Martin.
Martin Vajsar wrote:It seems that you've disabled the BB Code in your post, which is why the formatting didn't apply. You can remedy it by clicking Edit on your message, unchecking the Disable BB Code in this message checkbox and clicking Submit.
...and I was wondering why the formatting wasn't working. Thanks for pointing out and have remedied the same.