[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| [m2e-users] wtp, "run on server" -> ensure correct deployment? | 
Folks;
as the subject says: Using m2eclipse, WTP and Glassfish, is there any 
way to ensure a webapp (maven war artifact) built from within Eclipse 
gets correctly deployed to the application server? Right now, looking at 
how things are, I see that the projects target/<module-name> folder 
always contains the "right" structure, same as the .war file built this 
way. However, when doing "run on server", it seems at best random what 
gets copied over to the application server deployment folder. Sometimes 
there are jars missing, sometimes WEB-INF/classes is completely empty, 
sometimes GWT or VAADIN folders aren't there. I already messed with 
Project Properties -> "Deployment Assembly" configuration, just to see 
things got not much better. Neither did activating or deactivating 
workspace dependency resolution. :/
How to get this set up right? Basically, I "just" want to see everything 
in target/<module-name> deployed to the application server when running 
on the server... Right now, much of this seems pretty non-deterministic 
and sort of black art. :(
TIA and all the best,
Kristian