Peter Donald
f26fff422c
Changed interface so that instead of returning other components it hides it behind an abstraction. ie Instead of returning a ProjectBuilder it provides interface to ProjectBuilder. Same with ProjectManager.
This allows interface/implementation to be changed without effecting the "frontend interface" and vastly simplifies writing frontends.
Also a new ProjectManager is create for each request. Also input parameters are provided for future extention (ie parameters to builder and the builder "type");
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269160 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c7e6b6c8d7
Changed interface so that instead of returning other components it hides it behind an abstraction. ie Instead of returning a ProjectBuilder it provides interface to ProjectBuilder. Same with ProjectManager.
This allows interface/implementation to be changed without effecting the "frontend interface" and vastly simplifies writing frontends.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269159 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7b867a10d2
Modify ProjectBuilder so that it uses a vanilla string. This is in preparation for alternate formats (ie URLs).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269158 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e2cc34fa96
Fixed a bug that made inherited TypeFactorys fail.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269157 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1cdf53d7b6
Added method to construct child TypeManagers that inherit from their parent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269156 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c074a11c95
Changed Project so that it contains a list of Imports (of type libraries) and project references.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269155 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
16db5240fb
Made a object to model imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269154 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
74a38b3651
No longer separate Target interface and implementation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269153 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
20f90e4e0c
Update to use new ExecutionFrame construct.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269152 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
da88f5e461
Default implementation of frame that just caches values passed to it.
The exception being TypeManager which it uses to create a child TypeManager that is relevent to frame.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269151 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3ab3efa970
Made Executor support a TaskFrame. The TaskFrame is where context/logger/componentManager/typeManager are stored.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269150 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c36c9d34ef
cleaned whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269149 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3b8aee8b39
Change extention of ant libraries to "atl" for Ant Type Library. (more representative of content than .tsk).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269148 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
060c8d7530
Fix typo in tar documentation.
PR: 2120
Submitted by: rxh@gers.com (Rey Hernandez)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269147 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d291ecb053
Minor clarification, removed ', fix typo.
Submitted by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269146 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
fd69f8f475
Finished the document. This is IMHO as good as it can be at the current
state of discussion.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269145 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
aa1de6e713
Update build file for new descriptor location.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269144 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
97f2c01caa
Update to fix exception handling bug.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269143 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2d2f38d7ae
Add in new descriptors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269142 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e8cc085e9f
Remove old descriptors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269141 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a3d6441dd0
Split test targets into many. Include an "all" target and moved primitive tests to another build file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269140 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c60d74be92
Add in build file for testing primitive type conversion in myrmidon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269139 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c01cdc75f9
Expand output string.
.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269138 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9e24684219
Facility task (for adding in AspectHandlers).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269137 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ca6015fdc9
ConverterDef task (should we even have this???).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269136 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
becc71955c
Update to new descriptor name.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269135 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c2bd8b5273
Add in ROLE attribute so easy to reference.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269134 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9bda81dad1
Remove all old style tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269133 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Sam Ruby
35aee5ccea
Prep for JDK 1.4.
Note: I did a complete scan of the code. Mostly it the version checks are
safe (e.g., things not supported with 1.1). The only place where it wasn't
obvious to me was RMIC, but it seemed OK.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269132 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ac6f3addd3
Add a property that contains the version of Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269131 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cfd119edd2
Allow data types to appear inside of targets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269130 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3808ad11fb
Update sample build file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269129 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3efaa3847d
Update build process to add in descriptors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269128 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
67c9bd23c3
Update descriptors to new name.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269127 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1a4fd4f86a
Broke up large method into multiple methods. Update descriptor format into two sections to make converters and types separate.
Also scan base classloader for any default types defined by runtime. use ClassLoader.getResources() to scan for all descriptors to process.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269126 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
654f16a698
Updated to current descriptor name.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269125 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
12310aeb82
Remove whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269124 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8de9ab12b0
Added extra logging for debugging.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269123 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
50da0f9f1a
Removed decoration of role with "selector" as it was legacy to old implementation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269122 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e94678ff49
Concrete task to define types - where user specifies type of defionition (ie task/data-type, aspect, listener etc).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269121 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a2dc176076
Abstract task to define types.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269120 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
277624f965
Added first sweep at TypeInstanceTask
This will allow easy definition of types like
<pattern id="foo" ... >
...
</pattern>
Allos simple definition of DataTypes and simple use in buildfiles aswell.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269119 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1b342d1ac2
Added a standard declaimer with s/Avalon/Ant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269118 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
68f6b984a9
New task <typedef>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269117 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
91f7d992dc
Don't change working directory for javadoc.
Submitted by: Jay Glanville <dickon@nortelnetworks.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269116 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3219e9d829
Think I've covered all accepted features now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269115 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
190db7ce1a
Updated to use latest ant/avalon jars.
Settings are now passed to aspect as appropriate. Empty ones passed to aspects that do no have any defined on task.
Attributes/elements that have namespace marked but have no equivelent aspect cause a TaskException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269114 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1dc00cb1d1
Made setProject public.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269113 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c16a7322c3
Add pointer to article in recent JDJ issue.
Submitted by: Tim Vernum <Tim.Vernum@macquarie.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269112 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
794a883964
Updated to work with JAXP1.1 and crimson (as it is smaller).
Also implemented infrastructure for aspect handling. Aspects are now called out to and can do all the things we have discussed. The only thing not implemented is actually passing parameters and elements to aspect handler for each task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269111 13f79535-47bb-0310-9956-ffa450edef68
24 years ago