Maven properties and XML in Eclipse [message #903211] |
Wed, 22 August 2012 10:02  |
Eclipse User |
|
|
|
Hey everybody,
I am wondering about a cosmetic thing. I have an XML file - a web.xml - which is edited by maven depending on a build-profile. So far, I have this (shortened) invalid xml file:
<web-app>
${webxml.myconfig}
</web-app>
which will be rendered by maven during the build cycle. How can I tell Eclipse to ignore this one property. Besides I really like getting hints about mistakes in my XMLs, even in the web.xml which is actually significantly longer.
Or even better: how can I wrap such a maven-specific command to be valid XML?
Thank you for help, Rafael
|
|
|
Re: Maven properties and XML in Eclipse [message #903225 is a reply to message #903211] |
Wed, 22 August 2012 10:29  |
Eclipse User |
|
|
|
Perhaps someone on the Web Tools forum can answer this.
On 22/08/2012 4:02 PM, Rafael W. wrote:
> Hey everybody,
> I am wondering about a cosmetic thing. I have an XML file - a web.xml
> - which is edited by maven depending on a build-profile. So far, I
> have this (shortened) invalid xml file:
>
> <web-app>
> ${webxml.myconfig}
> </web-app>
>
> which will be rendered by maven during the build cycle. How can I tell
> Eclipse to ignore this one property. Besides I really like getting
> hints about mistakes in my XMLs, even in the web.xml which is actually
> significantly longer.
>
> Or even better: how can I wrap such a maven-specific command to be
> valid XML?
> Thank you for help, Rafael
|
|
|
Powered by
FUDForum. Page generated in 0.05975 seconds