In the version I did on the wiki, I used a comment as the replacement token and used ant's replace tag.
This has the benefit of working when not replaced. - Brett Quoting Eric Chow <[EMAIL PROTECTED]>: > In the maven-tomcat plugin, if we want to precompile JSP, we have to add > @maven.tomcat.generated@ in the web.xml for merging. > > But if we set the maven.tomcat.precompile = false and not remove the TAG in > web.xml, it will cause error when startup Tomcat, right ? > > So, I suggest to add another condition as following in plugin.jelly. > > Eric > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
