I create a Readme-File with the following content
December 11 2001 / 1320: deployed version of MXAvis is 0.9.5
using
<exec
executable="echo"
failonerror="true"
os="Linux"
output="${global.was.vhost.dir}/
${ant.project.name}/Readme.txt"
>
<env key="WAS_HOME" value="${global.was.dir}"/>
<arg value="${TODAY} / ${TSTAMP}: deployed version of
${ant.project.name} is ${ant.project.version}"/>
</exec>
Maybe not very nice, but it works.
Toni
****************************************************
MAN Nutzfahrzeuge AG
Anton Grimm
Abt. IDP (SoftwareProduktionsumgebungen)
Dachauerstr.667
80995 M�nchen
Tel.: 089/1580-1054
Fax: 089/1580-911054
E-Mail: [EMAIL PROTECTED]
****************************************************
"Erik Hatcher"
<jakarta-ant@ehatchersolu An: "Ant Users List"
<[EMAIL PROTECTED]>
tions.com> Kopie:
Thema: Re: creating files
11.12.01 12:06
Bitte antworten an "Ant
Users List"
One thing I've done is build a properties file using <propertyfile> and
incorporated that into the web application WAR file, and created a Taglib
to
display the version information in JSP files.
Erik
----- Original Message -----
From: "Nathan Coast" <[EMAIL PROTECTED]>
To: "Ant User (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, December 11, 2001 4:44 AM
Subject: creating files
> Hi,
>
> Is there a simple way to create files that contain paramaterised data
e.g.
> build number. I'd like to create a version.html as part of a web app
build
> process to make it easy to see exactly which build is deployed on a
server.
>
> Thanks
> Nathan
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper at LevelSeas for the presence of computer viruses.
>
> **********************************************************************
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]
>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>