Peter Donald
3348a18a7d
Removed uneeded property expansion
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270438 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
be1eba8bf7
Made members private, removed redundently specified "this." and did not try to replace values when adding properties as Ant2 will be fully dynamic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270437 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e2288433da
addText() --> addContent()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270436 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1a1e1bda8d
EchoLevel no longer used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270434 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
13e99fc91b
Echo no longer handles log messages - only useful for writing to files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270433 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2420213e0e
Remove redundent super() call in constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270432 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8090e7a1d4
Add a target to help debug the new level enum of log task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270431 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f6658e93e0
Update to make constants conform to proper naming standards
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270430 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
17df286f98
Move DTDLocation inner class to top level class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270429 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4123acf5ed
Update to use getLogger().<method>() rather than log()
Move EchoLevel inner class to top level class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270428 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c2c546cdb3
Path no longer takes a project object in the constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270427 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c7017ddd8e
Update to reflect new LogOutputStream interface
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270426 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
033b06ad4c
Update excalibur to fix ClassLoader issue when tasks call back into container with their ContextClassLoader set and the COntainer has yet to load resources. This will then use wrong classloader.
Fixed version will always use the supplied ClassLoader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270425 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ee5b9c7e25
Update classes so that Path no longer accepts a Project object in its constructor and there is no setProject in ProjectComponent objects
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270424 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
af3b6295b4
Use new format of LogOutputStream
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270422 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
766f01e626
Removed log() method as no classes use it anymore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270421 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
24c5d3e7cb
Moved MapperType inner class to top level class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270420 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4109d9eb05
Cleaned up Mapper and moved MapperType inner class to top level class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270419 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3612131a65
Move EchoLevel inner class to top level class
24 years ago
Peter Donald
76d232ed49
Update to use getLogger().<method>() rather than log()
Move EchoLevel inner class to top level class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270416 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5650a7f8d4
Remove log() statement and replace with getLogger().debug()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270415 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cb4b0a1e08
Update to use new format of LogOutputStream where you pass in a Logger
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270414 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c68a4ebc87
Remove filtering from rmic task because it didn't make much sense to do filtering there
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270413 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d052a7f47b
made method to create filters protected so it can be used by Move subclass
Removed all notion of setting log level as it is no longer used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270412 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
09da369046
Reuse subclasses method to create filters
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270411 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
771c04c147
Removed the ability of allowing pluggable log levels.
Refactored creation of filtersets into new method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270410 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
59526e7a67
Remove deprecated behaviour of using MatchingTask
Removed the ability of allowing pluggable log levels.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270409 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5205e1bb54
Update to use new format of LogOutputStream where you pass in a Logger
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270408 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ab7d2dee49
Update so that LogOutputStream takes a logger and boolean indicating what log level should be logged at.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270407 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c838d08144
Pass in streams to constructor rather than task + level. This allows it to be more easily configured for different tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270406 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
36091b14d3
Fix compile error that introduced when moved from Vector to ArrayList
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270405 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
74b3200d90
Move contentEquals method into FixCRLF as it is not used anywhere else
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270404 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0cdd9dd277
When a ConverterException occurs then fail convertion and configuration and re-wrap and throw exception
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270403 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7e1efb8223
Remove trailing newline
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270402 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
aaa47427c1
Make sure the error messages are all in resources bundle and are passed appropriate parameters.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270401 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2fc87ac96a
Update Log class so that it takes enums to specify the level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270400 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
91c816cbbb
A a class to hold enums for the level at which to log.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270399 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8393e92588
Add a converter that converts between strings and org.apache.avalon.framework.Enums. It is expected that the Enum class have two public static methods with the following signatures
BlahEnum getByName(String name)
(may return null or throw an IllegalArgumentException if bad name)
String[] getNames()
This is a replacement for EnumeratedAttribute that is more friendly to people who want to use enums programatically.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270398 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c347070e1d
Make shorter line
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270397 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ce85ba9cfe
Made sure that the MasterConverter verified that the slave converters return the correct type. If not then it will raise an exception.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270396 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f1ca327fe8
Made the MasterConverter search through the destination classes hierarchy to find a match for converter. This will allow a converter that converts to a specific superclass also work for all subclasses.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270395 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0b8da0cb29
Turned off extreme debugging
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270394 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
669a7eae15
Start updating logging to myrmidon style logging
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270367 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
96f9a81fa6
Cleaned up code and gradually moving towards myrmidon patterns
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270365 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
77bc053aa7
Made GroupArgument a top level class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270364 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
898a4c0716
Moved javadoc into package org.apache.tools.ant.taskdefs.javadoc and broken it up to remove all the inner classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270363 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
255020c002
Fix up license banner.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270362 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3ddf07367d
Fix up license banner.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270361 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fca2ea7857
Add in default implementation of ExecuteManager. It takes over most of the responsibilities of Execute except that it does it in a more easily evolvable manner.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270360 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
33c937a716
Set the output streams to Execute via setters not via constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270359 13f79535-47bb-0310-9956-ffa450edef68
24 years ago