tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Wishnie" <>
Subject Re: log4j
Date Tue, 01 Oct 2002 17:33:28 GMT
My Ant script is probably overly complex, but I set up a variety of variables in my
that determine where the WebApp
will be deployed.

I also have in my project directory, a directory called 'conf' which holds all my config,
web.xml, etc...

On deploy, Ant copies these configuration files into there proper location and substitutes
the '@' tokens .

Here is the relevant task that handles the file:

<!-- copy over log4j properties if it exists-->
<copy file="${deploy.logproperties}" todir="${build.dir.webapp}/WEB-INF/classes" failonerror="no">
        <filter token="logfile"

- Jeff

----- Original Message -----
From: "Shapira, Yoav" <>
To: "Tomcat Users List" <>
Sent: Tuesday, October 01, 2002 10:24 AM
Subject: RE: log4j


>If, like me, you deploy your app to many different locations, you can
use a
>build and deploy tool like Ant to dynamically write out
>the full path on deploy. So my actual properties file looks like this:
>On deploy, Ant substitutes the actual full path for "@logfile@"

Can you please elaborate on this part?  Specifically the last sentence:
if you could include the relevant segment from your ant script, that
would be great!


Yoav Shapira
Millennium ChemInformatics

> This e-mail, including any attachments, is a confidential business communication, and
may contain information that is
confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s)
to whom it is addressed, and may
not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended
recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message