peterreilly 2004/04/29 03:13:18 Modified: docs/manual/CoreTasks import.html Log: Describe relative file behaviour in <import> task. Revision Changes Path 1.13 +4 -8 ant/docs/manual/CoreTasks/import.html Index: import.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/import.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- import.html 16 Apr 2004 22:48:18 -0000 1.12 +++ import.html 29 Apr 2004 10:13:17 -0000 1.13 @@ -62,12 +62,6 @@ Note that "builddocs" is not the filename, but the name attribute present in the imported project tag.<br /> <br /> -<b>Important</b>: We have not finalized how relative file references -will be resolved in deep/complex build hierarchies -such as what -happens when an imported file imports another file. Use absolute -references for enhanced build file stability, especially in the -imported files.<br /> - <br /> <h3>Parameters</h3> <table border="1" cellpadding="2" cellspacing="0"> <tbody> @@ -81,7 +75,9 @@ file </td> <td valign="top"> - The file to import. + The file to import. If this is a relative file name, the file name will be resolved + relative to the <i>importing</i> file. <b>Note</b>, this is unlike most other + ant file attributes, where relative files are resolved relative to ${basedir}. </td> <td valign="top" align="center">Yes</td> </tr> @@ -90,7 +86,7 @@ optional </td> <td valign="top"> - if true, do not issue stop the build if the file does not exist, + If true, do not stop the build if the file does not exist, default is false. </td> <td valign="top" align="center">No</td>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]