The base directory of the new project is set dependant on the dir
and
the inheritAll
attribute. This is important to keep in mind or
else you might run into bugs in your build.xml
's. The following
table shows when which value is used:
Table 48. How attributes are used
dir |
inheritAll |
new project's basedir |
---|---|---|
value provided | true |
value of dir attribute
|
value provided | false |
value of dir attribute
|
omitted |
true |
basedir of calling task (the build file containing the
<phing> call.
|
omitted |
false |
basedir attribute of the <project> element
of the new project
|