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 14 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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 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. </tr>
  19. </table>
  20. <table border="0" width="100%" cellspacing="4">
  21. <tr><td colspan="2">
  22. <hr noshade="" size="1"/>
  23. </td></tr>
  24. <tr>
  25. <!-- LEFT SIDE NAVIGATION -->
  26. <td valign="top" nowrap="true">
  27. <p><strong>Myrmidon</strong></p>
  28. <ul>
  29. <li> <a href="./index.html">Introduction</a>
  30. </li>
  31. <li> <a href="./user.html">User Guide</a>
  32. </li>
  33. <li> <a href="./todo.html">Get Involved</a>
  34. </li>
  35. <li> <a href="./todo.html#Todo List">Todo List</a>
  36. </li>
  37. </ul>
  38. </td>
  39. <td align="left" valign="top">
  40. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  41. <tr><td bgcolor="#525D76">
  42. <font color="#ffffff" face="arial,helvetica,sanserif">
  43. <a name="Get Involved"><strong>Get Involved</strong></a>
  44. </font>
  45. </td></tr>
  46. <tr><td>
  47. <blockquote>
  48. <p>There are plenty of things you can do to help out with Myrmidon. The Todo
  49. list below describes items which still need to be done. Of course, since
  50. this is an open-source project, there's plenty of scope for experimentation,
  51. and you can pretty much make up your own items to work on.</p>
  52. <p>Some things that are worth reading if you do want to get involved:</p>
  53. <ul>
  54. <li>The <a href="http://jakarta.apache.org/ant/ant2/">Ant 2</a> goals and requirements.</li>
  55. <li>The <a href="http://jakarta.apache.org/ant/ant2/actionlist.html">Ant 1.9 Action List</a>.</li>
  56. <li>The Jakarta Project's <a href="http://jakarta.apache.org/site/getinvolved.html">Get Involved</a> page.</li>
  57. </ul>
  58. <p>There is no Ant 2 or Myrmidon mailing list yet, so direct any questions
  59. or comments you have to the ant-dev mailing list.</p>
  60. </blockquote>
  61. </td></tr>
  62. </table>
  63. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  64. <tr><td bgcolor="#525D76">
  65. <font color="#ffffff" face="arial,helvetica,sanserif">
  66. <a name="Todo List"><strong>Todo List</strong></a>
  67. </font>
  68. </td></tr>
  69. <tr><td>
  70. <blockquote>
  71. <p>The broad goal is to grow Myrmidon from a prototype task engine into a fully
  72. fledged build system, that can serve as the basis for Ant 2. The following
  73. sections describe some of the many things which still need to be done to
  74. achieve that goal. This list is currently under construction.</p>
  75. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  76. <tr><td bgcolor="#828DA6">
  77. <font color="#ffffff" face="arial,helvetica,sanserif">
  78. <a name="Self Hosting"><strong>Self Hosting</strong></a>
  79. </font>
  80. </td></tr>
  81. <tr><td>
  82. <blockquote>
  83. <p>Myrmidon must be able to build itself. Currently, it is built using
  84. Ant 1.x. Ultimately, Myrmidon should be able to build itself from exactly the
  85. same build file. To start with, however, there is no need for Myrmidon to be
  86. able to do this. Myrmidon should also be able to be bootstrapped (that is, be
  87. able to be built from scratch, without using Ant 1.x at all).</p>
  88. </blockquote>
  89. </td></tr>
  90. </table>
  91. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  92. <tr><td bgcolor="#828DA6">
  93. <font color="#ffffff" face="arial,helvetica,sanserif">
  94. <a name="Ant 1.x Compatibility"><strong>Ant 1.x Compatibility</strong></a>
  95. </font>
  96. </td></tr>
  97. <tr><td>
  98. <blockquote>
  99. <p>There are 2 parts to this broad topic: Allow Ant 1.x build scripts to be
  100. executed by Myrmidon, and allow Ant 1.x tasks to be executed unmodified
  101. by Myrmidon.</p>
  102. </blockquote>
  103. </td></tr>
  104. </table>
  105. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  106. <tr><td bgcolor="#828DA6">
  107. <font color="#ffffff" face="arial,helvetica,sanserif">
  108. <a name="Virtual File System"><strong>Virtual File System</strong></a>
  109. </font>
  110. </td></tr>
  111. <tr><td>
  112. <blockquote>
  113. <p>The VFS needs plenty of work:</p>
  114. <ul>
  115. <li>Move and copy files/folders.</li>
  116. <li>Search through a file hierarchy, using Ant-style wildcards.</li>
  117. <li>Search through a file hierarchy, using a Selector interface.</li>
  118. <li>The in-memory caching mechanism is pretty rudimentary at this stage.
  119. It needs work to make it size capped. In addition, some mechanism needs
  120. to be provided to release and refresh cached info.
  121. </li>
  122. <li>Capabilities discovery.</li>
  123. <li>Attributes and attribute schema.</li>
  124. <li>File system layering. That is, the ability for a file system to
  125. sit on top of another file system, or a file from another file system
  126. (e.g. Zip/Jar/Tar file systems, gzip/encoding file systems, virtual file
  127. systems).
  128. </li>
  129. </ul>
  130. </blockquote>
  131. </td></tr>
  132. </table>
  133. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  134. <tr><td bgcolor="#828DA6">
  135. <font color="#ffffff" face="arial,helvetica,sanserif">
  136. <a name="File Data-Types and Tasks"><strong>File Data-Types and Tasks</strong></a>
  137. </font>
  138. </td></tr>
  139. <tr><td>
  140. <blockquote>
  141. <p>The file data-types, such as <code>&lt;fileset&gt;</code> and
  142. <code>&lt;path&gt;</code>, are some of the most widely used parts of Ant 1.x.
  143. Unfortunately, they aren't particularly extensible.</p>
  144. <ul>
  145. <li>Redesign the file data-types, replacing them with an interface-based
  146. API, plus a set of implementations. The API should use the VFS file
  147. <code>FileObject</code>, rather than <code>java.io.File</code>.
  148. This process has started, in the <code>antlib.vfile</code> package.
  149. </li>
  150. <li>File Selectors:
  151. <ul>
  152. <li>Change <code>AbstractNameFileSelector</code> to use Ant 1 style patterns
  153. matches, rather than Globs patterns.</li>
  154. <li>Add 'defaultexcludes' to <code>DefaultFileSet</code>. Also add a
  155. file selector implementation that matches everything except the default
  156. excludes.</li>
  157. <li>Add a condition -&gt; file selector adaptor, so that arbitrary conditions
  158. can be used to select files.</li>
  159. <li>Add a name selector that loads patterns from a file.</li>
  160. <li>Add more selector implementations: size and last-modified comparisons,
  161. checksum comparison, byte-wise content comparison.</li>
  162. </ul></li>
  163. <li>File Name Mappers:
  164. <ul>
  165. <li>Add a file name mapper interface, and port the current Mapper
  166. implementations to it.</li>
  167. </ul></li>
  168. <li>File Sets:
  169. <ul>
  170. <li>Add a file set implementation that uses a mapper to transform a nested
  171. file set.</li>
  172. <li>Add a file set implementation that provides the union of several
  173. nested file sets (that is, a file set that merges several file sets
  174. together).</li>
  175. <li>Add a file set implementation that filters files that are up-to-date
  176. WRT some other file. Alternatively, this might be better done using a
  177. file selector.</li>
  178. </ul></li>
  179. <li>Paths:
  180. <ul>
  181. <li>Add path implementations that evaluate to the system classpath,
  182. and the ant runtime classpath. Or, more generally, combine this with
  183. <code>ClassLoaderManager</code> to evaluate to the classpath of any
  184. 'library' (e.g. system classpath, ant runtime, tools.jar,
  185. an antlib, an installed extension, or the system classes of another JVM
  186. for cross-compiling).</li>
  187. </ul></li>
  188. <li>File Filters:
  189. <ul>
  190. <li>Add a file filter interface, and use it in the copy task.</li>
  191. <li>Add a filter implementation that applies the token replacement that
  192. the old copy task provides.</li>
  193. <li>Add a filter that does cr/lf translation.</li>
  194. <li>Add a gzip/gunzip filter.</li>
  195. <li>Add a filter that applies character set encode/decode.</li>
  196. </ul></li>
  197. <li>Copy task:
  198. <ul>
  199. <li>Implement 'preservelastmodified', 'overwrite', and 'includeemptydirs'.</li>
  200. <li>Support a file name mapper.</li>
  201. <li>Support file filters.</li>
  202. </ul></li>
  203. <li>Implement the <code>&lt;move&gt;</code>, <code>&lt;delete&gt;</code>,
  204. <code>&lt;touch&gt;</code> and <code>&lt;mkdir&gt;</code> tasks on top
  205. of the VFS and the new file data-types. Might be some scope for generalising
  206. 'touch' and 'mkdir' into a single task.</li>
  207. </ul>
  208. </blockquote>
  209. </td></tr>
  210. </table>
  211. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  212. <tr><td bgcolor="#828DA6">
  213. <font color="#ffffff" face="arial,helvetica,sanserif">
  214. <a name="Command-line and Configuration Files"><strong>Command-line and Configuration Files</strong></a>
  215. </font>
  216. </td></tr>
  217. <tr><td>
  218. <blockquote>
  219. <p>One of the goals of Ant 2 is to allow the user to easily customise and
  220. extend Ant. The command-line and local configuration files, are two places
  221. where this would be done. Currently, Myrmidon some customisation from the
  222. command-line, but does not support configuration files.</p>
  223. <ul>
  224. <li>Load configuration from system (from $ANT_HOME) and user (from $HOME)
  225. configuration files.</li>
  226. <li>Allow the following via config files:
  227. <ul>
  228. <li>Add (or override) the <code>lib</code> and <code>ext</code> directories.</li>
  229. <li>Enable more than one listener, and configure the listeners from
  230. the conents of the config file.</li>
  231. <li>Import libraries, and set properties.</li>
  232. <li>Execute tasks.</li>
  233. <li>Install and configure runtime services.</li>
  234. </ul>
  235. </li>
  236. </ul>
  237. </blockquote>
  238. </td></tr>
  239. </table>
  240. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  241. <tr><td bgcolor="#828DA6">
  242. <font color="#ffffff" face="arial,helvetica,sanserif">
  243. <a name="Documentation"><strong>Documentation</strong></a>
  244. </font>
  245. </td></tr>
  246. <tr><td>
  247. <blockquote>
  248. <p>Everyone loves writing documentation, and so a goal for Ant 2 is to
  249. generate a lot of reference documentation for tasks and other types directly
  250. from the source. Unfortunately, there's still plenty of tutorial material
  251. to write. In particular we need these:</p>
  252. <ul>
  253. <li>User documentation - describing things like the build file format,
  254. how properties work, how to use references, how sub-builds work, how to customise
  255. Myrmidon, and so on.</li>
  256. <li>Task writer documentation - describing things like an overview the task API,
  257. how configuration works, task lifecycle, how to assemble an antlib, a catalog
  258. of the runtime services, and so on.</li>
  259. <li>Myrmidon developer documentation - a broad outline of the architecture,
  260. how to build, how to test, and so on. Also, this todo list needs plenty
  261. of filling out.</li>
  262. </ul>
  263. </blockquote>
  264. </td></tr>
  265. </table>
  266. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  267. <tr><td bgcolor="#828DA6">
  268. <font color="#ffffff" face="arial,helvetica,sanserif">
  269. <a name="Miscellaneous"><strong>Miscellaneous</strong></a>
  270. </font>
  271. </td></tr>
  272. <tr><td>
  273. <blockquote>
  274. <p>A completely unordered list of items, big and small:</p>
  275. <ul>
  276. <li>Search through the code for 'TODO' items and fix them.</li>
  277. <li>Add a custom task to the build to generate antlib descriptors from source.
  278. It would wrap XDoclet, and replace <code>antlib.xml</code>.</li>
  279. <li>Tidy-up CLIMain so that it calls System.exit() with a non-zero exit code,
  280. if the build fails.</li>
  281. <li>Tidy-up the 'build failed' message, so that the stack trace is only
  282. printed out if the log level is verbose/debug.</li>
  283. <li>Allow service factories to be configured from the contents of the
  284. <code>ant-services.xml</code> descriptor.</li>
  285. <li>Route external process stdout and stderr through the logger.</li>
  286. <li>Add verbosity level to ProjectListener LogEvent</li>
  287. <li>Fire ProjectListener events taskFinished(), targetFinished() and
  288. projectFinished() events on build failure, adding indicator methods to
  289. ProjectEvent.</li>
  290. <li>Fire ProjectListener events projectStarted() and projectFinished()
  291. events on start and finish of referenced projects, adding indicator methods
  292. to ProjectEvent.</li>
  293. <li>Convert PropertyUtil to a non-static PropertyResolver service.</li>
  294. <li>Validate project and target names in DefaultProjectBuilder - reject dodgy
  295. names like "," or "", or " ". Probably want to exclude names that start or
  296. end with white-space (though internal whitespace is probably fine).</li>
  297. <li>Detect duplicate type names.</li>
  298. <li>Add fully qualified type names, based on antlib name and type shorthand name.
  299. Allow these to be used in build files in addition to the shorthand names.</li>
  300. <li>Unit tests.</li>
  301. </ul>
  302. </blockquote>
  303. </td></tr>
  304. </table>
  305. </blockquote>
  306. </td></tr>
  307. </table>
  308. </td>
  309. </tr>
  310. <!-- FOOTER -->
  311. <tr><td colspan="2">
  312. <hr noshade="" size="1"/>
  313. </td></tr>
  314. <tr><td colspan="2">
  315. <div align="center"><font color="#525D76" size="-1"><em>
  316. Copyright &#169; 2000-2002, Apache Software Foundation
  317. </em></font></div>
  318. </td></tr>
  319. </table>
  320. </body>
  321. </html>
  322. <!-- end the processing -->