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
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
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
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
ee0d987003
Added @ant:role tag, fixed Javadoc comment.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271269 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
e7a2e195af
Fix Javadoc comment.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271268 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d09fc12e58
Removed throwsIOException from Execute.execute() as it was never thrown.
Made some tasks specify expected return code rather than checkin it themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271266 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ca77bf7cd3
Renamed Execute2 to Execute and moved it into the myrmidon.framework package.
Cleaned up its code a little. ALso reworked it so that the user can specify an expectedReturnCode and if the value is not the one expected a TaskException is thrown.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271265 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9acb4910a9
Move manifestUtil into aut package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271264 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
15098b0f49
Experiment with an alternate pattern for writing tasks wrapped around native exes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271263 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e0f1ffa9ba
No need to setup a Logger for Execute.
All logging will be routed via System.err or System.out as appropriate
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271261 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
dc89e4bd22
Add in a task that does filtered coping. It does it in the same was as Ant1.x excep that it also acepts a character encoding and defaults to ascii. This is to workaround platform specific deviations and also to make it easier to have more reliable builds.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271258 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a9ee520ea1
Start to create a metainfo infrastructure
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271253 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f271942e72
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271252 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ea31a2b83a
Fix up audit violations
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271250 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9592a7bdbb
STart to move the ant-indepenet manifest stuff into aut
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271244 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d50c71d4f6
Migrate across the move task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271241 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d408d99390
Copy across the copy task and strip out filtering
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271238 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3ffd08e036
Add a try-catch taks to emulate javas try-catch constructs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271236 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
711320d7de
Zap some audit warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271234 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fa980642c8
Zap some audit warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271233 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
7a5c30f33c
Changes to DefaultConfigurer:
* Uses the DataType role when creating instances for interface properties,
rather than using the interface itself as the role.
* Added ObjectConfigurer.getTypedProperty(). This replaces the implicit
behaviour in DefaultObjectConfigurer.getProperty() where the typed
property was returned for an unknown property name.
* Typed properties are set using attributes and references, with the
property's interface role shorthand name. Previously, the DefaultConfigurer
would attempt to set the typed property for any unknown attribute or
reference name.
* Can have a set() method for a typed property, rather than an add() method.
Same semantics as setX() and addX() methods.
* Added a several more test cases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271227 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d23de598f0
Add version tags
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271210 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4f74fbfd06
Avoided aliasing problem when creating child deployers by creating a new HashMap and adding all parents entrys rather than just referring to parents copy (which could lead to you altering the parents copy accidently)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271208 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7e3c520606
Add a final
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271207 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
87e5816099
Test that tools.jar is included when you declare a dependency on it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271205 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a1e045b36e
Fake tools.jar as an optional package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271204 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
65c27bc2ad
Add in a TypeFactory that will reload a specified set of URLs everytime create() is called which allows statics to be used in tasks if they absolutely have to be
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271201 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3dc620ea92
Made it possible to subclass the TypeFactory and use different strategies for getting ClassLoader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271200 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
49e74b1e52
Use indirection to get ClassLoader.
Make sure the ClassLoader passed in via constructor is not null - if it is throw a null pointer exception then to help draw out source of error.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271196 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
36a0800e7e
Style touchups
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271189 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a13ad7eb72
sort imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271188 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fa9401b00e
Some cleanups suggested by audit task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271187 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d58f3cf424
Add a simple if task that will eventually help with ant1.x compat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271185 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
52c8bfeecf
Make all roles exposed as the classname via runtime lookup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271184 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6eff531b8d
Make role exposed as the classname
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271183 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a13868434f
Expose Roles that are the same as the classname
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271182 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
014cf44f15
Put frame into CM making it accessible as a Service.
This is an ugly hack to enable faster evolution. Will be removed in the future.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271181 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e8e790834d
Made frame implement Component
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271180 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
70d058372a
Avoid audit violation by removing unused field
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271179 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
87c6f1a9ce
Move patch task into a type library
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271176 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
2b0c8d45ef
Got rid of some audit violations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271170 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
628681c0ca
Make accessor method public (UGLY HACK WARNING!) for time being until tasks are more fully migrated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271121 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
04d2203de8
zap whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271120 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f20fc56a10
Add a constructor to Execute2 that takes the ExecManager service
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271119 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
27b4ff64f0
Move the delete, touch and mkdir tasks into antlib. CLean and refactor each task to make sure is closer to code-normalized. Also make sure all the messages are capable of being i18n'ed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271115 13f79535-47bb-0310-9956-ffa450edef68
24 years ago