Magesh Umasankar
5f07fcba57
Use a helper class to process chained readers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271518 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ec9595bfac
FilterReaderSet aware task to load Ant properties.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271516 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6a2b776bfc
A filter that attaches a prefix to every line of data read.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271515 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Costin Manolache
034b22b4f2
Checking in the modified ( and new ) files.
Most of the functionality in Main is moved into AntBean ( all public/protected
methods are now wrappers around AntBean's functionality, for backward compat).
Same in ProjectHelper - again, for backward compat the public/protected functions
are unchanged, old code can still call the old methods and get similar behavior.
In TaskAdapter - few improvements ( still more to go ) to allow a program
to control tasks that are in a child loader. That's extremely important to
get ant embeded and controlled in a programatic way ( Project may create
tasks in a child class loader, so casting will fail - the only way
to use them is by using introspection ). I've also added the ability
to 'adapt' beans that have multiple methods, not only execute()
Please review, try, let me know when I can commit it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271514 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
bf5d72445b
Changes to RoleManager:
* A class may now be explicitly associated with a role, rather than being
implicit in the role name.
* Added RoleInfo to bundle up role meta-info.
* Reworked the methods of RoleManager.
* Added test-cases for DefaultRoleManager.
* Make tests compile again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271498 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b42a89b2fa
Remove old framework jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271496 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7edeb4e678
Rename myrmidons ServiceManager stuff to AntServiceManager
Refactored the codebase to use Avalons ServiceManager rather than ComponentManager. The reason for this is that the ComponentManager required that contained objects implement the Component interface while the ServiceManager constructs do not have this requirement.
This makes it much easier to extract parts of Myrmidon without any dependency on Ant/Avalon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271495 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b20531c93c
Make class Resolvable so that converters get direct access to the underlying TaskContext
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271494 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e661c5f13d
Update xdoclet script to reflect new location of Converter interface
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271493 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cf99f09c68
Moved Converter architecture into aut hierarchy as it is completely decoupled from rest of ant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271492 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ecbd9e5237
Update to latest converter architecture
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271490 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c621c7a787
No longer need ant1 Task class about anymore - yea!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271489 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
094dab9e8e
Remove some unreferenced files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271488 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0da0af0739
Make tasks extend AbstractTask directly not via Task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271487 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7fe3d2cd00
Ugly hack to remove references to Project
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271486 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
03087f6b82
Make adapter extend AbstractTask
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271485 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4e55a2c1d3
Remove unused method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271484 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3844394878
getPropertys from new TaskContext method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271483 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a20abc3cac
Fix javadoc errors
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271482 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
df05a786a5
Zap these for now and deal with em later
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271481 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b6c4f566ff
No need to extend AbstractTask
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271480 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
07c3b5de55
ContextException - lets kill you!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271479 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2941067384
Ugly hackity hack owrapping TaskContext to make it an Avalon context.
Need to define a clean interface to export to Container object that is basically a facade and takes care of all this
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271478 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1674577675
Use Adaptor so that TaskContext appears as an Avalon Context
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271477 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a371839efd
Add an adaptor so that the TaskContext will still apear as an Avalon COntext to the Configurer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271476 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5c81f02860
Some messages
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271475 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
812fe53151
Remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271474 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
302ce3c6dd
No need to import old propertyutil
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271473 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1876ce865b
Remove CascadingException references
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271472 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1b7d8d44fd
Add a PropertyUtil class that doesn't need avalons Context
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271471 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b52e2b425f
Updated TaskContext imp[lementation to reflect new interface
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271470 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
90c544be23
add a getPropertys() method to context so that some tasks (like Junit) can grab a *copy* of all the propertys
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271469 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
dd70349d95
Made the TaskCOntext not extend avalons context interface
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271468 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
959022fae0
Changed commented info message to debug priority
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271467 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
da8ec4fa38
Reworked the ExecManager service so that the Execute adapter object becomes responsible for combining supplied env vars with native env vars if required
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271466 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0e2f7c5672
Generalized the converter architecture by making the "context" a raw object that can be cast for the needs of a specific project
Thus converters are now independent of ant and avalon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271465 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
93e26b06b1
Remove old attempt at generalizing the converter architecture
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271464 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
7515a67539
Added some experimental VFS data types and tasks: <v-path>, <v-fileset> and <v-copy>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271459 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
6fe669441d
* Added AbstractProjectTest, which allows a sub-class test case to execute
targets from project files.
* AbstractMyrmidonTest.getTestResource() now asserts that the resource exists.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271458 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bf844382c8
Refactor configuration out of Frame into Component Manager
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271453 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
60551b04f2
* Renamed the template files.
* Added an <antlib-jar> task to the build, for Jar-ing up antlibs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271449 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
17127ef4d9
* Added test cases for DefaultEmbeddor.
* Target start and finish events are now fired for a project's implicit target.
* Unit tests now run against a dummy myrmidon install.
* Tidy-up some error messages.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271443 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2a642ec043
Small fix for default state of unset property handling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271440 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
4d8702d1f4
Bootstrap files for Windows users
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271419 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
9ec9a279f5
Add copyright header.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271418 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
7f243c7f6a
Converts Tabs to Spaces.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271417 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
70f91ac465
Oh! the horrors of cut-n-paste. Copyright should have been 2002.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271416 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
defe5f24dc
Answer the question: "So what are filterreadersets and filterreaders anyway?"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271415 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
e1018ac5ba
Mutant can now bootstrap itself
Upgraded to checkstyle 2.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271412 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
de190c4094
Start simplifying so that metrics task does not complain as much
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271411 13f79535-47bb-0310-9956-ffa450edef68
24 years ago