5 Replies Latest reply on May 18, 2010 12:16 PM by Angelo Mario del Grosso

    Keeping properties file out of war

    Angelo Mario del Grosso Newbie

      We've got a Seam app doing all the usual things with datasources. Notably, pulling datasource info (url, username, password, etc.) from a separate property file.

      Is there a way to store and source .properties file outside of the .war? If I've got this right, Seam assumes the root of the paths used  are the root of the .war?

      But that's a bummer since installing on a new server (with a different database) means have to explode the .war just to edit the datasource-config file.

      How do you guys handle this situation? Or do you just live with having to explode the .war to make config edits?


      Angelo Mario