Erik Hatcher
44e880c9e6
hot off the press.... now supports Ant properties within XDoclet tags
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271731 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
b926938e01
Document <loadproperties> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271728 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
069a8898be
Test chain of filters.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271727 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f261bcd566
Make TailFilter behave exactly like the unix tail application.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271726 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
d89352ca5e
null check.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271725 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
fdcfd1dd9b
Improved doc; loadfile.xml typo fix.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271724 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
689db09b31
New facades for ant and antcall tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271722 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
cad63fce0b
Doc updates.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271717 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
70513c95de
Fixed circular package dependency:
* Moved antlib.vfs.FileSelector to antlib.vfs.selectors
* Moved framework.Condition to framework.conditions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271716 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
2afc643a3e
* Moved FileNameMapper to framework. Got rid of setTo() and setFrom()
from the interface, as these are no longer needed.
* Changed tasks to accept a FileNameMapper directly, rather than using Mapper.
* Removed the 'flatten' attribute from the <copy> task.
* Removed the 'ext' attribute from the <native2ascii> task.
* Removed Mapper and MapperType.
* Moved <flatten> mapper to antlib.
* Made ExtMapper available as <map-extension> and moved to antlib.
* Added <prefix> mapper, to apply a fixed prefix to names.
* Added <chain> mapper, to apply a chain of mappers to names.
* Added <mapped-fileset>, a fileset that transforms nested filesets using a mapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271715 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
1eaa635f8f
Add a few preliminary testcases...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271714 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ce2a2bc4bc
Cheat the introspector by making ClassConstants delegate bcel stuff to a helper class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271713 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
a172bceca6
Removing short form syntax for ClassConstants for the time being, as it forces user to have bcel.jar in classpath irrespective of whether the filter is being used or not.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271712 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
5578d94e01
thanks again Bill Burton! all i can say is "wow!"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271711 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
6252354506
once again for Jose Alberto - think I got it right this time
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271710 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
ea28bed05b
Document the new conditions.
More todo list updates.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271708 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fb697b3d3e
Delete unused variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271707 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b46fc7b6d1
Remove PropertyFile as it has changed significantly since being moved to this tree.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271706 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4284ea0840
Remove unused class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271705 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5e099552e5
Delete some unused variables
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271704 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a2144fd6b2
Merge Context back into TaskContext
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271703 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7641529516
Move dotnet tasks into antlib hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271702 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0fa0e394dc
Move all rmc stuff into its own package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271701 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4bf57267ee
Deleete unused class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271700 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
eeede12e67
Die ProjectComponent die!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271699 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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
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
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