You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

subant.html 14 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>Subant
  5. Task</title>
  6. </head>
  7. <body bgcolor="#ffffff" text="#000000" link="#525D76"
  8. alink="#525D76" vlink="#525D76">
  9. <table border="0" width="100%" cellspacing="4">
  10. <!-- PAGE HEADER -->
  11. <tr>
  12. <td>
  13. <table border="0" width="100%"><tr>
  14. <td valign="bottom">
  15. <font size="+3" face="arial,helvetica,sanserif"><strong>Subant
  16. Task</strong></font>
  17. <br><font face="arial,helvetica,sanserif"><i>EXPERIMENTAL:</i> This task is experimental and may be under continual change till Ant1.6 ships; it may even be omitted from the product.</font>
  18. </td>
  19. <td>
  20. <!-- PROJECT LOGO -->
  21. <a href="http://ant.apache.org/">
  22. <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0"/>
  23. </a>
  24. </td>
  25. </tr></table>
  26. </td>
  27. </tr>
  28. <!-- START RIGHT SIDE MAIN BODY -->
  29. <tr>
  30. <td valign="top" align="left">
  31. <!-- Applying task/long-description -->
  32. <!-- Start Description -->
  33. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  34. <tr><td>&nbsp;</td></tr>
  35. <tr><td bgcolor="#525D76">
  36. <font color="#ffffff" face="arial,helvetica.sanserif">
  37. <a name="description">
  38. <strong>Description</strong></a></font>
  39. </td></tr>
  40. <tr><td><blockquote>
  41. <i>EXPERIMENTAL:</i> This task is experimental and may be under continual change till Ant1.6 ships; it may even be omitted from the product. <p> Calls a given target for all defined sub-builds. This is an extension of ant for bulk project execution.
  42. </blockquote></td></tr>
  43. </table>
  44. <!-- End Description -->
  45. <!-- Start Attributes -->
  46. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  47. <tr><td>&nbsp;</td></tr>
  48. <tr><td bgcolor="#525D76">
  49. <font color="#ffffff" face="arial,helvetica.sanserif">
  50. <a name="attributes">
  51. <strong>Parameters</strong></a></font>
  52. </td></tr>
  53. <tr><td><blockquote>
  54. <table>
  55. <tr>
  56. <td bgcolor="#cccccc" valign="top" align="left">
  57. <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Attribute</b></font>
  58. </td>
  59. <td bgcolor="#cccccc" valign="top" align="left">
  60. <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
  61. </td>
  62. <td bgcolor="#cccccc" valign="top" align="left">
  63. <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
  64. </td>
  65. </tr>
  66. <!-- Attribute -->
  67. <tr>
  68. <td bgcolor="#eeeeee" valign="top" align="left">
  69. <font color="#000000" size="-1" face="arial,helvetica,sanserif">antfile</font>
  70. </td>
  71. <td bgcolor="#eeeeee" valign="top" align="left">
  72. <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  73. Sets the default build file name to append to directory names found in the build path -default "build.xml"
  74. </font>
  75. </td>
  76. <td bgcolor="#eeeeee" valign="top" align="left">
  77. <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
  78. </td>
  79. </tr>
  80. <!-- Attribute -->
  81. <tr>
  82. <td bgcolor="#eeeeee" valign="top" align="left">
  83. <font color="#000000" size="-1" face="arial,helvetica,sanserif">buildpath</font>
  84. </td>
  85. <td bgcolor="#eeeeee" valign="top" align="left">
  86. <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  87. Set the buildpath to be used to find sub-projects.
  88. </font>
  89. </td>
  90. <td bgcolor="#eeeeee" valign="top" align="left">
  91. <font color="#000000" size="-1" face="arial,helvetica,sanserif">Path</font>
  92. </td>
  93. </tr>
  94. <!-- Attribute -->
  95. <tr>
  96. <td bgcolor="#eeeeee" valign="top" align="left">
  97. <font color="#000000" size="-1" face="arial,helvetica,sanserif">buildpathref</font>
  98. </td>
  99. <td bgcolor="#eeeeee" valign="top" align="left">
  100. <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  101. Buildpath to use, by reference.
  102. </font>
  103. </td>
  104. <td bgcolor="#eeeeee" valign="top" align="left">
  105. <font color="#000000" size="-1" face="arial,helvetica,sanserif">Reference</font>
  106. </td>
  107. </tr>
  108. <!-- Attribute -->
  109. <tr>
  110. <td bgcolor="#eeeeee" valign="top" align="left">
  111. <font color="#000000" size="-1" face="arial,helvetica,sanserif">failonerror</font>
  112. </td>
  113. <td bgcolor="#eeeeee" valign="top" align="left">
  114. <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  115. Sets whether to fail with a build exception on error, or go on.
  116. </font>
  117. </td>
  118. <td bgcolor="#eeeeee" valign="top" align="left">
  119. <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
  120. </td>
  121. </tr>
  122. <!-- Attribute -->
  123. <tr>
  124. <td bgcolor="#eeeeee" valign="top" align="left">
  125. <font color="#000000" size="-1" face="arial,helvetica,sanserif">inheritall</font>
  126. </td>
  127. <td bgcolor="#eeeeee" valign="top" align="left">
  128. <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  129. Corresponds to <code>&lt;ant&gt;</code>'s <code>inheritall</code> attribute.
  130. </font>
  131. </td>
  132. <td bgcolor="#eeeeee" valign="top" align="left">
  133. <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
  134. </td>
  135. </tr>
  136. <!-- Attribute -->
  137. <tr>
  138. <td bgcolor="#eeeeee" valign="top" align="left">
  139. <font color="#000000" size="-1" face="arial,helvetica,sanserif">inheritrefs</font>
  140. </td>
  141. <td bgcolor="#eeeeee" valign="top" align="left">
  142. <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  143. Corresponds to <code>&lt;ant&gt;</code>'s <code>inheritrefs</code> attribute.
  144. </font>
  145. </td>
  146. <td bgcolor="#eeeeee" valign="top" align="left">
  147. <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
  148. </td>
  149. </tr>
  150. <!-- Attribute -->
  151. <tr>
  152. <td bgcolor="#eeeeee" valign="top" align="left">
  153. <font color="#000000" size="-1" face="arial,helvetica,sanserif">target</font>
  154. </td>
  155. <td bgcolor="#eeeeee" valign="top" align="left">
  156. <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  157. </font>
  158. </td>
  159. <td bgcolor="#eeeeee" valign="top" align="left">
  160. <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
  161. </td>
  162. </tr>
  163. </table>
  164. </blockquote></td></tr>
  165. </table>
  166. <!-- End Attributes -->
  167. <!-- Start Elements -->
  168. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  169. <tr><td>&nbsp;</td></tr>
  170. <tr><td bgcolor="#525D76">
  171. <font color="#ffffff" face="arial,helvetica.sanserif">
  172. <a name="elements">
  173. <strong>Parameters as nested elements</strong></a></font>
  174. </td></tr>
  175. <tr><td><blockquote>
  176. <!-- Start Element -->
  177. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  178. <tr><td>&nbsp;</td></tr>
  179. <tr><td bgcolor="#828DA6">
  180. <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
  181. <strong>dirset</strong> (org.apache.tools.ant.types.DirSet)</font>
  182. </td></tr>
  183. <tr><td><blockquote>
  184. Adds a directory set to the implicit build path. <p> <em>Note that the directories will be added to the build path in no particular order, so if order is significant, one should use a file list instead!</em>
  185. <short-description><![CDATA[Adds a directory set to the implicit build path.]]></short-description>
  186. <description>
  187. <![CDATA[Adds a directory set to the implicit build path. <p> <em>Note that the directories will be added to the build path in no particular order, so if order is significant, one should use a file list instead!</em>]]>
  188. </description>
  189. </blockquote></td></tr>
  190. </table>
  191. <!-- End Element -->
  192. <!-- Start Element -->
  193. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  194. <tr><td>&nbsp;</td></tr>
  195. <tr><td bgcolor="#828DA6">
  196. <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
  197. <strong>filelist</strong> (org.apache.tools.ant.types.FileList)</font>
  198. </td></tr>
  199. <tr><td><blockquote>
  200. Adds an ordered file list to the implicit build path. <p> <em>Note that contrary to file and directory sets, file lists can reference non-existent files or directories!</em>
  201. <short-description><![CDATA[Adds an ordered file list to the implicit build path.]]></short-description>
  202. <description>
  203. <![CDATA[Adds an ordered file list to the implicit build path. <p> <em>Note that contrary to file and directory sets, file lists can reference non-existen]]><![CDATA[t files or directories!</em>]]>
  204. </description>
  205. </blockquote></td></tr>
  206. </table>
  207. <!-- End Element -->
  208. <!-- Start Element -->
  209. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  210. <tr><td>&nbsp;</td></tr>
  211. <tr><td bgcolor="#828DA6">
  212. <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
  213. <strong>fileset</strong> (org.apache.tools.ant.types.FileSet)</font>
  214. </td></tr>
  215. <tr><td><blockquote>
  216. Adds a file set to the implicit build path. <p> <em>Note that the directories will be added to the build path in no particular order, so if order is significant, one should use a file list instead!</em>
  217. <short-description><![CDATA[Adds a file set to the implicit build path.]]></short-description>
  218. <description>
  219. <![CDATA[Adds a file set to the implicit build path. <p> <em>Note that the directories will be added to the build path in no particular order, so if order is significant, one should use a file list instead!</em>]]>
  220. </description>
  221. </blockquote></td></tr>
  222. </table>
  223. <!-- End Element -->
  224. <!-- Start Element -->
  225. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  226. <tr><td>&nbsp;</td></tr>
  227. <tr><td bgcolor="#828DA6">
  228. <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
  229. <strong>property</strong> (org.apache.tools.ant.taskdefs.Property)</font>
  230. </td></tr>
  231. <tr><td><blockquote>
  232. Corresponds to <code>&lt;ant&gt;</code>'s nested <code>&lt;property&gt;</code> element.
  233. <short-description><![CDATA[Corresponds to <code>&lt;ant&gt;</code>'s nested <code>&lt;property&gt;</code> element.]]></short-description>
  234. <description>
  235. <![CDATA[Corresponds to <code>&lt;ant&gt;</code>'s nested <code>&lt;property&gt;</code> element.]]>
  236. </description>
  237. </blockquote></td></tr>
  238. </table>
  239. <!-- End Element -->
  240. <!-- Start Element -->
  241. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  242. <tr><td>&nbsp;</td></tr>
  243. <tr><td bgcolor="#828DA6">
  244. <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
  245. <strong>reference</strong> (org.apache.tools.ant.taskdefs.Ant.Reference)</font>
  246. </td></tr>
  247. <tr><td><blockquote>
  248. Corresponds to <code>&lt;ant&gt;</code>'s nested <code>&lt;reference&gt;</code> element.
  249. <short-description><![CDATA[Corresponds to <code>&lt;ant&gt;</code>'s nested <code>&lt;reference&gt;</code> element.]]></short-description>
  250. <description>
  251. <![CDATA[Corresponds to <code>&lt;ant&gt;</code>'s nested <code>&lt;reference&gt;</code> element.]]>
  252. </description>
  253. </blockquote></td></tr>
  254. </table>
  255. <!-- End Element -->
  256. <!-- Start Element -->
  257. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  258. <tr><td>&nbsp;</td></tr>
  259. <tr><td bgcolor="#828DA6">
  260. <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
  261. <strong>buildpath</strong> (org.apache.tools.ant.types.Path)</font>
  262. </td></tr>
  263. <tr><td><blockquote>
  264. Creates a nested build path, and add it to the implicit build path.
  265. <short-description><![CDATA[Creates a nested build path, and add it to the implicit build path.]]></short-description>
  266. <description>
  267. <![CDATA[Creates a nested build path, and add it to the implicit build path.]]>
  268. </description>
  269. </blockquote></td></tr>
  270. </table>
  271. <!-- End Element -->
  272. <!-- Start Element -->
  273. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  274. <tr><td>&nbsp;</td></tr>
  275. <tr><td bgcolor="#828DA6">
  276. <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
  277. <strong>buildpathelement</strong> (org.apache.tools.ant.types.Path.PathElement)</font>
  278. </td></tr>
  279. <tr><td><blockquote>
  280. Creates a nested <code>&lt;buildpathelement&gt;</code>, and add it to the implicit build path.
  281. <short-description><![CDATA[Creates a nested <code>&lt;buildpathelement&gt;</code>, and add it to the implicit build path.]]></short-description>
  282. <description>
  283. <![CDATA[Creates a nested <code>&lt;buildpathelement&gt;</code>, and add it to the implicit build path.]]>
  284. </description>
  285. </blockquote></td></tr>
  286. </table>
  287. <!-- End Element -->
  288. </blockquote></td></tr>
  289. </table>
  290. <!-- End Elements -->
  291. </td>
  292. </tr>
  293. <!-- END RIGHT SIDE MAIN BODY -->
  294. <!-- FOOTER SEPARATOR -->
  295. <tr>
  296. <td>
  297. <hr noshade="" size="1"/>
  298. </td>
  299. </tr>
  300. <!-- PAGE FOOTER -->
  301. <tr>
  302. <td>
  303. <div align="center"><font color="#525D76" size="-1"><em>
  304. Copyright &#169; 2000-2003, Apache Software Foundation
  305. </em></font></div>
  306. </td>
  307. </tr>
  308. </table>
  309. </body>
  310. </html>