Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Glassfish, EAR, m2e/wtp and all that

Thanks for the quick answer. I will ask the glassfish plugin team but just to be sure that I am clear. The problem occurs as soon as one of the projects is closed.
I assume that the default policy in that case is to use the jar instead of a directory. Are you aware of such a rule?

Steve

Thanks again and I'll come back with

On Sep 25, 2012, at 4:33 PM, Fred Bricon wrote:

m2e-wtp doesn't do any deployment by itself. This is the server adapter responsibility to unpack archives during deployment. I *think*, you should ask on  https://forums.oracle.com/forums/forum.jspa?forumID=578 or whatever place you can find support for the glassfish server adapter (let me know if you find out)

Regards,

Fred Bricon

On Tue, Sep 25, 2012 at 2:38 PM, Steve Hostettler <Steve.Hostettler@xxxxxxx<mailto:Steve.Hostettler@xxxxxxx>> wrote:
Hello,

first let me thanks the m2e* team for the great job. I work on a rather large project organized as follow:

-EAR

-EJB A1
-EJB A2
-WAR A3


-EJB C1
-EJB C2
-WAR C3

-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 it did not solve the problem

This comes from the fact that m2e-wtp do not unpack the jars/wars that are not part of the workspace.


Have someone any idea on how to solve that?


Many thanks in advance
Steve
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx<mailto:m2e-users@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx<mailto:m2e-users@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top