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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. * make usage of particular filters/filtersets explicit in copy tasks
  8. * make facade tasks for things like javac (JikesImpl, ModernImpl etc)
  9. * unify multiple similar tasks to use similar forms (ie all the javacc
  10. type tools)
  11. II. Abstract goals that need to be abstract until we get into design
  12. decisions.
  13. ======================================================================
  14. * remove magic properties if at all humanly possible
  15. * remove as much dependency on native scripts as possible.
  16. * clean object model (ie Project/Target/Task)
  17. * good event model to integrate well with IDE/GUI/whatever
  18. * use a consistent naming scheme for attributes across all tasks
  19. * keep build file syntax as compatible to Ant1 as possible -
  20. i.e. don't break something just because we can.
  21. * keep the interface for Tasks as similar to the one of Ant1 as
  22. possible - i.e. don't break something just because we can.
  23. III. Things that are simple, easy to implement, where we expect the
  24. committers to agree
  25. ======================================================================
  26. * namespace support so different concerns can occupy different namespaces
  27. from ant (thus SAX2/JAXP1.1)
  28. * Java2
  29. * remove all deprecated methods, attributes, tasks
  30. * allow all datatypes to be defined anywhere - i.e. as children of
  31. project as well as of target.
  32. * make properties fully dynamic, i.e. allow their value to be reassigned
  33. * unify the namespace of all data types (ie properties + filesets +
  34. patternset + filtersets).
  35. IV. Things we probably agree upon but need to discuss the details or
  36. decide between several possible options.
  37. ======================================================================
  38. * The ability for GUI/IDE tools to integrate easily with object model
  39. without reinventing the wheel and writing their own parser (which
  40. antidote was forced to do).
  41. Two suggested solutions were allowing GUI developers to extend
  42. object model (ie GUITask extends Task) or to have Task as interface
  43. (ie GUITask implements Task). This way the GUI tasks could be W3C
  44. DOM Elements, have property vetoers/listeners etc.
  45. * support for numerous frontends - from command line over GUI to servlets
  46. corollary of the above?
  47. * Fully interpreted at runtime. This almost requires some form of
  48. abstraction/proxy that stands in place of tasks till it is
  49. interpreted. This can be hashtables/simple dom-like model/whatever
  50. * provide utility classes to aid in building tasks. ie like up-to-date
  51. functionality abstracted
  52. Need to become more specific here.
  53. * make ant-call a low cost operations so it can certain
  54. optional/template-like operations
  55. corollary of "fully interpreted at runtime"?
  56. * allow facilities to build projects from multiple sources. ie CSS+xml
  57. or XSLT+ XML or database or from inside jars or normal build.xmls
  58. etc.
  59. * move to a system that allows docs to be generated - doc snippets
  60. should be included with the tasks they document.
  61. Which DTD? Which tools for generation?
  62. * allow tasks to be loaded from jars. tasks should be indicated by
  63. either xml file in TSK-INF/taskdefs.xml or manifest file.
  64. * allow documentation to be stored in .tsk jars
  65. corollary of the two points above?
  66. * better scripting/notification support so the hooks are available to
  67. send notifications at certain times.
  68. Which hooks and where?
  69. * separate tasks into .tsk jars somehow. (Probably via function - ie
  70. java tasks, file tasks, ejb tasks).
  71. Decide on categories.
  72. * make separate build files easy (ala AntFarm) and importing different
  73. projects a breeze
  74. * provide support for user defined task configurations - i.e. give
  75. users the ability to specify a default value for attributes (always
  76. use debug="true" in <javac> unless something else has been
  77. specified).
  78. Three ideas so far: a CSS like language, a <taskconfig> element,
  79. properties following a specific naming scheme.
  80. * support more control over the properties that are going to be passed
  81. to subprojects (modules)
  82. V. Things we probably don't agree on.
  83. ======================================================================
  84. * provide datatypes through property tag and remove need for separate free
  85. standing entities. ie
  86. <property name="foo">
  87. <fileset dir="blah">
  88. <include name="*/**.java" />
  89. </fileset>
  90. </property>
  91. * make it possible to reuse taskengine for other things. ie
  92. Installshield type app, Peter's cron-server and other task based
  93. operations.
  94. * create the concept of workspace so that projects can be built in a
  95. DAG and thus enable projects like catalina/tomcat to have an easy
  96. build process. It also helps CJAN to a lesser degree and would
  97. partially solve the JARs in CVS thing.
  98. * provide support for CJAN
  99. In what way?
  100. * provide support for non-hardwired (ie loadable) converters.
  101. What is a converter? Is this an implementation detail?
  102. * generate docs by anakia/XSLT
  103. Corollary of "move to a system that allows docs to be generated"?
  104. * tasks provide some way to identify their attributes from the
  105. outside.
  106. Possible solutions include a special method like getProperties(), an
  107. external describing file shipping with the task class or special
  108. javadoc comments parsed by a custom doclet.
  109. * allow build file writers to modify logging (verbosity for example)
  110. on a target by target or task by task basis.