Peter Donald
6309813d01
Converted the Ant1 Howto write a task to ant2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271697 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fb8c07dd1b
Rmove broken javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271696 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1191c96565
Name build file so looks pretty under IDEA
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271695 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d0fcd88834
Javac task has moved
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271694 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
16a1e94b65
Use simplified AbstractContainerTask
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271693 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3921f5f07c
Move Tasklist into framework as it is being used everywhere
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271692 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ca1acca7db
Remove Input task as need to be reimplemented using Stefans new source
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271691 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
334c80aa51
Start process of simplifying writing container tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271690 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
32de119f15
Move manifest stuff back into old tree
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271689 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9073670fb6
Remove unused class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271688 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a105c023ed
Move all javac specific files into a separate package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271687 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
be9b689c89
Compress javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271686 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
af0ce4fad5
fixed mapping typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271685 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
bc7c6eddec
Added Condition <-> File Selector adaptors:
* Added <condition> file selector, which allows a set of nested conditions to
be used to select files.
* Added <file-test> condition, which evaluates a set of nested selectors against
a file.
* FileSelector doesn't extend DataType any more.
* Got rid of the @ant:data-type tags from the file selectors, cause they ain't.
* Renamed <condition> nested element in <filtered-path> -> <filter>.
* Renamed <is-empty> selector -> <is-empty-folder>
* Fixed NPE using <name> selector in a path.
* Fixed error messages.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271684 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
6ab3e31386
Restructured the conditional tasks:
* Made framework.Condition an interface.
* Converted old framework.Condition into <is-set> condition.
* Ported all Ant 1 conditions to the new Condition interface, and removed
the old Condition and ConditionBase classes.
* Moved <and>, <or>, <not> conditions to framework.conditions.
* Moved <condition> task and <os> condition to antlib.
* Moved <available> to antlib. This is no longer a task, just a condition.
Removed all file checking, which will be done by other condition
implementations.
* Removed conditions from <fail>, as it can be wrapped in an <if> instead.
* A target can now take both an "if" and an "unless" condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271683 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
4ab1c363ef
Make all name checking case-insensitive.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271682 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
9b35ad50ac
dramatically improved the "smarts" of finding real tasks. defaults.properties generation is just about there, which is sort of the litmus test to ensure that the right classes are being processed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271681 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
f29de55fee
"default" is a good standard target name - makes running "ant clean default" possible :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271680 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
957a3697ab
eliminate blank lines between entries
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271679 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
7fec7616d1
Changing "ant:task" to "ant.task" to avoid JDK 1.4 javadoc warnings (XDoclet has been modified to handle this separator too).
Updating the majority of the rest of the tasks with the XDoclet tags. The generated defaults.properties is *almost* the same as the current hand maintained one!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271678 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
fc2a257f8a
Long since "deprecated" in the execute method. Any reason not to mark the entire class as deprecated?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271677 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f113bd7288
2000-2002 -> 2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271676 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
5c5b959ca7
1. Fix bug where <move> ignored <filterset>s.
2. Add filterset based test to CopyTest.
3. Add MoveTest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271675 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
111d76453a
now supports JDK 1.4 friendlier tags like "ant.task". I like the colon separator better, but oh well, Sun makes the rules.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271674 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
fac77e5b28
for Jose Alberto
sorry for the spam - get lock errors if i try too many files at once :(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271673 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
8dfa7abd4d
for Jose Alberto
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271672 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6885f5ccad
Made <copy> and <move> filterchain aware. Existing <filterset> elements can live together with <filterchain> elements. However, all <filterset>s will only be processed *after* all <filterchain>s have been.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271671 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
9a5aa0943a
Small fixes from Gump testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271670 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
97ea61851c
<if> wasn't checking its condition. Fixed, and added some test cases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271669 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
5b48abc10d
* Added 'descendent' name scope.
* Changed semantics of FileName.resolveName() with 'child' scope.
* Fixed a couple of problems in UriParser.normalise().
* Split up LocalFileNameParser into a Windows specifc parser and a generic
parser.
* More test cases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271668 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
b6ed0b4934
* Added OsFamily enumerated type, to represents OS groupings.
* Replaced all usages of Os.isFamily( String ) with Os.isFamily( OsFamily ).
* Replaced all usages of "os.name" system properties with calls to Os.isFamily().
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271667 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
d03eda1c3a
Fix exception checking in unit tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271666 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
74a7d1b01f
* Add more stuff to todo list.
* Fix format of an example on the VFS page.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271665 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
611e0321a5
Update avalon jar to make getCause() public.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271664 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
7eb48e1642
Make it so the text can adjust to window width ('cause scrolling back&forth
is a PITA :) (Also all the usual grammar/spelling/wording/etc. edits.)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271663 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4f2c7ee539
Minor cleanups - sorry for spamming...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271662 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
741e2cbbd7
All the filter cares about is a stream of data - not necessarily if it is from a file. Make documentation reflect that.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271661 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
78a9dff37e
New filter reader to access straight-forward 'constants' defined in a class file.
This can be used to load class constants as Ant properties.
External Dependency on: BCEL
PR: 6591
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271660 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b5cece0fb1
Update generated docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271659 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e8979d14ae
Another reorg to display all the pages.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271658 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b728719340
Style and get rid of top "getinvolved" section
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271657 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7c2285da8f
Style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271656 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
14ee9e10cd
Extract a separate top-level getinvolved.xml from todo.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271655 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
34f1870584
Extract the build file stuff from user.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271654 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
422e474a6d
Extract the VFS stuff from user.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271653 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
82a46da06d
Put project name on RHS of banner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271652 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a09efd17a8
Start to reorg the sidebar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271651 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a04c111270
Make all the variables final
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271650 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4ddd7dfef4
Rework it so that ExecManager does not shutdown streams.
Important when you pass in System.out/System.err or want to do something
special to stream after processing.
Submitted By: Darrell DeBoer <darrell@apache.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271649 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bcb20c5a70
Start to add in sidebar for new documentation.
Leave out the overview section about "Extending Ant"
for the time being and come back to it later
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271648 13f79535-47bb-0310-9956-ffa450edef68
24 years ago