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.

requested-features.txt 8.7 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. List of requirements for Ant2 split into categories.
  2. If you disagree with the category something has been put into, speak
  3. up.
  4. I. Things that don't affect the core but are requests for new tasks or
  5. enhancements of existing tasks.
  6. ======================================================================
  7. * Add a new datatype filterset to group token-filters
  8. * make usage of particular filters/filtersets explicit in copy tasks
  9. * make facade tasks for things like javac (JikesImpl, ModernImpl etc)
  10. One candidate is rmic with implementations for Kaffee and Weblogic
  11. for example.
  12. * unify multiple similar tasks to use similar forms (ie all the javacc
  13. type tools)
  14. * Obfuscating task
  15. * Add an <ant> task that will find build files according to a fileset
  16. and invokes a common target in them.
  17. <anton>?
  18. * Add a JavaApply task that executes a given class with files from a
  19. fileset as arguments - similar to <apply>.
  20. * Include some more sophisticated loggers with the Ant distribution -
  21. especially for sending emails. Make the existing one more flexible
  22. (stylesheet used by XmlLogger).
  23. Could be part of the same module task would be developed in?
  24. * make the default logger's output clear, informative, and terse.
  25. Actually, this is a little bit abstract, but doesn't apply to the
  26. core either.
  27. * Better docs.
  28. * RPM task.
  29. * add an attribute to <property> to read in an entire file as the
  30. value of a property.
  31. * Task for splitting files (head/tail/split like functionality).
  32. * Task to create XMI from Java.
  33. II. Abstract goals that need to be abstract until we get into design
  34. decisions.
  35. ======================================================================
  36. * remove magic properties if at all humanly possible
  37. * remove as much dependency on native scripts as possible.
  38. * clean object model (ie Project/Target/Task)
  39. * good event model to integrate well with IDE/GUI/whatever
  40. * use a consistent naming scheme for attributes across all tasks
  41. * keep build file syntax as compatible to Ant1 as possible -
  42. i.e. don't break something just because we can.
  43. * keep the interface for Tasks as similar to the one of Ant1 as
  44. possible - i.e. don't break something just because we can.
  45. * Ant should be cancelable
  46. III. Things that are simple, easy to implement, where we expect the
  47. committers to agree
  48. ======================================================================
  49. * namespace support so different concerns can occupy different namespaces
  50. from ant (thus SAX2/JAXP1.1)
  51. * Java2
  52. * remove all deprecated methods, attributes, tasks
  53. * allow all datatypes to be defined anywhere - i.e. as children of
  54. project as well as of target.
  55. * make properties fully dynamic, i.e. allow their value to be reassigned
  56. * unify the namespace of all data types (ie properties + filesets +
  57. patternset + filtersets).
  58. IV. Things we probably agree upon but need to discuss the details or
  59. decide between several possible options.
  60. ======================================================================
  61. * The ability for GUI/IDE tools to integrate easily with object model
  62. without reinventing the wheel and writing their own parser (which
  63. antidote was forced to do).
  64. Two suggested solutions were allowing GUI developers to extend
  65. object model (ie GUITask extends Task) or to have Task as interface
  66. (ie GUITask implements Task). This way the GUI tasks could be W3C
  67. DOM Elements, have property vetoers/listeners etc.
  68. * support for numerous frontends - from command line over GUI to servlets
  69. corollary of the above?
  70. * Fully interpreted at runtime. This almost requires some form of
  71. abstraction/proxy that stands in place of tasks till it is
  72. interpreted. This can be hashtables/simple dom-like model/whatever
  73. * provide utility classes to aid in building tasks. ie like up-to-date
  74. functionality abstracted
  75. Need to become more specific here.
  76. * make ant-call a low cost operations so it can certain
  77. optional/template-like operations
  78. corollary of "fully interpreted at runtime"?
  79. * allow facilities to build projects from multiple sources. ie CSS+xml
  80. or XSLT+ XML or database or from inside jars or normal build.xmls
  81. etc.
  82. * move to a system that allows docs to be generated - doc snippets
  83. should be included with the tasks they document.
  84. Which DTD? Which tools for generation?
  85. * allow tasks to be loaded from jars. tasks should be indicated by
  86. either xml file in TSK-INF/taskdefs.xml or manifest file.
  87. * allow documentation to be stored in .tsk jars
  88. corollary of the two points above?
  89. * better scripting/notification support so the hooks are available to
  90. send notifications at certain times.
  91. Which hooks and where?
  92. * separate tasks into .tsk jars somehow. (Probably via function - ie
  93. java tasks, file tasks, ejb tasks).
  94. Decide on categories.
  95. * make separate build files easy (ala AntFarm) and importing different
  96. projects a breeze
  97. * provide support for user defined task configurations - i.e. give
  98. users the ability to specify a default value for attributes (always
  99. use debug="true" in <javac> unless something else has been
  100. specified).
  101. Three ideas so far: a CSS like language, a <taskconfig> element,
  102. properties following a specific naming scheme.
  103. * support more control over the properties that are going to be passed
  104. to subprojects (modules)
  105. * Ask for a new CVS module for Ant tasks.
  106. We need to define rules for this to work - maybe the rules proposed
  107. for the commons project could give us a start.
  108. * It should be possible to modify details of the actual build (e.g. classpath,
  109. used compiler) without the need to change the build specification.
  110. Do build.compiler and build.sysclasspath cover everything or do we
  111. need to add more stuff like this?
  112. * Task to prompt for user input.
  113. Does affect core as we need a means to request input from the Frontend.
  114. * Add cvs login feature.
  115. Requires handling of user input.
  116. * Easier installation process. GUI - maybe webstart from the homepage.
  117. This includes asking the user whether he wants to use optional tasks
  118. and downloads the required libs. Automatic upgrades and so on.
  119. * Logo for Ant.
  120. * detach Ant from System.err/.in/.out.
  121. Beware of problems with spawned processes.
  122. V. Things we probably don't agree on.
  123. ======================================================================
  124. * provide datatypes through property tag and remove need for separate free
  125. standing entities. ie
  126. <property name="foo">
  127. <fileset dir="blah">
  128. <include name="*/**.java" />
  129. </fileset>
  130. </property>
  131. * make it possible to reuse taskengine for other things. ie
  132. Installshield type app, Peter's cron-server and other task based
  133. operations.
  134. * create the concept of workspace so that projects can be built in a
  135. DAG and thus enable projects like catalina/tomcat to have an easy
  136. build process. It also helps CJAN to a lesser degree and would
  137. partially solve the JARs in CVS thing.
  138. * provide support for CJAN
  139. In what way?
  140. * provide support for non-hardwired (ie loadable) converters.
  141. What is a converter? Is this an implementation detail?
  142. * generate docs by anakia/XSLT
  143. Corollary of "move to a system that allows docs to be generated"?
  144. * tasks provide some way to identify their attributes from the
  145. outside.
  146. Possible solutions include a special method like getProperties(), an
  147. external describing file shipping with the task class or special
  148. javadoc comments parsed by a custom doclet.
  149. * allow build file writers to modify logging (verbosity for example)
  150. on a target by target or task by task basis.
  151. * Simple flow control (if-then-else, for)
  152. Either in core or - with the help of something like Thomas
  153. Christen's proposal
  154. <http://marc.theaimsgroup.com/?l=ant-dev&m=98130655812010&w=2>
  155. as tasks.
  156. * Multithreaded execution of tasks within the same target.
  157. * Multithreaded execution of targets.
  158. * Project inheritance
  159. What's this?
  160. * Target inheritance
  161. What's this?
  162. * Add an attribute to <ant> to feed back the environment (properties and
  163. taskdefs) from the child build to the parent.
  164. * it should be possible to provide general /(template?)/ build
  165. specifications, and to declare for a concrete item that it should be
  166. built according to such a general specification.
  167. * a built-in mechanism to include build-file fragments - something
  168. that doesn't use SYSTEM entities at all and therefore is XSchema
  169. friendly, allows for property expansions ...
  170. * Make loggers configurable via build.xml.
  171. * tasks should have access to its own XML representation.
  172. * Allow named tasks to be defined by <script> elements.
  173. * Let Ant ignore - but warn - if unknown XML elements or attributes
  174. occur in a build file.