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
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
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
Peter Donald
25c4d95cd5
Start simplifying so that metrics task does not complain as much
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271410 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3946d3183e
Inlined a large number of methods from AbstractTask
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271409 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6e89cb024f
Start simplifying so that metrics task does not complain as much
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271408 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ce63a87681
Move complex operations outside loop body
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271403 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b08f6020a3
Remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271402 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c79d7f043c
Move static above instance variables
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271401 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ca76c9e33c
Moved complex operations outside of loop evaluation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271400 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8cbceeceb4
Clean up some audit warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271399 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
91199f6d2c
Remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271398 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2e60e0841c
Use StringBuffer inside loops and dont reasign parameters to method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271397 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
67d542191a
Dont access static method through instance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271396 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0deb15031e
Started to refactor XSLTProcess to be loose the xsltLiason. We can assume that most future processors will use this API as it is the standard.
The current implementation does not load the TransformerFactory from the specified classLoader but it will in the future.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271386 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
030fd751f5
init(File) --> reset()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271385 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3dd91d101c
touchups
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271384 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
59ee05a8da
Add basic class to listen to trax errors and print em out
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271383 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7d2001b841
Add accessor for underlying fileset object
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271381 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
8c22fa33f3
* Added another FileSystemManager.resolveFile() convenience method.
* Made a heap of stuff final.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271360 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
0cab9c1f29
* Added exec-manager and file-system-manager roles.
* Added a very basic VFS manager service implementation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271359 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
9eeb462907
Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271358 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
64fff4d508
Add missing error message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271357 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1152ba5f88
Add in tags for xdoclet.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271346 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e2c2b86f61
Moved sleep task into antlib hierarchy and i18n'ed task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271345 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ee04eba635
i18ned task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271344 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
624b9a578d
Ran style-formatter over codebase
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271339 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
48f9b90a7f
Move FilterSetCOllection into framework classes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271338 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
13e89f3197
Move filter class into framework
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271337 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
89770b70fe
Make follow myrmidon designs anbd make sure it is not two things (task and condition). If need condition then move common funcitonality into helper class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271335 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
040407cd4d
Remove dependency on old ant tree
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271334 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
773c748166
Move CheckSum into antlib.build package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271333 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ccbf334323
Add an abstract task that will eventually take over the role of the original Matching task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271332 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e3f813cb02
Move ComponentManagerAdapter into workspace package as thats the only place it is used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271331 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
23083ead26
Added a newInstance method to AbstractContainerTask to make it easier to create instances of a role with a specific type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271330 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
efcab999df
Remove public access specifier as it is redundent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271329 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
109578bc56
Map --> ConverterContext
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271328 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c8a7294435
Start to play with a converter architecture decoupled from ant completely
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271327 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9864dc31e1
Convert role strings so that they are auotgenerated from class object
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271326 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ce88e4df5e
Readd classic ant1.x style configurer to make some of my old code still work ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271321 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8821afcf82
Recast SoundTask in Myrmidon. i18n it and clean up some of its structures
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271320 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
ef420c53bf
* DefaultTaskContext now uses a ServiceManager to locate services, rather than
a ComponentManager. Currently all components are also exposed as services.
* Some tidy up to DefaultExecutionFrame and DefaultWorkspace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271313 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
be938b1e8f
* Deployer now deploys services from META-INF/ant-services.xml
* Embeddor now creates a ServiceManager component.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271312 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
56250d886e
* Moved package org.apache.myrmidon.services to org.apache.myrmidon.interfaces.service.
* Added ServiceManager interface, and several implementations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271311 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
b6e062af22
Added TypeFactory.canCreate() method.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271310 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
0dcd7b3f68
Use getService() to find the ExecManager, rather than instantiating it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271309 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
8b4b896303
Changes to listeners:
* CLIMain now uses the listener's short name, rather than classname, to
construct the listener. This is done with the help of the Embeddor.
* Added NoPrefixProjectListener, which emulates the -emacs mode of Ant 1.x.
* Added -p, --noprefix command-line option, to use the NoPrefixProjectListener.
* Changed the methods on ProjectListener to take event objects. Combined the
log() methods into a single method.
* Moved state tracking out of AbstractProjectListener, and into DefaultWorkspace
(where it doesn't need to be tracked). State info is now available via the
event objects passed to the listener methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271305 13f79535-47bb-0310-9956-ffa450edef68
24 years ago