You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by mateamargo <ma...@gmail.com> on 2009/09/01 17:21:01 UTC
Re: How to filter META-INF/context.xml
I was trying to acomplish the same thing. But it seems the war plugin ensures
that the context.xml file is overwritten.
I even added an antrun task to copy the filtered context to the META-INF
folder, but the war:war goal writes on it before building the war.
I know this because I've added an ant task to change the context.xml
permission to avoid writting and this is what I got:
[INFO] Could not copy webapp
sources[/home/user/projects/prueba/target/mywebapp]
Embedded error: Unable to open file
/home/user/projects/prueba/target/mywebapp/META-INF/context.xml for writing.
Did you find out a way to do this?
--
View this message in context: http://www.nabble.com/How-to-filter-META-INF-context.xml-tp21992805p25242310.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org