aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Import Netbeans Maven Enterprise Project in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Import Netbeans Maven Enterprise Project in Eclipse" Watch "Import Netbeans Maven Enterprise Project in Eclipse" New topic
Author

Import Netbeans Maven Enterprise Project in Eclipse

Sven Moschel
Greenhorn

Joined: Oct 13, 2010
Posts: 10
Hello,

we have a Netbeans Maven Project that I want to use in Eclipse. The project contains 2 Web Projects and a EJB Project. When I deploy that application to glassfish I see a single Application in the glassfish admin view. I tried the following steps to import that project to Eclipse:

1. Convert each project to a eclipse project with "mvn eclipse:eclipse"
2. Import those projects as Maven Projects (m2eclipse) to Eclipse
3. I added the "Dynamic Web Project" and JSF Facet to the both Web Projects(Each of the web project has a reference to the EJB project)
4. I added the "EJB Project" Facet to the EJB Project
5. I added a Glassfish Server to the Server tab

With these settings I can add the 3 projects to the Glassfish server. But here comes the problem. When I try to publish/start the server each application will be deployed to glassfish as a single application. Also the publish process failed because some classes cannot be found. I think that occurs because the three projects Eclipse tries to deploy each project for itself and not as one application.

Could you please help me? I doesn´t know how I can get it work...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Import Netbeans Maven Enterprise Project in Eclipse