Hello.
I put a file: mywebapp.xml into tomcat/webapps/.  This file makes Tomcat
reference my webapp in a different directory.  I tried to use a variable
in the path but Tomcat hated that.


<?xml version="1.0" encoding="UTF-8"?>

<Context
       path="/mywebapp"
       docBase="${user.home}/projects/mywebapp"
       debug="0"
       privileged="false">
   <Logger
           className="org.apache.catalina.logger.FileLogger"
           prefix="localhost_mywebapp_log."
           suffix=".txt"
           timestamp="true"/>
</Context>


But ${user.home} renders exactly as written. It doesn't change to /home/charvey/.
Is there any way to make something like this happen? This is a team project
so when someone else checks it out of CVS I would like it to work on the user
directory instead of having someone to change it. If its not possible, well,
then I'll figure something else out.


Thanks a lot.


Charlie


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



Reply via email to