Erasmo pisze:
I have created a Cocoon 2.2 project following the steps provided by "Your first cocoon application using Maven 2" i need to add a db driver so i edit the target/rcl/webapp/WEB-INF/web.xml but everytime i ran the app it gets override. How can i prevent this?

Hi Erasmo,

You should never modify target directory directly because it's auto-generated and is cleaned up every time your application is being rebuilt.

In order to add some content to web.xml there is xpatch support for it.

See http://cocoon.apache.org/2.2/maven-plugins/maven-plugin/1.0/1360_1_1.html 
for details.

--
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to