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
63d5222c0a
Register classic configurer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271325 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8c2efc7632
Add configurer role so that you can plug in multiple configurers easily
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271324 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
dceffe022e
Remove some more cruft
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271323 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6af62ff98a
Remove recorder as should be reimplemented as a configured aspect aka a Facility
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271322 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
Peter Donald
039e254a64
Reimplement in a cleaner way later
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271319 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
319f167400
Shift the sound task across to antlib hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271318 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c86c8e4a72
Use the context rather than the project
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271317 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9e8e575227
Inline the functionality of NetCommand.
If it ever becomes needed in the future then it can be added. Until then YAGNI is probably a good principle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271316 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
919e3c42b4
Zap the depend package as should really be reimplemented using BCEL
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271315 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
adammurdoch
8b39211862
A project may now have a name attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271304 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
f8b5aff8e3
Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271303 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
6cade52b36
Added 'recompile' target, to force recompile of Java classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271302 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
6012c425b9
Fix error message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271301 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
99dc457c6f
Changes resulting from first run of gump with mutant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271300 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
af01f285a1
fix summary orthograph
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271299 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b6f66230b3
fix javaddoc and unused variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271298 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
256d87df30
Fix up minor typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271297 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
f16a5cd623
Add in nested element processing for scriptdefs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271296 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
b070293536
Add project name, so that IDEA will let me bind keys to targets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271295 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
5307209831
Changes to DefaultDeployer:
* Parses services descriptors (META-INF/ant-services.xml). Does not do anything
with them yet.
* Enforces that the version attribute in type, role, and service descriptors
is present, and compatible with the current version.
* Moved descriptor construction from DefaultDeployer into separate
DescriptorBuilder classes, one for each type of descriptor.
* Detection of whether a descriptor is present in a file, was not portable across
XML parser implementations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271294 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
584e6514a1
* Rename --myrmidon-home command-line arg to --ant-home.
* Change some usage messages.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271293 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
84b8f2b8b6
Resolve path to referenced projects.
Fixed some Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271292 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
204a23f354
Fix error message, and some Javadoc problems.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271291 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
f8fdbeedec
Removed warning message, since it no longer applies.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271290 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
fdbfe30a3e
Added version attribute to all the descriptors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271289 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
4829434a73
Fix shouldRun logic.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271288 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f4a6e35f35
Fix Javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271287 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
8c68d48649
Make sure you do not compare apples to oranges
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271286 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
30b81779b5
Add ability to define tasks using BSF scripts - experimental
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271285 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
ec9816997d
Initial cut of a very basic intro to Myrmidon.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271284 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b9fa4d494b
Initial commit. Was missed in the original one. Sorry Jose.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271282 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
7ed2408117
upon Jose Alberto's request, updates to antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271281 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
634dbf216a
Code cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271275 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b67ae6c688
Implement if/unless into (Batch)TestElement
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271274 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9d81c4b279
Some cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271273 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
2e6e170fb3
Changes to DefaultDeployer:
* Got rid of <converters> element from antlib descriptor. Converters are
now defined in the <types> element.
* Moved (most of) the role-specific knowledge from Deployment back to DefaultDeployer.
* Split out ClassLoader management into DefaultClassLoaderManager. This is
living in the deployer package for now.
* Tidied-up the component set-up and clean-up in DefaultEmbeddor. Added
the ClassLoaderManager component.
* Added test for TypeDeployer.deployAll().
Changes to unit tests:
* Added AbstractMyrmidonTest, which takes care of locating test resources.
* Changed the VFS, type factory, and deployer tests to use AbstractMyrmidonTest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271271 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
e7ab62bc91
Added 'converter' role.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271270 13f79535-47bb-0310-9956-ffa450edef68
24 years ago