Hello,
I am currently writing new build and deployment scripts for several java projects.
I am using svn, ant and jenkins.
During the build, ear files are created, which contain some war files. I have multiple instances and different configuration and property files. I want to manage all properties (key/value) at one place. What's there the best practise?
My current approach is: CSV file with the following records per row:
Destination-File;keyname;value_instance_test;value_intance_qs;value_instance_prod
e.g.
web.xml;display-name;AppTest;AppQS;AppProd
During the ant build, I am creating a temp file depending on the instance with only key-value and do a ant filter on the target file.
Do you have any suggestions? I guess I am not the only one with this requirement and I don't want to reinvent the wheel.
Thank you,
y0shi