Hi IsaakTaylor!

No idea?

Only for ant (which you could call from maven):

<!-- ************ REPLACE STRINGS ********** -->
<target name="replace strings in source" description="replace string">
     <replace dir="./" summary="true">
         <include name="src/main/**/*"/>
         <include name="src/test/**/*"/>
                        
    <!-- replacetoken = fromString  replacevalue = toString;   -->
         <replacetoken><![CDATA[Knallo World]]></replacetoken>
         <replacevalue><![CDATA[Hello World]]></replacevalue>
     </replace>
</target>

With the CDATA section it is even possible to replace more than one line. (I use this for making changes to the license header)

Regards,
Peter.


--
http://www.timefinder.de/ - free your timetabling


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

Reply via email to