On 12/1/06, David Delbecq <[EMAIL PROTECTED]> wrote:
<HTML>
<BODY>
"This application was build on " @@SomeBuildDateProperty@@
</BODY>
</HTML>

And use the ant filtering rules to replace content between @@ (see ant docs)


Thanx David.Ended up being this simple :

      <tstamp prefix="build">
        <format property="date" pattern="EEE MMM d, yyyy hh:mm:ss z"
locale="en" />
       </tstamp>
        <filterset id="maven.build.filter" begintoken="@" endtoken="@">
        <filter token="BUILD_DATE" value="${build.date}" />
      </filterset>
      <copy todir="WebContent" filtering="true" overwrite="true">
         <fileset dir=".">
          <include name="**/mavenadmin.jsp"/>
        </fileset>
        <filterset refid="maven.build.filter" />
     </copy>

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

Reply via email to