How do you call a specific target in all build.xml located in all subdirectories using wildcards (ie not hard coding the subdirectory names)? The below answer is hardcoded. Is there a way to do it without hardcode?
Similar to this question: Pass ant target to multiple build.xml files in subdirectories
I’ll setup different properties within my build.properties file. I use these to dynamically build paths in my targets.
Define the location of your build.properties file:
Use those properties in your targets:
Properties in the build properties are similar to setting up an .ini file:
I guess you could use a dynamic file as your properties file, if necessary, as long as you define the proper path to the file. You could point it to a server-side file to dynamically write your properties file (ColdFusion, PHP, JSP, whatever).