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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765
  1. Status:
  2. =======
  3. The items in the first four categories have been voted upon with votes
  4. coming from Peter Donald, Simeon Fitch, Conor MacNeill, Nico Seessle,
  5. Stefan Bodewig and Glenn McAllister. The items that didn't get the
  6. required number of positive votes - or received negative votes - will
  7. need to be discussed in detail.
  8. The items in category five are under discussion right now on the
  9. ant-dev mailing list.
  10. I. Things that don't affect the core but are requests for new tasks or
  11. enhancements of existing tasks.
  12. ======================================================================
  13. [ACCEPTED] for a task doesn't mean that task will be core tasks (or
  14. even be supplied by a voter), just that having them (as optional
  15. tasks) would be acceptable.
  16. * Add a new datatype filterset to group token-filters
  17. [ACCEPTED]
  18. * make usage of particular filters/filtersets explicit in copy tasks
  19. [ACCEPTED]
  20. * make facade tasks for things like javac (JikesImpl, ModernImpl etc)
  21. One candidate is jar with implementations for fastjar
  22. for example.
  23. [ACCEPTED]
  24. * unify multiple similar tasks to use similar forms (ie all the javacc
  25. type tools)
  26. [ACCEPTED]
  27. * Obfuscating task
  28. [ACCEPTED]
  29. * Add an <ant> task that will find build files according to a fileset
  30. and invokes a common target in them.
  31. <anton>?
  32. [will need more discussion because of votes by Peter Donald and
  33. Stefan Bodewig]
  34. [finally ACCEPTED]
  35. * Add a JavaApply task that executes a given class with files from a
  36. fileset as arguments - similar to <apply>.
  37. [will need more discussion because of votes by Peter Donald and
  38. Stefan Bodewig]
  39. [finally ACCEPTED]
  40. * Include some more sophisticated loggers with the Ant distribution -
  41. especially for sending emails. Make the existing one more flexible
  42. (stylesheet used by XmlLogger).
  43. Could be part of the same module tasks would be developed in?
  44. [will need more discussion because of vote by Conor MacNeill]
  45. [finally ACCEPTED]
  46. * make the default logger's output clear, informative, and terse.
  47. Actually, this is a little bit abstract, but doesn't apply to the
  48. core either.
  49. [will need more discussion because of vote by Conor MacNeill]
  50. [REJECTED - vetoes by Conot MacNeill and Stefan Bodewig]
  51. * Better docs.
  52. More examples. Tutorials, beginner documents, reference sheets for
  53. tasks, printable version.
  54. [ACCEPTED]
  55. * RPM task.
  56. [ACCEPTED]
  57. * add an attribute to <property> to read in an entire file as the
  58. value of a property.
  59. [will need more discussion because of vote by Peter Donald]
  60. [REJECTED - veto by Peter Donald]
  61. * Task for splitting files (head/tail/split like functionality).
  62. [ACCEPTED]
  63. * Task to create XMI from Java.
  64. [ACCEPTED]
  65. * socksified networking tasks, SSH tasks.
  66. [Peter Donald expressed some legal concerns that might be overcome,
  67. depending on the implementation]
  68. * a reachable task that works much like available for network URLs.
  69. [ACCEPTED]
  70. * make PATH handling consistent. Every task that has a PATH attribute
  71. must also accept references to PATHs.
  72. [will need more discussion because of vote by Stefan Bodewig]
  73. [REJECTED - vetoes by Conor MacNeill, Glenn McAllister and Stefan Bodewig]
  74. * Task to extract classes from a JAR file that a given class depends
  75. on.
  76. Based on <depend> or IBM's JAX for example.
  77. [ACCEPTED]
  78. * Unify <available> and <uptodate> into a more general <condition>
  79. task, support AND/OR of several tests here.
  80. [will need more discussion because of vote by Peter Donald]
  81. * jsp-compilation task
  82. Sounds like a candidate for a facade task.
  83. [ACCEPTED]
  84. * URL-spider task that checks links for missing content or server errors
  85. [ACCEPTED]
  86. II. Abstract goals that need to be abstract until we get into design
  87. decisions.
  88. ======================================================================
  89. During discussion it became obvious, that some things from this list
  90. are goals for Ant and some should be guidelines for developers,
  91. therefore there are two flavors, [ACCEPTED] and [ACCEPTED AS GUIDELINE].
  92. * Provide a clear mission statement for Ant.
  93. [ACCEPTED]
  94. * Main goals: Simplicity, Understandability, Extensibility
  95. [ACCEPTED]
  96. * remove magic properties if at all humanly possible
  97. [ACCEPTED]
  98. * remove as much dependency on native scripts as possible.
  99. [ACCEPTED]
  100. * clean object model (ie Project/Target/Task)
  101. [ACCEPTED]
  102. * good event model to integrate well with IDE/GUI/whatever
  103. [ACCEPTED]
  104. * use a consistent naming scheme for attributes across all tasks
  105. [ACCEPTED]
  106. * keep build file syntax as compatible to Ant1 as possible -
  107. i.e. don't break something just because we can.
  108. [ACCEPTED]
  109. * keep the interface for Tasks as similar to the one of Ant1 as
  110. possible - i.e. don't break something just because we can.
  111. [ACCEPTED]
  112. * Ant should be cancelable
  113. [ACCEPTED]
  114. * no commit of new features without documentation
  115. [ACCEPTED AS GUIDELINE]
  116. * no commit of new features without testcases
  117. [ACCEPTED AS GUIDELINE]
  118. III. Things that are simple, easy to implement, where we expect the
  119. committers to agree
  120. ======================================================================
  121. * namespace support so different concerns can occupy different namespaces
  122. from ant (thus SAX2/JAXP1.1)
  123. [ACCEPTED]
  124. * Java2
  125. [ACCEPTED]
  126. * remove all deprecated methods, attributes, tasks
  127. [ACCEPTED]
  128. * allow all datatypes to be defined anywhere - i.e. as children of
  129. project as well as of target.
  130. [ACCEPTED]
  131. * make properties fully dynamic, i.e. allow their value to be reassigned
  132. [will need more discussion because of vote by Glenn McAllister and
  133. Conor MacNeill]
  134. [finally ACCEPTED]
  135. * unify the namespace of all data types (ie properties + filesets +
  136. patternset + filtersets).
  137. [ACCEPTED]
  138. * add a user defined message if a target will be skipped because the
  139. if/unless attribute says so.
  140. [ACCEPTED]
  141. * allow user-datatypes to be defined via a <typedef> similar to <taskdef>.
  142. [ACCEPTED]
  143. IV. Things we probably agree upon but need to discuss the details or
  144. decide between several possible options.
  145. ======================================================================
  146. [ACCEPTED] means, the goal/idea is fine, not that a decission on a
  147. particular implementation has been made.
  148. * The ability for GUI/IDE tools to integrate easily with object model
  149. without reinventing the wheel and writing their own parser (which
  150. antidote was forced to do).
  151. Two suggested solutions were allowing GUI developers to extend
  152. object model (ie GUITask extends Task) or to have Task as interface
  153. (ie GUITask implements Task). This way the GUI tasks could be W3C
  154. DOM Elements, have property vetoers/listeners etc.
  155. [ACCEPTED]
  156. * support for numerous frontends - from command line over GUI to servlets
  157. corollary of the above?
  158. [ACCEPTED]
  159. * Fully interpreted at runtime. This almost requires some form of
  160. abstraction/proxy that stands in place of tasks till it is
  161. interpreted. This can be hashtables/simple dom-like model/whatever
  162. [ACCEPTED]
  163. * provide utility classes to aid in building tasks. ie like up-to-date
  164. functionality abstracted
  165. Need to become more specific here.
  166. [ACCEPTED]
  167. * make ant-call a low cost operations so it can certain
  168. optional/template-like operations
  169. corollary of "fully interpreted at runtime"?
  170. [ACCEPTED]
  171. * allow facilities to build projects from multiple sources. ie CSS+xml
  172. or XSLT+ XML or Velocity+text or database or from inside jars or normal
  173. build.xmls etc.
  174. allow the project tree to be built dynamically.
  175. [ACCEPTED]
  176. * move to a system that allows docs to be generated - doc snippets
  177. should be included with the tasks they document.
  178. Which DTD? Which tools for generation?
  179. [ACCEPTED]
  180. * allow tasks to be loaded from jars. tasks should be indicated by
  181. either xml file in TSK-INF/taskdefs.xml or manifest file.
  182. [ACCEPTED]
  183. * allow documentation to be stored in .tsk jars
  184. corollary of the two points above?
  185. [ACCEPTED]
  186. * better scripting/notification support so the hooks are available to
  187. send notifications at certain times.
  188. Which hooks and where?
  189. [will need more discussion because of vote by Peter Donald and
  190. Simeon Fitch]
  191. [REJECTED - vetoes by Conor MacNeill, Peter Donald and Simeon Fitch]
  192. * separate tasks into .tsk jars somehow. (Probably via function - ie
  193. java tasks, file tasks, ejb tasks).
  194. Decide on categories.
  195. [will need more discussion because of vote by Conor MacNeill]
  196. [finally ACCEPTED]
  197. * make separate build files easy (ala AntFarm) and importing different
  198. projects a breeze
  199. [ACCEPTED]
  200. * provide support for user defined task configurations - i.e. give
  201. users the ability to specify a default value for attributes (always
  202. use debug="true" in <javac> unless something else has been
  203. specified).
  204. Three ideas so far: a CSS like language, a <taskconfig> element,
  205. properties following a specific naming scheme.
  206. [ACCEPTED]
  207. * support more control over the properties that are going to be passed
  208. to subprojects (modules)
  209. [ACCEPTED]
  210. * Ask for a new CVS module for Ant tasks.
  211. We need to define rules for this to work - maybe the rules proposed
  212. for the commons project could give us a start.
  213. [will need more discussion because of vote by Conor MacNeill]
  214. [REJECTED - vetoes by Conor MacNeill and glenn McAllister]
  215. * It should be possible to modify details of the actual build (e.g. classpath,
  216. used compiler) without the need to change the build specification.
  217. Do build.compiler and build.sysclasspath cover everything or do we
  218. need to add more stuff like this?
  219. [will need more discussion because of vote by Conor MacNeill]
  220. [REJECTED - veto by Conor MacNeill]
  221. * Task to prompt for user input.
  222. Does affect core as we need a means to request input from the Frontend.
  223. [ACCEPTED]
  224. * Add cvs login feature.
  225. Requires handling of user input.
  226. [ACCEPTED]
  227. * Easier installation process. GUI - maybe webstart from the homepage.
  228. This includes asking the user whether he wants to use optional tasks
  229. and downloads the required libs. Automatic upgrades and so on.
  230. Self-extracting jar installer: java -jar jakarta-ant-1.3-bin.jar.
  231. Prompts for destination directory, extracts archive, fixes all
  232. text files with fixCRLF task; on UNIX, makes scripts executable.
  233. Could also modify ant scripts with the location of ANT_HOME.
  234. [ACCEPTED]
  235. * Logo for Ant.
  236. [ACCEPTED]
  237. * detach Ant from System.err/.in/.out.
  238. Beware of problems with spawned processes.
  239. [ACCEPTED]
  240. * better subproject handling
  241. Whatever that means in detail.
  242. [will need more discussion because of vote by Conor MacNeill]
  243. [REJECTED - vetoes by Conor MacNeill and Stefan Bodewig]
  244. * build files should be declarative in nature
  245. [ACCEPTED]
  246. V. Things we probably don't agree on.
  247. ======================================================================
  248. [DISC] Datatypes
  249. ----------------
  250. * Allow mappers to be genericised so that particular features can be modified
  251. during mapping. Something similar to
  252. <fileset ...>
  253. <include name="*.sh"/>
  254. <mapper type="unix-permissions">
  255. <param name="user" value="ant"/>
  256. <param name="group" value="ant"/>
  257. <param name="mod" value="755"/>
  258. </mapper>
  259. </fileset>
  260. [REJECTED - vetoes by Stefan Bodewig and Conor MacNeill, not enough
  261. positive votes anyway.]
  262. * Allow include/exclude tow work with multiple characteristerics of a file.
  263. ie include into fileset if file is readable, modified after 29th of Feb,
  264. has a name that matches patter "**/*.java" and the property "foo.present"
  265. is set. Something similar to
  266. <include>
  267. <item-filter type="name" value="**/*.java"/>
  268. <item-filter type="permission" value="r"/>
  269. <!-- could optionally be directory/or some other system specific features -->
  270. <item-filter type="type" value="file"/>
  271. <item-filter type="modify-time"
  272. operation="greater-than"
  273. value="29th Feb 2003"/>
  274. </include>
  275. [REJECTED - only two +1 votes]
  276. * provide datatypes through property tag and remove need for separate free
  277. standing entities. ie
  278. <property name="foo">
  279. <fileset dir="blah">
  280. <include name="*/**.java" />
  281. </fileset>
  282. </property>
  283. [REJECTED - only one +1 vote]
  284. * provide support for non-hardwired (ie loadable) low-level
  285. components (mappers/itemset-filters/converters). Allow them to be
  286. loaded in either global or a new classloader.
  287. [ACCEPTED]
  288. * provide support for non-hardwired (ie loadable) converters.
  289. Q: What is a converter? Is this an implementation detail?
  290. A: Not an implementation detail but a way to extend the engine
  291. to convert more data types. Currently we have fixed set that is
  292. expanded on occasion (ie includes primitive types + File). Instead
  293. of spreading converting code through out tasks it can be centralized
  294. into one component and used by engine. This becomes particularly
  295. relevent if you build ant based testing systems and use ant in certain
  296. web-related areas.
  297. [REJECTED - only two +1 votes]
  298. * Make all datatypes interfaces to allow them to be customized in many
  299. ways.
  300. [REJECTED - vetoes by Conor MacNeill, Peter Donald and Stefan Bodewig]
  301. * Set arithmetic for fileset/patternset/*set
  302. [REJECTED - only two +1 votes]
  303. * inheritance of ant properties/datatypes/context etc in project hierarchy
  304. [ACCEPTED]
  305. * inheritance of between ant datatypes. ie fileset A inherits from fileset B (includes
  306. all entries in A).
  307. [REJECTED - vetoes by Conor MacNeill, Peter Donald and Stefan Bodewig]
  308. * Homogenize notion of PATHs and filesets.
  309. [REJECTED - vetoes by Conor MacNeill, Peter Donald and Stefan Bodewig]
  310. [DISC] Ant's goals
  311. ------------------
  312. * make it possible to reuse taskengine for other things. ie
  313. Installshield type app, Peter's cron-server and other task based
  314. operations.
  315. [REJECTED as a primary goal - only two +1 votes]
  316. * provide support for CJAN
  317. Q: In what way?
  318. A: Probably by supplying a set of tasks that download versioned
  319. binaries and their associated dependencies, caching the downloads
  320. in a known place and updating binaries when required. ("When required"
  321. being indicated by a change in property values).
  322. [REJECTED as part of Ant's core - veto by Conor MacNeill, no single +1]
  323. [DISC] class loading
  324. --------------------
  325. * force resolution of classes on loading to identify classloader
  326. issues early. (At least in global classloader).
  327. [REJECTED - only one +1 vote]
  328. * Ignore any classes contained in the damned ext dirs of a JVM - possibly by launching
  329. with something like jar -Djava.ext.dir=foo -jar ant.jar
  330. [REJECTED - vetoes by Conor MacNeill, Glenn McAllister and Stefan
  331. Bodewig, ACCEPTED if optional]
  332. [DISC] workspace/subbuild issues
  333. --------------------------------
  334. * create the concept of workspace so that projects can be built in a
  335. DAG and thus enable projects like catalina/tomcat to have an easy
  336. build process. It also helps CJAN to a lesser degree and would
  337. partially solve the JARs in CVS thing.
  338. [ACCEPTED]
  339. * Project inheritance
  340. What's this?
  341. [REJECTED - vetoes by Conor MacNeill, Peter Donald and Stefan Bodewig]
  342. * Target inheritance. ie The ability to include targets from other
  343. project files overidining them as necessary (so cascading project
  344. files).
  345. [REJECTED - vetoes by Conor MacNeill, Peter Donald and Stefan Bodewig]
  346. * Add an attribute to <ant> to feed back the environment (properties and
  347. taskdefs) from the child build to the parent.
  348. [REJECTED - vetoes by Conor MacNeill, Peter Donald, Simeon Fitch and
  349. Stefan Bodewig]
  350. * Allow a target to depend on a target which is in another buildfile.
  351. [ACCEPTED]
  352. * Allow a target to reference properties defined in another buildfile.
  353. [REJECTED - only one +1 vote]
  354. [DISC] documentation system
  355. ---------------------------
  356. * generate docs by anakia/XSLT
  357. Corollary of "move to a system that allows docs to be generated"?
  358. [ACCEPTED - with no decision on which system to use]
  359. [DISC] Task API
  360. ---------------
  361. * tasks provide some way to identify their attributes from the
  362. outside.
  363. Possible solutions include a special method like getProperties(), an
  364. external describing file shipping with the task class or special
  365. javadoc comments parsed by a custom doclet. Whatever the method it
  366. should not impose any cost on runtime as it is only used a small
  367. proportion of the time (design-time).
  368. [ACCEPTED]
  369. * tasks should have access to its own XML representation.
  370. [REJECTED - vetoes by Christoph Wilhelms, Conor MacNeill and Simeon Fitch]
  371. * Task level if and unless attributes.
  372. [REJECTED - no single +1 vote]
  373. * Allow tasks to find out, whether another task has completed successfully.
  374. [REJECTED - vetoes by Conor MacNeill, Glenn McAllister, Peter Donald
  375. and Stefan Bodewig]
  376. * provide failonerror like functionality to all tasks. (Provide this as an aspect??
  377. much like logging aspect or classloader aspect).
  378. [ACCEPTED]
  379. [DISC] logging
  380. --------------
  381. * allow build file writers to modify logging (verbosity for example)
  382. on a target by target or task by task basis.
  383. [ACCEPTED]
  384. * Make loggers configurable via build.xml.
  385. [ACCEPTED]
  386. [DISC] multithrading
  387. --------------------
  388. * Multithreaded execution of tasks within the same target.
  389. [ACCEPTED]
  390. * Multithreaded execution of targets.
  391. [REJECTED - vetoes by Conor MacNeill, Glenn McAllister and Stefan Bodewig]
  392. [DISC] procedural versus purely declarative
  393. -------------------------------------------
  394. * Simple flow control (if-then-else, for)
  395. [REJECTED - vetoes by Conor MacNeill, Glenn McAllister, Peter Donald
  396. and Stefan Bodewig]
  397. * targets should be like methods including a return value
  398. [REJECTED - vetoes by Conor MacNeill, Glenn McAllister, Peter Donald,
  399. Simeon Fitch and Stefan Bodewig]
  400. * build files should be purely declarative
  401. [REJECTED - veto by Stefan Bodewig]
  402. [DISC] Properties
  403. -----------------
  404. * Ability to manage scopping of properties in general (ie target/project/workspace).
  405. [ACCEPTED]
  406. [DISC] Templates
  407. ----------------
  408. * it should be possible to provide general /(template?)/ build
  409. specifications, and to declare for a concrete item that it should be
  410. built according to such a general specification.
  411. [REJECTED - vetoes by Conor MacNeill, Glenn McAllister, Peter Donald
  412. and Stefan Bodewig]
  413. [DISC] XML issues
  414. -----------------
  415. * a built-in mechanism to include build-file fragments - something
  416. that doesn't use SYSTEM entities at all and therefore is XSchema
  417. friendly, allows for property expansions ...
  418. [ACCEPTED]
  419. * Let Ant ignore - but warn - if unknown XML elements or attributes
  420. occur in a build file.
  421. [REJECTED - vetoes by Conor MacNeill, Glenn McAllister, Peter Donald
  422. and Stefan Bodewig]
  423. * Allow ant to farm out attributes and elements that are NOT in the ant
  424. namespace to other components. ie hand doc: elements to the Documentation
  425. component or log: attributes to Log policy component etc
  426. [ACCEPTED]
  427. [DISC] core extensions
  428. ----------------------
  429. * Allow named tasks to be defined by <script> elements.
  430. [REJECTED - only one +1 vote]
  431. * specify an onfail task or target that runs in case of a build
  432. failure.
  433. [REJECTED - vetoes by Glenn McAllister, Peter Donald and Stefan Bodewig]
  434. * allow sequence to be specified in depends attribute or enhance
  435. antcall to work with current list of executed targets
  436. [ACCEPTED]
  437. * Support nesting tasks into other elements - not just as children of
  438. target - as proposed by Thomas Christen in
  439. <http://marc.theaimsgroup.com/?l=ant-dev&m=98130655812010&w=2>.
  440. [ACCEPTED]
  441. * Make if/unless attributes to check for the value of a property, not
  442. only its existance.
  443. [REJECTED - vetoes by Glenn McAllister and Stefan Bodewig]
  444. * check for more than one condition in if/unless attributes.
  445. [REJECTED - vetoes by Glenn McAllister, Peter Donald and Stefan Bodewig]
  446. * provide a way to define the order in which targets a given target
  447. depends upon get executed.
  448. [ACCEPTED]
  449. * define task contexts that define various common aspects (logging,
  450. failure handling ...) and assign them to tasks.
  451. [ACCEPTED]
  452. [DISC] organization
  453. -------------------
  454. * separate CVSes and code hierarchies for
  455. - task engine [ org.apache.task.* ]
  456. - project engine (ie model of targets/projects/workspaces) + support/utility classes
  457. [ org.apache.ant.* ]
  458. - core tasks (ie tasks supported by ant contributors) [ org.apache.??? ]
  459. [REJECTED - vetoes by Conor MacNeill and Glenn McAllister]
  460. [DISC] misc
  461. -----------
  462. * internationalization
  463. [ACCEPTED]
  464. VI. entries that have been submitted too late
  465. =============================================
  466. * Integration of the depends task and javac tasks
  467. * recursive property resolution( ie resolving ${dist.${name}.dir} )