I'm looking to rename a couple of files before the actual WAR package
is created.  For example, if I have a Javascript file named "my.js", I
want to rename it to "my-20100106.js" then do a search and replace on
all references to "my.js" and have them reference the new file.

I would love to use the maven-antrun-plugin, but it doesn't look like
there is a stage where the war plugin would cede control, or allow
something to pre-process the files that have been copied to the target
directory.

I have also tried copying all source to a target/mybuild directory,
processed them as needed, then use the warSourceDirectory parameter to
reference target/mybuild.  However, it appears as if
warSourceDirectory is just the directory that the war plugin copies
src/main/webapp into.

Any ideas or input appreciated.


Lukas

Lukas Bradley . President
678.575.5067 m

Thrust Interactive
http://www.thrustinteractive.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to