Menu

[r37]: / osmb / trunk / build / cruisecontrol / apache-ant-1.7.0 / docs / ant2 / requested-features.html  Maximize  Restore  History

Download this file

1091 lines (921 with data), 24.6 kB

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
<html>
<body>
<h2>
<center>Requested Features for Ant2</center>
</h2>
<h4>
I. Things that don't affect the core but are requests for new tasks or
enhancements to existing tasks.
</h4>
&quot;Accepted&quot; for a task doesn't mean that
task will be a core task (or even be supplied by a voter), just that having
it (as an optional task) would be acceptable.
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Add a new datatype filterset to group token-filters.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Make usage of particular filters/filtersets explicit in copy tasks.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Make facade tasks for things like <code>&lt;javac&gt;</code>
(JikesImpl, ModernImpl, etc.).
(One candidate is <code>&lt;jar&gt;</code>, with implementations for
a <code>&lt;fastjar&gt;</code>, for example.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Unify multiple similar tasks to use similar forms (eg., all the
<code>&lt;javacc&gt;</code>-type
tools).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Obfuscating task.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Better scripting/notification support so the hooks are available to
send notifications at certain times.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Add an <code>&lt;ant&gt;</code> task that will find build files according
to a fileset and invoke a common target in them. (<code>&lt;anton&gt;</code>?)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Add a JavaApply task that executes a given class with files from a
fileset as arguments (similar to <code>&lt;apply&gt;</code>).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Include some more sophisticated loggers with the Ant distribution &#150;
especially for sending emails. Make the existing one more flexible
(stylesheet used by XmlLogger). (Could be part of the same module tasks
would be developed in?)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Better docs (eg., more examples, tutorials, beginner documents, reference
sheets for tasks, printable version, etc.).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
RPM task.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Task for splitting files (head/tail/split-like functionality).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Task to create XMI from Java.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Socksified networking tasks, SSH tasks.
(Peter Donald expressed some legal concerns that might need to be overcome,
depending on the implementation.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
A reachable task that works much like <code>&lt;available&gt;</code>,
for network URLs.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Task to extract classes from a jar-file that a given class depends on.
(Based on <code>&lt;depend&gt;</code> or IBM's JAX, for example.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Unify <code>&lt;available&gt;</code> and <code>&lt;uptodate&gt;</code>
into a more general
<code>&lt;condition&gt;</code> task &#150; support
<code>AND</code>/<code>OR</code> of
several tests here.
(Will need more discussion because of vote by Peter Donald.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
JSP-compilation task. (Sounds like a candidate for a facade task.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
URL-spider task that checks links for missing content or server errors.
</li></ul>
</blockquote>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Make the default logger's output clear, informative, and terse. (Rejectors
think it already is.)
</blockquote>
</li></ul>
<blockquote>
<ul><li>
Add an attribute to <code>&lt;property&gt;</code> to read in an entire file
as the value of a property.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Make PATH-handling consistent. Every task that has a PATH attribute
must also accept references to PATHs.
</li></ul>
</blockquote>
<br>
<h4>
II. Goals that need to be abstract until we get into design
decisions.
</h4>
During the discussion it became obvious that some things from this list
are goals for Ant and some should be guidelines for developers.
Therefore, there are two flavors, &quot;Accepted&quot; and
&quot;Accepted As Guideline&quot;.
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Provide a clear mission statement for Ant.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Main goals<b>:</b> simplicity, understandability, extensibility.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Remove magic properties if at all humanly possible.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Remove as much dependency on native scripts as possible.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Clean object model (ie., Project/Target/Task).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Good event model to integrate well with IDE/GUI/etc.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Use a consistent naming scheme for attributes across all tasks.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Keep build-file syntax as compatible to Ant1 as possible
(ie., don't break something just because we can).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Keep the interface for tasks as similar to that of Ant1 as
possible (ie., don't break something just because we can).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Ant should be cancelable.
</li></ul>
</blockquote>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted As Guideline</b>
</font>
<blockquote>
<ul><li>
No commit of new features without documentation.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
No commit of new features without test-cases.
</li></ul>
</blockquote>
<br>
<h4>
III. Things that are simple and easy to implement, where we expect the
committers to agree.
</h4>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Namespace support so different concerns can occupy different namespaces
from Ant (thus, SAX2/JAXP1.1).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Java2
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Remove all deprecated methods, attributes, tasks.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Allow all datatypes to be defined anywhere (ie., as children of
project as well as of target).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Make properties fully dynamic (ie., allow their value to be reassigned).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Unify the namespace of all data types (ie., properties + filesets +
patternsets + filtersets).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Add a user-defined message if a target will be skipped as a
result of the specified <code>if/unless</code>.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Allow user datatypes to be defined via a <code>&lt;typedef&gt;</code>
similar to <code>&lt;taskdef&gt;</code>.
</li></ul>
</blockquote>
<br>
<h4>
IV. Things we probably agree on but need to discuss the details or
decide between several possible options.
</h4>
&quot;Accepted&quot; means the goal/idea is fine, not that a decision on a
particular implementation has been made.
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
The ability for GUI/IDE tools to integrate easily with object model
without reinventing the wheel and writing their own parser (which
Antidote was forced to do).
(Two suggested solutions were allowing GUI developers to extend
the object model (ie., GUITask extends Task) or to have Task as an
interface (ie., GUITask implements Task). This way, the GUI tasks could
be W3C DOM elements, have property vetoers/listeners, etc.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Support for numerous front-ends &#150; from command-line over GUI to servlets.
(Corollary of the above?)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Fully interpreted at run-time. (This almost requires some form of
abstraction/proxy that stands in place of tasks till it is
interpreted. This can be hash-tables/simple DOM-like model/whatever.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Provide utility classes to aid in building tasks (ie., like
<code>&lt;uptodate&gt;</code> functionality abstracted).
(Need to become more specific here.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Make ant-call a low-cost operation so it can do certain
optional/template-like operations.
(Corollary of "fully interpreted at run-time"?)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Allow facilities to build projects from multiple sources (ie., CSS+XML,
XSLT+XML, Velocity+text or database, from inside jars or normal
<code>build.xml</code> files, etc.)
(Allow the project tree to be built dynamically.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Move to a system that allows docs to be generated &#150; doc snippets
should be included with the tasks they document.
(Which DTD? Which tools for generation?)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Allow tasks to be loaded from jars. (Use
either an XML file in <code>TSK-INF/taskdefs.xml</code> or a
manifest file.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Allow documentation to be stored in <code>.tsk</code> jars.
(Corollary of the above two points?)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Separate tasks into <code>.tsk</code> jars somehow.
(Decide on categories.
Probably via function &#150; ie., java tasks, file tasks, EJB tasks, etc.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Make having separate build-files easy (<i>&#224; la</i> AntFarm) and importing different
projects a breeze.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Provide support for user-defined task configurations &#150; (ie., give
users the ability to specify a default value for attributes (eg., always
use <code>debug="true"</code> in <code>&lt;javac&gt;</code> unless
something else has been specified).
(Three ideas so far<b>:</b> a CSS-like language,
a <code>&lt;taskconfig&gt;</code> element, or
properties following a specific naming scheme.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Support more control over the properties that are going to be passed
to subprojects (modules).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Task to prompt for user input.
(Does affect core, as we need a means to request input from the front-end.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Add CVS login feature.
(Requires handling of user input.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Easier installation process. GUI, maybe webstart from the homepage.
This includes asking the user whether he wants to use optional tasks
and downloads the required libs, automatic upgrades and so on.
Self-extracting jar installer<b>:</b>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;<code>java -jar jakarta-ant-1.3-bin.jar</code>
<br>
Prompts for destination directory, extracts archive, fixes all
text files with <code>&lt;fixCRLF&gt;</code> task<b>;</b> on UNIX,
makes scripts executable.
Could also modify ant scripts with the location of <code>ANT_HOME</code>.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Logo for Ant.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Detach Ant from <code>System.err</code>/<code>.in</code>/<code>.out</code>.
(Beware of problems with spawned processes.)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Build-files should be declarative in nature.
</li></ul>
</blockquote>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
It should be possible to modify details of the actual build (e.g. classpath,
compiler used, etc.) without the need to change the build specification.
(Do <code>build.compiler</code> and <code>build.sysclasspath</code>
cover everything, or do we need to add more stuff like this?)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Better sub-project handling
(whatever that means in detail).
</li></ul>
</blockquote>
<br>
<h4>
V. Things we probably don't agree on.
</h4>
<i><b>Datatypes</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Allow <code>&lt;include&gt;/&lt;exclude&gt;</code>
to work with multiple characteristerics of a file
(ie., include into fileset if file is readable, modified after 29th of Feb,
has a name that matches the pattern <code>&quot;**/*.java&quot;</code> and
the property <code>foo.present</code> is set. Something similar to<b>:</b>
<pre>
&lt;include&gt;
&lt;item-filter type="name" value="**/*.java"/&gt;
&lt;item-filter type="permission" value="r"/&gt;
&lt;!-- could optionally be directory or some other system specific features --&gt;
&lt;item-filter type="type" value="file"/&gt;
&lt;item-filter type="modify-time"
operation="greater-than"
value="29th Feb 2003"/&gt;
&lt;/include&gt;
</pre>
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Provide support for non-hardwired (ie., loadable) low-level
components (mappers/itemset-filters/converters). Allow them to be
loaded in either globally or via a new classloader.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Provide support for non-hardwired (ie., loadable) converters.
<br>
Q<b>:</b> What is a converter? Is this an implementation detail?
<br>
A<b>:</b> Not an implementation detail, but a way to extend the engine
to convert more datatypes. Currently, we have a fixed set that is
expanded on occasion (ie., includes primitive types + File). Instead
of spreading converting code throughout the tasks, it can be centralized
into one component and used by the engine. This becomes particularly
relevent if you build Ant-based testing systems and use Ant in certain
web-related areas.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Set-arithmetic for fileset/patternset/*set.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Inheritance of Ant properties/datatypes/context/etc. in project hierarchy.
</li></ul>
</blockquote>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Allow mappers to be genericized so that particular features can be modified
during mapping. Something similar to<b>:</b>
<pre>
&lt;fileset ...&gt;
&lt;include name="*.sh"/&gt;
&lt;mapper type="unix-permissions"&gt;
&lt;param name="user" value="ant"/&gt;
&lt;param name="group" value="ant"/&gt;
&lt;param name="mod" value="755"/&gt;
&lt;/mapper&gt;
&lt;/fileset&gt;
</pre>
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Provide datatypes through property tag and remove need for separate
free-standing entities. That is<b>:</b><br>
<pre>
&lt;property name="foo"&gt;
&lt;fileset dir="blah"&gt;
&lt;include name="*/**.java" /&gt;
&lt;/fileset&gt;
&lt;/property&gt;
</pre>
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Make all datatypes interfaces to allow them to be customized in many
ways.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Inheritance between Ant datatypes (ie., fileset A inherits from
fileset B (includes all entries in A).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Homogenize notion of PATHs and filesets.
</li></ul>
</blockquote>
<i><b>Ant's goals</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Provide support for CJAN.
<br>
Q: In what way?<br>
A: Probably by supplying a set of tasks that download versioned
binaries and their associated dependencies, caching the downloads
in a known place and updating binaries when required.
(&quot;When required&quot; being indicated by a change in property values).
</li></ul>
</blockquote>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b> (as a primary goal)
</font>
<blockquote>
<ul><li>
Make it possible to re-use the task engine for other things
(ie., Installshield-type app, Peter's cron-server, and other task-based
operations).
</li></ul>
</blockquote>
<i><b>Class-loading</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Force resolution of classes on loading, to identify class-loader
issues early (at least in global classloader).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Ignore any classes contained in the damned ext dirs of a
JVM &#150; possibly by launching with something like<b>:</b>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;<code>jar -Djava.ext.dir=foo -jar ant.jar</code>
<br>
(Accepted if optional.)
</li></ul>
</blockquote>
<p>
<i><b>Workspace/sub-build issues</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Create the concept of workspace so that projects can be built in a
DAG and thus enable projects like Catalina/Tomcat to have an easy
build process. It also helps CJAN to a lesser degree and would
partially solve the jars-in-CVS thing.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Allow a target to depend on a target in another build-file.
</li></ul>
</blockquote>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Project inheritance. (What's this?)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Target inheritance. That is, the ability to include targets from other
project files, overriding them as necessary (so, cascading project
files).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Add an attribute to <code>&lt;ant&gt;</code> to feed back the environment
(properties and taskdefs) from the child build to the parent.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Allow a target to reference properties defined in another build-file.
</li></ul>
</blockquote>
<p>
<i><b>Documentation system</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b> (with no decision on which system to use)
</font>
<blockquote>
<ul><li>
Generate docs by Anakia/XSLT.
(Corollary of "move to a system that allows docs to be generated"?)
</li></ul>
</blockquote>
<p>
<i><b>Task API</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Tasks provide some way to identify their attributes from the outside.
Possible solutions include a special method like <code>getProperties()</code>,
an external describing file shipping with the task class or special
Javadoc comments parsed by a custom doclet. Whatever the method, it
should not impose any cost on run-time, as it is only used a small
percentage of the time (design-time).
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Provide <code>&quot;failonerror&quot;</code>-like functionality to all tasks.
(Provide this as an aspect?? Much like logging aspect or classloader aspect).
</li></ul>
</blockquote>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Tasks should have access to its own XML representation.
</blockquote>
</li></ul>
<blockquote>
<ul><li>
Task level if and unless attributes.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Allow tasks to find out, whether another task has completed successfully.
</li></ul>
</blockquote>
<p>
<i><b>Logging</b></i>
<blockquote>
<ul><li>
Allow build-file writers to modify logging (verbosity, for example)
on a target-by-target or task-by-task basis.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Make loggers configurable via build.xml.
</li></ul>
</blockquote>
<p>
<i><b>Multi-threading</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Multi-threaded execution of tasks within the same target.
</li></ul>
</blockquote>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Multithreaded execution of targets.
</li></ul>
</blockquote>
<p>
<i><b>Procedural versus purely declarative</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Simple flow-control (<code>if-then-else</code>, <code>for</code>)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Targets should be like methods, including a return value.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Build-files should be purely declarative.
</li></ul>
</blockquote>
<p>
<i><b>Properties</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Ability to manage scoping of properties in general
(ie., target/project/workspace).
</li></ul>
</blockquote>
<p>
<i><b>Templates</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
It should be possible to provide general/(template?) build
specifications, and to declare, for a concrete item, that it should be
built according to such a general specification.
</ul></li>
</blockquote>
<p>
<i><b>XML issues</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
A built-in mechanism to include build-file fragments &#150; something
that doesn't use <code>SYSTEM</code> entities at all and therefore is
XSchema-friendly, allows for property expansions, etc.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Allow Ant to farm out attributes and elements that are <i>not</i>
in the Ant namespace to other components (ie., hand <code>doc:</code> elements
to the Documentation component or <code>log:</code> attributes to the Log
policy component, etc.
</li></ul>
</blockquote>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Let Ant ignore &#150; but warn &#150; if unknown XML elements or attributes
occur in a build-file.
</li></ul>
</blockquote>
<p>
<i><b>Core extensions</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Allow sequence to be specified in <code>&quot;depends&quot;</code> attribute,
or enhance <code>&lt;antcall&gt;</code> to work with current list of executed
targets.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Provide a way to define the order in which targets that a given target
depends upon get executed. (Same as above?)
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Support nesting tasks into other elements &#150; not just as children of
target &#150; as proposed by Thomas Christen in
<a href http://marc.theaimsgroup.com/?l=ant-dev&m=98130655812010&w=2>
his mail message</a>.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Define task contexts that define various common aspects (logging,
failure handling, etc.), and assign them to tasks.
</li></ul>
</blockquote>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Allow named tasks to be defined by <code>&lt;script&gt;</code> elements.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Specify an OnFail task or target that runs in case of a build
failure.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Make <code>if/unless</code> attributes check for the value of a property, not
only its existance.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Check for more than one condition in <code>if/unless</code> attributes.
</li></ul>
</blockquote>
<p>
<i><b>Organization</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Separate CVSes and code hierarchies for<b>:</b>
</li></ul>
<ul type="circle">
<li>task engine [org.apache.task.*]</li>
<li>project engine (ie., model of targets/projects/workspaces) +
support/utility classes [org.apache.ant.*]</li>
<li>core tasks (ie., tasks supported by Ant contributors) [org.apache.???]</li>
</ul>
</blockquote>
<p>
<i><b>Miscellaneous</b></i>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Accepted</b>
</font>
<blockquote>
<ul><li>
Internationalization.
</li></ul>
</blockquote>
<p>
<h4>
VI. Things that were submitted late
</h4>
<p>
<font face="Arial, Helvetica, sans-serif" size="-1">
&nbsp;&nbsp;<b>Rejected</b>
</font>
<blockquote>
<ul><li>
Integration of the <code>&lt;depend&gt;</code> and <code>&lt;javac&gt;</code>
tasks.
</li></ul>
</blockquote>
<blockquote>
<ul><li>
Recursive property resolution (ie., resolving <code>${dist.${name}.dir}</code>)
</li></ul>
</blockquote>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.