I work on a project where we have an instance of our application for each of
several countries.  the code is exactly the same, the only difference is the
physical servers and the resulting changes in the config files (IP addresses
and the country code).  I know that Maven can do property file filtering,
but it's not obvious to me how I can produce a distribution for each
country.  Is this possible?

Bonus question, if I add property filtering, my config files will look like:

server.ip = ${SERVER_IP}

then I'll have:

FR.properties
server.ip=192.168.0.1

UK.properties
server.ip=192.168.0.2

What do I do in Eclipse to run with a set of development properties??

Regards,
Michael Mattox


--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to