Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] jspweb.xml and web.xml

First time I here about that issue.
Can you post the contents of your pom.xml and ./settings/***.component ?

Le 22 août 2011 05:46, "Greg Thomas" <greg.d.thomas@xxxxxxxxx> a écrit :
> Hi all,
>
> I'm using m2eand m2e-wtp. I'm not sure exactly which versions (Eclipse
> doesn't make it easy to check), but it's the latest from the Eclipse
> Marketplace.
>
> It's all working brilliantly, and makes development much easier. So
> many thanks for that.
>
> However, I've one small niggle. My web project has a web.xml file
> included in it;
> src\main\webapp\WEB-INF\web.xml
>
> When the project is published to the Eclipse version of Tomcat it gets
> renamed to jspweb.xml, i.e.
>
> workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\sample\WEB-INF\jspweb.xml
>
> This means the first time I publish a project (or change the web.xml),
> I have to rename it back to web.xml
>
> Is there a m2e-wtp configuration item somewhere that will prevent the
> file from being renamed?
>
> The good news is that when Maven builds the project, it leaves the
> name of the web.xml file untouched.
>
> Thanks,
>
> Greg
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users


--
"Have you tried turning it off and on again" - The IT Crowd

Back to the top