The basedir value of the new project is affected by the two attributes dir and inheritall, see the following table for details:
dir attribute | inheritAll attribute | new project's basedir |
value provided | true | value of dir attribute |
value provided | false | value of dir attribute |
omitted | true | basedir of calling project (the one whose build file contains the <ant> task). |
omitted | false | basedir attribute of the <project> element of the new project |