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
Stephane Bailliez
b9ab19b18b
Fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271272 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
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
e055d2d5ad
Remove some unused cruft
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271267 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
1a0e2e46bc
All logging will be routed via System.err or System.out if there is no ExecOutputHandler defined.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271262 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
5de5749977
Add some more minor tests for filteredcopy ...
really got to copy across the ant1.x task testing infrastructure ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271260 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1ce3b5124e
Comment out creator for the time being
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271259 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
f52a735cfa
Remove dummy javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271257 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f588bebd5c
Remove unused variables
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271256 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
ab27c9f4e1
Adding javadocs for the main methods that testcases are likely to call
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271255 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
72463ee29f
Excluding MAuditParser test when appropriate. Sorry Steve.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271254 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
377843f5f1
No need to exclude ide package anymore as it no longer exists. And copy across all files that aren't .java files post-build.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271251 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
Erik Hatcher
27a9448849
sorry.... fat fingers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271249 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
b720f6461e
Documenting a feature that had been previously added (oops!).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271248 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
ef5da3ccff
- remove useless object creation
- do not modify formal parameter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271247 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
968b173a27
Fix violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271246 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
81973008d1
Fix array declarator
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271245 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
2b409474f1
Delete old copy task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271243 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e737c9abd1
No longer need old move task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271242 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
78a7fbf3d9
Started some massive refactoring of the Manifest classes so that eventually they can be completely decoupled from ant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271240 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0595affdf0
Simple demo for copy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271239 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
cd09b730bf
Add some basic examples of how to use try-catch task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271237 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
fedc2287b5
Too tightly coupled to ant1 to run in ant2 so zap them for now and come back to it later.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271235 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
Stephane Bailliez
1e67240862
Access static method via class and not the object
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271232 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
532d0a479e
- Add an helper method to write directly a document
as UTF8 from a stream.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271231 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
45287716c9
Easy way to test the Audit parser.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271230 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
4fbdadb171
Missed commit for this one.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271229 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
3b349325f1
Refactored handler by extracting specialized parser class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271228 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
Stephane Bailliez
8af1905a98
- Added rulespath to Audit to use customized rules.
- Fix Audit messages to remove fullpath in it. It
won't work on references though.
- Fix MAudit handler to print stderr as well so
that a missing agent or invalid options return
a message.
- Enhance options to reflect those available also
in Webgain QA 2.1.2+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271226 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
271e0fe6fc
Add descriptions to some targets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271225 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
77f2c0563f
Put the old cruft back in (and devote some otherwise better-used energy
on cleaning it up).
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271224 13f79535-47bb-0310-9956-ffa450edef68
24 years ago