Ant: how do I pass values to properties from top level build.xml to build.xml in sub folders
ant
Solution
This way:
<ant antfile="sub/build.xml" inheritall="true"/>
Problem
I have a set of folders with build.xml and sql scripts (one folder per database schema). I have a build.xml at the root level. I want to set the values of server, port, userid, password etc... in the root level build.xml and pass it to the build.xml in each of the folders. How can I do that?