:) I have an obligatory recommendation.  If nothing else, theres the
antrun plugin which will allow you to do that substitution as well.  It
allows you to run ant functions within the pom.

You may be able to just keep the files in your src/main/language folder,
and do a "<replace" function, pointing to that src/main/language folder.


Thanks,

Roy Lyons




On 9/30/13 9:44 AM, "Russell Gold" <[email protected]> wrote:

>Before I write this myselfÅ 
>
>I am converting an ant build to maven. One of the steps processes a
>template file, using properties from a properties file to replace tokens
>and produce a java source file, which is then compiled. Is there an
>existing plugin which does this? The resource plugin can do the
>substitution, but will not mark the resultant file for compilation. It's
>not all that difficult to write, but one fewer plugin to maintain is a
>good thing.
>
>Thanks,
>Russ
>-----------------
>Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
>and listen to the Misfile radio play
><http://www.fuzzyfacetheater.com/misfile/>!
>
>
>
>
>


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

Reply via email to