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 7.7 kB

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