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.6 kB

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