0

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 .

Sukupa91
  • 133
  • 3
  • 9
  • You can create a new project from existing source in Eclipse. See [there](http://stackoverflow.com/questions/4736631/sharing-a-project-between-eclipse-and-netbeans) – Tonio Mar 27 '14 at 07:58
  • 2
    -1 for what , atleast do mention the problem in question. – Sukupa91 Mar 27 '14 at 11:02
  • 1
    [Here's a good answer](http://stackoverflow.com/questions/2637735/what-is-src-directory-created-by-eclipse/2637787#2637787). Hope it helps! – Fares K. A. Mar 27 '14 at 12:31
  • 1
    *@Fares A* Actually, that's more or less what I linked to. The answer I linked to provides two links (`Netbeans <-> Eclipse`) – Tonio Mar 27 '14 at 12:39

2 Answers2

1

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.

Rohit Rehan
  • 568
  • 1
  • 4
  • 18
0

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.)
Rahul Wagh
  • 470
  • 1
  • 6
  • 23