• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Export Netbeans to Eclipse

 
Peter Mest
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can import Eclipse projects to Netbeans, but how can you export Netbeans project to Eclipse?
 
Peter Mest
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing?
 
Peter Mest
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
delete please
 
Almir Campos
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Petru Coma wrote:You can import Eclipse projects to Netbeans, but how can you export Netbeans project to Eclipse?

Hi, Petru.

Today I learned how to do this importation. Do you still need the response?

Regards,
Almir Campos.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Almir, yes please provide the steps to do this because this question comes up periodically. Oh, and welcome to Java Ranch!
 
Almir Campos
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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):

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!


I hope that helps you!

Kind regards,
Almir Campos
São Paulo, Brazil.
 
Joao Guilherme Almeida Cesar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Incredible !
But this works !!

Of course, it's not the best way of all... but ! The important is that It solved my problem !!

Thank you brow !

Cheers.
JG
 
Naran Parmar
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.

Regards,
Naran
 
Jenkins Malloy
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Sudhir Srinivasan
Ranch Hand
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

  • create a java project in eclipse with same name as the project to be imported (from netbeans)
  • right-click project, select Import > File System and import project & its resources thru file system wizard.
  • test in eclipse by right-clicking on the project or main class within the project (as the case may be), select Run As (from the pop-up menu)
    and then selecting Java Application to execute


  • Sudhir
     
    Martin Vajsar
    Sheriff
    Pie
    Posts: 3747
    62
    Chrome Netbeans IDE Oracle
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks for updating the solution, Sudhir!

    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.
     
    Sudhir Srinivasan
    Ranch Hand
    Posts: 93
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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.

    Sudhir

     
    I agree. Here's the link: http://aspose.com/file-tools
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic