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.

todo.html 17 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- Content Stylesheet for Site -->
  3. <!-- start the processing -->
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  7. <meta name="author" value="Adam Murdoch">
  8. <meta name="email" value="adammurdoch@apache.org">
  9. <title>Apache Myrmidon - Get Involved</title>
  10. </head>
  11. <body bgcolor="#ffffff" text="#000000" link="#525D76">
  12. <table border="0" width="100%" cellspacing="0">
  13. <!-- TOP IMAGE -->
  14. <tr>
  15. <td> <td colspan="2">
  16. <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
  17. </td>
  18. </td>
  19. <td valign="bottom"><div align="right"><b><font size="+3" color="#525D76">Apache Myrmidon</font></b></div></td>
  20. </tr>
  21. </table>
  22. <table border="0" width="100%" cellspacing="4">
  23. <tr><td colspan="2">
  24. <hr noshade="" size="1"/>
  25. </td></tr>
  26. <tr>
  27. <!-- LEFT SIDE NAVIGATION -->
  28. <td valign="top" nowrap="true">
  29. <p><strong>Myrmidon</strong></p>
  30. <ul>
  31. <li> <a href="./index.html">Introduction</a>
  32. </li>
  33. <li> <a href="./getinvolved.html">Get Involved</a>
  34. </li>
  35. <li> <a href="./user.html">Building Myrmidon</a>
  36. </li>
  37. <li> <a href="./todo.html">Todo List</a>
  38. </li>
  39. </ul>
  40. <p><strong>User Guide</strong></p>
  41. <ul>
  42. <li> <a href="./buildfile.html">Build file</a>
  43. </li>
  44. <li> <a href="./vfs.html">Virtual File System</a>
  45. </li>
  46. </ul>
  47. <p><strong>Extending Ant</strong></p>
  48. <ul>
  49. <li> <a href="./task.html">Task Writers HOWTO</a>
  50. </li>
  51. <li> <a href="./classloader.html">ClassLoader HOWTO</a>
  52. </li>
  53. <li> <a href="./librarys.html">Library HOWTO</a>
  54. </li>
  55. </ul>
  56. <p><strong>Container Design</strong></p>
  57. <ul>
  58. </ul>
  59. </td>
  60. <td align="left" valign="top">
  61. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  62. <tr><td bgcolor="#525D76">
  63. <font color="#ffffff" face="arial,helvetica,sanserif">
  64. <a name="Todo List"><strong>Todo List</strong></a>
  65. </font>
  66. </td></tr>
  67. <tr><td>
  68. <blockquote>
  69. <p>The broad goal is to grow Myrmidon from a prototype task engine into a fully
  70. fledged build system, that can serve as the basis for Ant 2. The following
  71. sections describe some of the many things which still need to be done to
  72. achieve that goal. This list is currently under construction.</p>
  73. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  74. <tr><td bgcolor="#828DA6">
  75. <font color="#ffffff" face="arial,helvetica,sanserif">
  76. <a name="Self Hosting"><strong>Self Hosting</strong></a>
  77. </font>
  78. </td></tr>
  79. <tr><td>
  80. <blockquote>
  81. <p>Myrmidon must be able to build itself. Currently, it is built using
  82. Ant 1.x. Ultimately, Myrmidon should be able to build itself from exactly the
  83. same build file. To start with, however, there is no need for Myrmidon to be
  84. able to do this. Myrmidon should also be able to be bootstrapped (that is, be
  85. able to be built from scratch, without using Ant 1.x at all).</p>
  86. </blockquote>
  87. </td></tr>
  88. </table>
  89. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  90. <tr><td bgcolor="#828DA6">
  91. <font color="#ffffff" face="arial,helvetica,sanserif">
  92. <a name="Ant 1.x Compatibility"><strong>Ant 1.x Compatibility</strong></a>
  93. </font>
  94. </td></tr>
  95. <tr><td>
  96. <blockquote>
  97. <p>There are 2 parts to this broad topic: Allow Ant 1.x build scripts to be
  98. executed by Myrmidon, and allow Ant 1.x tasks to be executed unmodified
  99. by Myrmidon.</p>
  100. </blockquote>
  101. </td></tr>
  102. </table>
  103. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  104. <tr><td bgcolor="#828DA6">
  105. <font color="#ffffff" face="arial,helvetica,sanserif">
  106. <a name="Virtual File System"><strong>Virtual File System</strong></a>
  107. </font>
  108. </td></tr>
  109. <tr><td>
  110. <blockquote>
  111. <p>The VFS needs plenty of work:</p>
  112. <ul>
  113. <li>Move files/folders.</li>
  114. <li>Recursive folders copy.</li>
  115. <li>Search through a file hierarchy, using Ant-style wildcards.</li>
  116. <li>Search through a file hierarchy, using a Selector interface.</li>
  117. <li>The in-memory caching mechanism is pretty rudimentary at this stage.
  118. It needs work to make it size capped. In addition, some mechanism needs
  119. to be provided to release and refresh cached info.
  120. </li>
  121. <li>Convert files/folders into local files, for handing off
  122. to external commands, or legacy tasks.</li>
  123. <li>Refactor the replication mechanism out of ZipFileSystemProvder,
  124. and make more general pluggable.</li>
  125. <li>Capabilities discovery.</li>
  126. <li>Attributes and attribute schema.</li>
  127. <li>Handle file canonicalisation better (for cases like case-insensitive
  128. file systems, symbolic links, name encoding, etc).</li>
  129. <li>File system layering. That is, the ability for a file system to
  130. sit on top of another file system, or a file from another file system
  131. (e.g. Zip/Jar/Tar file systems, gzip/encoding file systems, virtual file
  132. systems).
  133. </li>
  134. </ul>
  135. </blockquote>
  136. </td></tr>
  137. </table>
  138. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  139. <tr><td bgcolor="#828DA6">
  140. <font color="#ffffff" face="arial,helvetica,sanserif">
  141. <a name="File Data-Types and Tasks"><strong>File Data-Types and Tasks</strong></a>
  142. </font>
  143. </td></tr>
  144. <tr><td>
  145. <blockquote>
  146. <p>The file data-types, such as <code>&lt;fileset&gt;</code> and
  147. <code>&lt;path&gt;</code>, are some of the most widely used parts of Ant 1.x.
  148. Unfortunately, they aren't particularly extensible.</p>
  149. <ul>
  150. <li>Redesign the file data-types, replacing them with an interface-based
  151. API, plus a set of implementations. The API should use the VFS file
  152. <code>FileObject</code>, rather than <code>java.io.File</code>.
  153. This process has started, in the <code>antlib.vfile</code> package.
  154. </li>
  155. <li>File Selectors:
  156. <ul>
  157. <li>Change <code>AbstractNameFileSelector</code> to use Ant 1 style patterns
  158. matches, rather than Globs patterns.</li>
  159. <li>Add 'defaultexcludes' to <code>DefaultFileSet</code>. Also add a
  160. file selector implementation that matches everything except the default
  161. excludes.</li>
  162. <li>Add a name selector that loads patterns from a file.</li>
  163. <li>Add more selector implementations: size and last-modified comparisons,
  164. checksum comparison, byte-wise content comparison.</li>
  165. </ul></li>
  166. <li>File conditions:
  167. <ul>
  168. <li>Add more condition implementations that perform checks on files.
  169. One that searches a path for a file would be useful.</li>
  170. </ul></li>
  171. <li>File Name Mappers:
  172. <ul>
  173. <li>Change FileNameMapper.mapFileName() to take vfs.FileName objects.</li>
  174. <li>Move the current mapper implementations across to antlib.</li>
  175. </ul></li>
  176. <li>File Sets:
  177. <ul>
  178. <li>Add a file set implementation that provides the union of several
  179. nested file sets (that is, a file set that merges several file sets
  180. together).</li>
  181. <li>Add a file set implementation that filters files that are up-to-date
  182. WRT some other file. Alternatively, this might be better done as a
  183. file selector.</li>
  184. </ul></li>
  185. <li>Paths:
  186. <ul>
  187. <li>Add path implementations that evaluate to the system classpath,
  188. and the ant runtime classpath. Or, more generally, combine this with
  189. <code>ClassLoaderManager</code> to evaluate to the classpath of any
  190. 'library' (e.g. system classpath, ant runtime, tools.jar,
  191. an antlib, an installed extension, or the system classes of another JVM
  192. for cross-compiling).</li>
  193. </ul></li>
  194. <li>Port across the Ant 1 file filter proposal, once it is complete.</li>
  195. <li>Copy task:
  196. <ul>
  197. <li>Implement 'preservelastmodified', 'overwrite', and 'includeemptydirs'.</li>
  198. <li>Support a file name mapper.</li>
  199. <li>Support file filters.</li>
  200. <li>Detect and handle destination file name collisions.</li>
  201. </ul></li>
  202. <li>Implement the <code>&lt;move&gt;</code>, <code>&lt;delete&gt;</code>,
  203. <code>&lt;touch&gt;</code> and <code>&lt;mkdir&gt;</code> tasks on top
  204. of the VFS and the new file data-types. Might be some scope for generalising
  205. 'touch' and 'mkdir' into a single task.</li>
  206. </ul>
  207. </blockquote>
  208. </td></tr>
  209. </table>
  210. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  211. <tr><td bgcolor="#828DA6">
  212. <font color="#ffffff" face="arial,helvetica,sanserif">
  213. <a name="Command-line and Configuration Files"><strong>Command-line and Configuration Files</strong></a>
  214. </font>
  215. </td></tr>
  216. <tr><td>
  217. <blockquote>
  218. <p>One of the goals of Ant 2 is to allow the user to easily customise and
  219. extend Ant. The command-line and local configuration files, are two places
  220. where this would be done. Currently, Myrmidon some customisation from the
  221. command-line, but does not support configuration files.</p>
  222. <ul>
  223. <li>Load configuration from system (from $ANT_HOME) and user (from $HOME)
  224. configuration files.</li>
  225. <li>Allow the following via config files:
  226. <ul>
  227. <li>Add (or override) the <code>lib</code> and <code>ext</code> directories.</li>
  228. <li>Enable more than one listener, and configure the listeners from
  229. the conents of the config file.</li>
  230. <li>Import libraries, and set properties.</li>
  231. <li>Execute tasks.</li>
  232. <li>Install and configure runtime services.</li>
  233. </ul>
  234. </li>
  235. </ul>
  236. </blockquote>
  237. </td></tr>
  238. </table>
  239. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  240. <tr><td bgcolor="#828DA6">
  241. <font color="#ffffff" face="arial,helvetica,sanserif">
  242. <a name="Scripting"><strong>Scripting</strong></a>
  243. </font>
  244. </td></tr>
  245. <tr><td>
  246. <blockquote>
  247. <p>Add the ability to extend Ant using languages other than
  248. Java:</p>
  249. <ul>
  250. <li>Define a task using a scripting language such as Javascript.</li>
  251. <li>Use Rhino's ability to implement Java interfaces, to
  252. implement and define types, such as FileSelector, or
  253. Condition.</li>
  254. <li>Define a task using template.</li>
  255. <li>Add some lightweight scripting tasks.</li>
  256. </ul>
  257. </blockquote>
  258. </td></tr>
  259. </table>
  260. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  261. <tr><td bgcolor="#828DA6">
  262. <font color="#ffffff" face="arial,helvetica,sanserif">
  263. <a name="Documentation"><strong>Documentation</strong></a>
  264. </font>
  265. </td></tr>
  266. <tr><td>
  267. <blockquote>
  268. <p>Everyone loves writing documentation, and so a goal for Ant 2 is to
  269. generate a lot of reference documentation for tasks and other types directly
  270. from the source. Unfortunately, there's still plenty of tutorial material
  271. to write. In particular we need these:</p>
  272. <ul>
  273. <li>User documentation - describing things like the build file format,
  274. how properties work, how to use references, how sub-builds work, how to customise
  275. Myrmidon, and so on.</li>
  276. <li>Task writer documentation - describing things like an overview the task API,
  277. how configuration works, task lifecycle, how to assemble an antlib, a catalog
  278. of the runtime services, and so on.</li>
  279. <li>Myrmidon developer documentation - a broad outline of the architecture,
  280. how to build, how to test, and so on. Also, this todo list needs plenty
  281. of filling out.</li>
  282. </ul>
  283. </blockquote>
  284. </td></tr>
  285. </table>
  286. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  287. <tr><td bgcolor="#828DA6">
  288. <font color="#ffffff" face="arial,helvetica,sanserif">
  289. <a name="Miscellaneous"><strong>Miscellaneous</strong></a>
  290. </font>
  291. </td></tr>
  292. <tr><td>
  293. <blockquote>
  294. <p>A completely unordered list of items, big and small:</p>
  295. <ul>
  296. <li>Search through the code for 'TODO' items and fix them.</li>
  297. <li>Allow service factories to be configured from the contents of the
  298. <code>ant-services.xml</code> descriptor.</li>
  299. <li>Route external process stdout and stderr through the logger.</li>
  300. <li>Add verbosity level to ProjectListener LogEvent</li>
  301. <li>Fire ProjectListener events taskFinished(), targetFinished() and
  302. projectFinished() events on build failure, adding indicator methods to
  303. ProjectEvent.</li>
  304. <li>Fire ProjectListener events projectStarted() and projectFinished()
  305. events on start and finish of referenced projects, adding indicator methods
  306. to ProjectEvent.</li>
  307. <li>Detect duplicate type names.</li>
  308. <li>Add fully qualified type names, based on antlib name and type shorthand name.
  309. Allow these to be used in build files in addition to the shorthand names.</li>
  310. <li>Move the <code>&lt;http&gt;</code> and <code>&lt;socket&gt;</code>
  311. conditions to an antlib. Need to resolve how these will be passed a logger.</li>
  312. <li>Make the <code>&lt;uptodate&gt;</code> task a condition, and move to
  313. an antlib.</li>
  314. <li>Split up <code>&lt;is-set&gt;</code> condition into is-set and is-true conditions.</li>
  315. <li>Allow the <code>&lt;if&gt;</code> task to take any condition implementation.</li>
  316. <li>Add an else block to the <code>&lt;if&gt;</code> task.</li>
  317. <li>Split the <code>&lt;available&gt;</code> condition into separate conditions
  318. that test for the availability of a class, or a resource.</li>
  319. <li>Move <code>crimson.jar</code> to <code>bin/lib</code> in the distribution,
  320. and make to other jars via the extension mechanism.</li>
  321. <li>Unit tests.</li>
  322. </ul>
  323. </blockquote>
  324. </td></tr>
  325. </table>
  326. </blockquote>
  327. </td></tr>
  328. </table>
  329. </td>
  330. </tr>
  331. <!-- FOOTER -->
  332. <tr><td colspan="2">
  333. <hr noshade="" size="1"/>
  334. </td></tr>
  335. <tr><td colspan="2">
  336. <div align="center"><font color="#525D76" size="-1"><em>
  337. Copyright &#169; 2000-2002, Apache Software Foundation
  338. </em></font></div>
  339. </td></tr>
  340. </table>
  341. </body>
  342. </html>
  343. <!-- end the processing -->