Rich, You can edit the start script to set system properties for the JVM.
I set the user.dir system property in my $CATALINA_HOME/bin/catalina.sh script. I just added the parameter -Duser.dir=${CATALINA_HOME}/conf to the $CATALINA_OPTS varaable. Then, in the app I can do this: String userDir = System.getProperty("user.dir"); I don't know if this is the proper way, but it works! Mike On Mon, 2002-03-18 at 11:51, Rich Baldwin wrote: I have a system property which I have added to my build.properties file and my build.xml file. Ant builds and deploys w/o any errors. However, my tomcat servlet cannot "find" this new system property. What is the trick here? There is nothing in my build.xml file to tell tomcat explicitly about this property, but how would I do that? Where can system properties be set in tomcat? To recap In build.properties metadata.xmlfile=project.xml In build.xml <property name="metadata.path" value="${catalina.home}/webapps/${app.name}/${metadata.xmlfile}"/> Thanks, Rich -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>