Hi,

>Might be wrong on this but why not setup environment variables and
reflect
>those in ant? That way you should
>be portable, providing those env vars exist.
>BTW, take off the tomcat greeting page from your machine ;)

That's one possible solution.  Another is to setup a build.properties
file with tokens, e.g. @logfile@ and have the ant deploy script populate
your web.xml (or whatever configuration file you want) with the
appropriate value of this token.  (See Ant's copy filter token
mechanisms).

Yet another approach, and probably the most "enterprise like," is to
specify the log file location via JNDI.  Have an env-entry-ref in your
web.xml (this is constant, will not changed, so you don't need to change
your WAR), and have the server administrator fill in the appropriate
value for their server (e.g. in server.xml for tomcat).

Yoav Shapira



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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to