Stephane Bailliez
778a6800cf
Use a wrapper for exceptions rather than the full stacktrace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271354 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
5c43f6c93e
Quick fix about naming.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271353 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4ffd54fee4
Remove unused local variable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271352 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
271c73b91c
Allow -sourcepath for <javac> to be set explicitly.
PR: 5268
Submitted by: Alex Rosen <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271351 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d880f3fef6
Make Ant work with the AElfred parser which doesn't like to be used
via SAX 1.
Submitted by: Andreas Voegele <voegelas@studenten.ims.uni-stuttgart.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271350 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1ef4d3ea86
Submitted by: Jon Skeet <jon.skeet@peramon.com>
Jon's message:
There is one small code change (which may very briefly reduce the
footprint of Ant by about 3K :) and two comments which suggests further
code changes (look for XXX). The rest is, I believe, entirely comments.
I've:
o Made sure that all occurences of null/true/false are surrounded by
<code></code>
o Wrapped comments to under 80 columns (in some ways this is more
important than wrapping code)
o Made sure that all fields and methods have JavaDoc documentation.
o All used method parameters are documented, including documentation of
whether they can be null or not
o All return types are documented
o All checked exceptions are documented
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271349 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2976ded16a
Handle badly configured tasks created outside of Ant's core
PR: 6309
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271348 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
219123401e
Temporarily delete file - will readd later
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271347 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
1b9d7fdf9b
Zap Marker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271343 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0c1e2fd104
Fix compile error
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271342 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
80f4e65718
Remove unused exec classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271341 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
60dae1e176
Write to system.out by default because that gets redirectted to task anyhow
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271340 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
915968627a
Move body of addLine into this class rather than delegating and temporarily commented out markers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271336 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
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
Stefan Bodewig
0ec06feed1
I took the time to write a simple shell script to audit Copyright
lines, and now it is paying of ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271314 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
Conor MacNeill
bbf5ec8b44
Improve coverage of manifest unit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271308 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
fa3f35098e
Maybe this will help as well.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271307 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
a533063b71
Apply a band-aid to a nasty open wound.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271306 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