Hi,

I'm importing two maven projects, one of packaging type war, one of type jar. 
The war depends on the jar, it is packed into WEB-INF/lib.

While the war-project is correctly set to 'Dynamic web module' and gets 
activated the javascript facet (and nature in the .project file), the 
jar-project is set to 'Utility module' (which still is correct) and does _not_ 
get an activated javascript facet/nature. I've javascript code in both, so I 
want the facet to be activated on import.

Here is what I tried so far:
* Include .settings/org.eclipse.wst.common.project.facet.core.xml in version 
control
--> bad idea, import doesn't generate 
.settings/org.eclipse.wst.common.component anymore correctly. It doesn't 
contain the <wb-module> element anymore, so nothing is actually deployed on my 
server. Not sure if this intended behavior?

Is there any way to do this? Possibly without having to check in .project for 
activating the jsNature or having to check in more files in .settings/?

Thanks for your ideas and apologies if this is not the correct mailing list - I 
didn't find any list more appropriate on the project page.

Warm regards
Marco
_______________________________________________
m2e-wtp-dev mailing list
m2e-wtp-dev@eclipse.org
http://dev.eclipse.org/mailman/listinfo/m2e-wtp-dev

Reply via email to