Adding a system property?

2002-03-18 Thread Rich Baldwin
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

Re: Adding a system property?

2002-03-18 Thread Alex Potter
- Original Message - From: Rich Baldwin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 18, 2002 4:51 PM Subject: Adding a system property? I have a system property which I have added to my build.properties file and my build.xml file. Ant builds

Re: Adding a system property?

2002-03-18 Thread Craig R. McClanahan
On Mon, 18 Mar 2002, Rich Baldwin wrote: Date: Mon, 18 Mar 2002 11:51:45 -0500 From: Rich Baldwin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Adding a system property? I have a system property which I have added to my

Re: Adding a system property?

2002-03-18 Thread Mike McGuinness
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

Re: Adding a system property?

2002-03-18 Thread Rich Baldwin
] To: Tomcat Users List [EMAIL PROTECTED] Subject: Adding a system property? 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