Re: Building James 3.3.0 in Eclipse

2019-09-02 Thread Jerry Malcolm
Raphael, Thanks for the guidance.  I'm closer now.  But still not there. After a full day of trial and error on this, I settled on the following steps: 1) On a clean eclipse workspace, File-->Import-->Git --- I selected "clone URI" and entered the James GIT clone URI:

Re: How to use environment variables in configuration files

2019-09-02 Thread Tellier Benoit
Hi Gualtiero, This is natively supported by the commons-configuration library we use for XML / properties parsing. Try ${env:MY_ENV_VARIABLE} You can read: https://commons.apache.org/proper/commons-configuration/userguide/howto_basicfeatures.html (Variable Interpolation) Best regards, Benoit

Re: Building James 3.3.0 in Eclipse

2019-09-02 Thread Jerry Malcolm
On 9/2/2019 2:55 AM, Raphael OUAZANA wrote: Hi Jerry, Don't worry, Eclipse is still supported as a development environment and currently used by some developers (even if we have some issues in incoming 3.4 regarding compatibility between Eclipse and some Scala code). The usual workflow

How to use environment variables in configuration files

2019-09-02 Thread Gualtiero Testa
Hi, I would like to use environment variables to partially change the James configuration. My use case it to create a Docker image and use environment variable to influence some parameters in the config XML files, depending on the execution environment. For example I would like to change the