Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Eclipse m2e-wtp integration with glassfish

964369Sep 25 2012 — edited Oct 1 2012
first let me thanks for the great job. I work on a rather large project organized as follow:

-EAR is composed of

-EJB A1
-EJB A2
-WAR A3
....
-EJB C1
-EJB C2
-WAR C3

Developers usually only work on one or two projects. Say EJB A2 and WAR A3. The other dependencies are pulled from the nexus.

Now the problem is that I would like to test the whole thing (that is the ear). When deploying the ear on glassfish under eclipse I get the following error message:
"Expected to find an expanded directory for submodule {0} but found a JAR. If this is a directory deployment be sure to expand all submodules."

I tried to put <unpack>true</unpack> on all modules of the pom.xml but that did not solve the problem

This comes from the fact that the jars/wars that are not open projects are packed and not exploded. I asked the m2e-wtp team and they told me that this is probably related to the glassfish connector.


Have someone any idea on how to solve that? This is very problematic to us because we cannot ask the developers to have all projects open (or even in the workspace)

Many thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2012
Added on Sep 25 2012
13 comments
2,878 views