Re: Modifying a web application's web.xml at build time

2006-10-30 Thread Carlos A. Carnero Delgado
On 10/29/06, Wendy Smoak [EMAIL PROTECTED] wrote: ... That is, the auth filter is different in the live environment, when running the integration tests, and when running 'local' on my workstation. That's nice, but I think it will not help me. Your method, using properties, can change which

Modifying a web application's web.xml at build time

2006-10-29 Thread Carlos A. Carnero Delgado
Hello, using Maven the last couple of weeks with the Jetty plugin has provided our team with a huge productivity boost. We use the UrlRewrite servlet[1] in order to generate pretty URLs (from a Spring-backed application.) Currently, during development, this UrlRewrite servlet (which is loaded

Re: Modifying a web application's web.xml at build time

2006-10-29 Thread Wendy Smoak
On 10/29/06, Carlos A. Carnero Delgado [EMAIL PROTECTED] wrote: Is there a way of modifying the web.xml at build time using Maven profiles? Are profiles the solution? I think that the ideal solution would involve maintaining a single web.xml that could be modified at build time. Sure. I do

Re: Modifying a web application's web.xml at build time

2006-10-29 Thread 向秦贤
Hi, There has a good example, jboss-messaging, which use replace stratedgy. If you wanna check it out, after downloaded a new version, try to see that file: ${jboss-messaging}/util/release-admin.xml. Regards, xy 2006/10/30, Carlos A. Carnero Delgado [EMAIL PROTECTED]: Hello, using Maven

Re: Modifying a web application's web.xml at build time

2006-10-29 Thread 向秦贤
Hi, Maybe doing conditional subtasks in your case is good idea. And refering to this segment mentioned before has no bad effect.:) which use replaceregexp, with in ant, should available in m2. there are two codes as follows, one in firefox. and one in text. Regards, Qinxian !-- slim down