The problem we have are as follows:
We are using ANT
to build our application. However, the application is built multiple times, once for each client (they have different skins / cms / i18n etc). Up to now, we had no need to compile them all at once (usually just work on one client at a time). Now, we want our build server to build all permutations for all clients in all languages. In other words, we need to create a war
file for each client, each containing their own compilation.
At the moment, the client name is read in from the application's .properties
file.
My question is this. Is there any way that the client.name
property (from the application's .properties
) be overridden in the build.xml
used by ant? Or is the only way to create a different target
for each client and hard-coding the name?
Thanks.