1 Reply Latest reply on Jan 27, 2003 8:17 PM by Adrian Brock

    Setting directory in xml to environment variable

    Dale Bronk Newbie

      Hello,

      Is there a way to use environment variables in the xml files? I am using 3.0.4 on Windows 2000. I have the following in my jetty-web.xml file:


      jsp

      scratchdir
      c:\jboss\server\default\deploy\MyApp.ear\CompiledJsp




      I have an environment variable:
      set WEB_APPS_DIR=c:\jboss\server\default\deploy

      I want to specify:
      %WEB_APPS_DIR%\MyApp.ear\CompiledJsp

      How can I accomplish this?

      Thanks,
      Dale