|
|
@@ -70,12 +70,12 @@ imports a build file <code>imported.xml</code>, located anywhere on |
|
|
|
the file system, and <code>imported.xml</code> reads a set of |
|
|
|
properties from <code>imported.properties</code>:</p> |
|
|
|
|
|
|
|
<pre><-- importing.xml --> |
|
|
|
<pre><!-- importing.xml --> |
|
|
|
<project name="importing" basedir="." default="..."> |
|
|
|
<import file="${path_to_imported}/imported.xml"/> |
|
|
|
</project> |
|
|
|
|
|
|
|
<-- imported.xml --> |
|
|
|
<!-- imported.xml --> |
|
|
|
<project name="imported" basedir="." default="..."> |
|
|
|
<property file="imported.properties"/> |
|
|
|
</project> |
|
|
@@ -87,7 +87,7 @@ of <code>imported.xml</code> is ignored by Ant. The right way to use |
|
|
|
<code>imported.properties</code> is:</p> |
|
|
|
|
|
|
|
<pre> |
|
|
|
<-- imported.xml --> |
|
|
|
<!-- imported.xml --> |
|
|
|
<project name="imported" basedir="." default="..."> |
|
|
|
<dirname property="imported.basedir" file="${ant.file.imported}"/> |
|
|
|
<property file="${imported.basedir}/imported.properties"/> |
|
|
|