I have modules which are included in several root projects, they have ant files that should change their behavior depending on which project has invoked them. I have been unable to see how I can pass the value of the path to the root invoking project to an ant property or an environment variable to an ant script/target defined as part of a module.
Can this be done?
The desire is so nothing has to be changed depeding on which project is building the module and the value can be inherited from some setting made at the project (not the machine or user on the machine) level. And that items can be found relative to the project root of the invoking project.