Sukupa91
Sukupa91

Reputation: 133

Importing Netbeans project to Eclipse

I have created a GUI Applicaiton using Netbeans because of several obvious reasons like GUI Builders and all.

Now I want to implement Hibernate as ORM in this app in eclipse , because of the Hibernate plugin that makes it very simple and time saving .

How can i import that Netbeans project to my Eclipse IDE . I know there is no direct solution for this .

I have tried to find (.war) file under dist, but its not there even after clean and build in netbeans. So please tell me a way to make it done .

Upvotes: 0

Views: 4013

Answers (2)

Rohit Rehan
Rohit Rehan

Reputation: 570

I also faced the similar problem. What I did was I copied .project and .classpath files (from my other eclipse project or you can create it, I was too lazy) into the netbeans project directory and then simply imported the project into eclipse. now I can make UI changes in netbeans and edit the other part in eclipse.

For the problem of AbsoluteLayout you need to make a classpath entry in ".classpath" file for AbsoluteLayout.jar

Hope that solves your problem.

Upvotes: 1

Rahul Wagh
Rahul Wagh

Reputation: 492

I also faced a similar problem with my project the best way to solve this issue to do the configuration manually on eclipse. Its tiresome but there is no shorcut way to it..

  1. Goto eclipse and create dynamic webproject
  2. Create the simlar packages
  3. Create same folder in the WEB-INF directory
  4. Paste all the content(Source code, jsp file, js, css etc.)

Upvotes: 0

Related Questions