February 2002 Commit Log

Number of Commits:
574
Number of Active Developers:
11
stevel 2002-02-28 22:40

logo on start page, bit of troubleshooting on the feedback page before the mail list; platform issues page

125 lines of code changed in:

umagesh 2002-02-28 22:03

Fix javadoc.

3 lines of code changed in:

umagesh 2002-02-28 21:59

1. ExpandProperties filter introduced as envisioned by Steve.

2. String readFully(Reader) added to FileUtils.java (main trunk revision 1.13)

3. Doc changes

4. Removed the attribute evaluateproperties from <loadfile> as it is no longer necessary.

123 lines of code changed in:

stevel 2002-02-28 21:58

for IE and Konqeror

0 lines of code changed in:

stevel 2002-02-28 21:57

the artwork. Also as a windows icon

0 lines of code changed in:

umagesh 2002-02-28 19:48

Use StringBuffer to assemble String.

8 lines of code changed in:

umagesh 2002-02-28 19:43

Split processStream into two methods to facilitate streamed reads...

Reader getAssembledReader()

String readFully(Reader)

17 lines of code changed in:

umagesh 2002-02-28 19:21

Skip must use this.read() and not in.read() - Thanks, Adam, for catching this.

1 lines of code changed in:

umagesh 2002-02-28 19:16

Misplaced null check.

9 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: LoadProperties.java (+9 -8)
umagesh 2002-02-28 19:12

As suggested by Adam, use java.util.Properties.load(InputStream) instead of reinventing the wheel.



Introduced a new class - StringInputStream

14 lines of code changed in:

stevel 2002-02-28 18:45

explain why you cant delete *~ so easily

6 lines of code changed in:

jskeet 2002-02-28 18:35

Fixed (another) problem of <tt>...<tt> screwing up the rest of the page.

1 lines of code changed in:

jskeet 2002-02-28 18:33

Fixed problem of <tt>...<tt> screwing up the rest of the page.

1 lines of code changed in:

stevel 2002-02-28 18:26

doc improvements

15 lines of code changed in:

umagesh 2002-02-28 18:23

Refactored code (as suggested by Costin and Adam) - first run.

1. Moved ChainReaderHelper.java to filters/util

2. Moved setInitialized, getInitialized to base class.

3. Introduced BaseParamFilterReader that implements Parameterizable and has setParameter

4. Null check introduced for LoadFile

5. Convenience method readLine() introduced into BaseFilterReader.

142 lines of code changed in:

jskeet 2002-02-28 15:23

JavaDoc comments.



Also added a query about the use/otherwise of wrappers when

it comes to adding text - search for XXX to find the details

597 lines of code changed in:

bodewig 2002-02-28 12:39

Now that we know why the test worked all these month, make it work

again, this time documenting the reason.

10 lines of code changed in:

  • docs/manual/CoreTasks: ant.html (+1 -1)
  • src/etc/testcases/taskdefs: gzip.xml (+1 -1)
  • src/main/org/apache/tools/ant/taskdefs: Pack.java (+7 -2)
  • src/testcases/org/apache/tools/ant/taskdefs: GzipTest.java (+1 -3)
jskeet 2002-02-28 10:30

Added reference to the <tag> option in JavaDoc.

(Is this the correct position? Someone hit me with a cluestick if I should

have added it at the top of the section or in a different section.)

4 lines of code changed in:

stevel 2002-02-28 07:58

one value of xdoclet based documentation is we wont have docs that are different from what the task really supports

1 lines of code changed in:

  • docs/manual/CoreTasks: ant.html (+1 -1)
bodewig 2002-02-28 07:43

disable test case that could have never passed (but strangely did for

several months).



Oh, yes, in case I haven't said so yet: Happy new year everybody.

26 lines of code changed in:

adammurdoch 2002-02-28 04:49

* Started writing up the VFS and the data types.

* Moved selectors into their own package.

* Added <is-empty> selector.

633 lines of code changed in:

ehatcher 2002-02-28 03:53

this gets rid of some XDoclet warnings.

23 lines of code changed in:

ehatcher 2002-02-28 03:51

removed mandatory requirement for category (at least for now)

3 lines of code changed in:

ehatcher 2002-02-28 03:45

Changes by Bill Burton to collect tasks into categories rather than package space. Very cool, thanks!

34 lines of code changed in:

ehatcher 2002-02-28 03:43

made it easier to short-circuit and only run one class, no need to prefix package info

12 lines of code changed in:

umagesh 2002-02-28 01:48

1. Move a couple of common methods to an abstract base class.

2. Javadoc

300 lines of code changed in:

umagesh 2002-02-28 00:44

Empty line check inserted.

6 lines of code changed in:

holtdl 2002-02-28 00:01

Make the return code match the naughty exit.

PR:

Obtained from:

Submitted by:

Reviewed by:

1 lines of code changed in:

  • src/script: ant (+1 -1)
holtdl 2002-02-27 23:45

Add new 'listfiles' attribute to allow for listing the source files being

handed off to the compiler.

PR:

Obtained from:

Submitted by:

Reviewed by:

24 lines of code changed in:

umagesh 2002-02-27 21:51

Oops... missed adding this as well.

27 lines of code changed in:

umagesh 2002-02-27 21:51

Oops... missed adding this.

0 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/types: FilterChain.java (new)
umagesh 2002-02-27 21:50

FilterReaderSet -> FilterChain as this is more representative of the collection.



Documentation updates.

49 lines of code changed in:

umagesh 2002-02-27 20:59

Add License.

217 lines of code changed in:

umagesh 2002-02-27 20:48

CloneableReader -> ChainableReader

Reader clone(Reader) -> Reader chain(Reader)

21 lines of code changed in:

umagesh 2002-02-27 20:41

1. Provide a mechanism by which filter readers recognized by Ant's core (FilterreaderSet) can have a better syntax.



2. Remove double-quotes from javadoc and replace with &quot;

538 lines of code changed in:

ehatcher 2002-02-27 20:37

open 'er up! lets just see what shakes out from this.

1 lines of code changed in:

ehatcher 2002-02-27 20:36

XDoclet fun!



These are harmless Javadoc comment additions for use with the proposal/xdocs runs.

114 lines of code changed in:

ehatcher 2002-02-27 19:39

Fixed some issues with defaults.properties generation. Fixed issue with build having to be run twice because of directory being removed from the path (*arg*!).

73 lines of code changed in:

umagesh 2002-02-27 18:14

Provide a mechanism by which filter readers recognized by Ant's core (FilterreaderSet can have a better syntax.



For example, HeadFilter can be added to filterset as this:



<filterreaderset>

<filterreader classname="org.apache.tools.ant.HeadFilter">

<param name="lines" value="3"/>

</filterreader>

</filterreaderset>



or this:



<filterreaderset>

<headfilter lines="3"/>

</filterreaderset>

108 lines of code changed in:

bodewig 2002-02-27 16:36

clean up at the end of execute so that this instance can be reused.

3 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Copy.java (+3)
adammurdoch 2002-02-27 13:19

Added more stuff to the todo list.

151 lines of code changed in:

  • proposal/myrmidon/docs: todo.html (+78)
  • proposal/myrmidon/src/xdocs: todo.xml (+73)
adammurdoch 2002-02-27 12:05

Changes to the VFS data types:



* Added FileSelector interface.



* <v-fileset> now takes file selectors, instead of include and exclude patterns.



* Added a bunch of file selector implementations:

* <and>, <or>, <not> for combining selectors.

* <name>, <basename>, <url> for testing bits of the file name against

an Ant 1 style pattern, or a regular expression.

* <is-file>, <is-folder>, <exists> for testing file type.



* Added <flat-fileset>, which combines nested file sets and paths into a

single directory. This allows explicit path -> fileset conversion.



* Added <filtered-path>, which applies selectors to nested file sets and paths.



* Added <list-fileset> debug task.

44 lines of code changed in:

adammurdoch 2002-02-27 11:38

Added support for the @ant:type tag, for general-purpose type definitions.

8 lines of code changed in:

bodewig 2002-02-27 10:54

assert that gzip's new uptodate check also affects bzip2.



2002

18 lines of code changed in:

jskeet 2002-02-27 09:26

Temporary zip files used for update weren't being deleted, as doUpdate is reset during cleanUp.

8 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Zip.java (+8 -8)
stevel 2002-02-27 09:02

time checking on gzip, with tests.

submitted by Jeff Martin <jeff@custommonkey.org>

39 lines of code changed in:

costin 2002-02-27 06:56

Added the TaskFactory and modified Project.



This is not organized as a 'project' - the files here needs to replace

the ones in the main tree. I'll probably import the rest of the core

and make it a standalone replacement, so it's easy to review.



The goals are to:

- make ant more 'embeddable'

- integrate it better in other tools

- support SAX2 and namespaces

- support pluggable behavior for the XML reader

- support pluggable task factories - the factory will have full control

over the class loader

- better support and integration with existing java beans.



All that while maintaining full compatibility with ant1.4 - all

the code here is just an additional set of hooks, with the previous

behavior preserved and remaining as default.



Eventually this can be refactored into a standalone component

that will implement a task engine for ant1.x.

26 lines of code changed in:

ehatcher 2002-02-27 05:30

Simple harmless change to demonstrate the xdocs proposal. Sorry, Jon, if this causes javadoc warnings.



Many other tasks have been modified similarly (only ones with different task names than classnames have the name="...") - but only committing this one until full approval.

3 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Exit.java (+3 -1)
ehatcher 2002-02-27 05:26

First pass at XDoclet generation of Ant task documentation.

(sorry for the multiple commits, still getting a lock error on big commit attempts)

178 lines of code changed in:

ehatcher 2002-02-27 05:25

First pass at XDoclet generation of Ant task documentation.

14 lines of code changed in:

adammurdoch 2002-02-27 01:24

Some doco updates.

1115 lines of code changed in:

adammurdoch 2002-02-26 23:26

Changes to <property>:



* No longer implements Configurable, uses a set() method instead.



* The property value can be included as the text content of

the <property> element.



* Added test-cases.



* Added some alternative executeTarget() methods to

AbstractProjectTest, to expect a particular set of log messages,

or a particular failure.

191 lines of code changed in:

adammurdoch 2002-02-26 23:21

Error message tidy-ups.

43 lines of code changed in:

adammurdoch 2002-02-26 23:19

All that effort to get the right context, and it wasn't even being used.

0 lines of code changed in:

bodewig 2002-02-26 16:39

<style> tried to tranform all children of directories that matched the

include patterns - even children that are themselves directories.



Throw in a check that the thing we want to transform is not a

directory and an attribute to avoid this non-standard (among directory

based tasks) behavior.

47 lines of code changed in:

jskeet 2002-02-26 15:25

Fixed problem which gave (on Windows) output such as:



[java] First line of real output

[java]

[java] Second line of real output

[java]

18 lines of code changed in:

conor 2002-02-26 13:43

Make Ant1 containers work in mutant. Provide mutant versions of parallel and

sequential

62 lines of code changed in:

jskeet 2002-02-26 12:42

Invalid scope parameters now throw exceptions.

Repeated scope elements generate verbose messages.

14 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Javadoc.java (+14 -21)
conor 2002-02-26 12:16

Make message about dropped classpath elements verbose instead of a warning.

1 lines of code changed in:

  • src/main/org/apache/tools/ant/types: Path.java (+1 -1)
jskeet 2002-02-26 10:39

Added tag option documentation.

44 lines of code changed in:

bodewig 2002-02-26 10:32

forgot to adapt the interactive test case

4 lines of code changed in:

bodewig 2002-02-26 10:29

Add explicit requirements to the handleInput method.



Minor optimization of PropertyFileInputHandler.



Use magic property name ant.input.properties instead of

input.properties to conform with our unofficial magic property naming

convention.



Use valid choices in prompt (DefaultInputHandler only) if we have a

MultipleChoiceInputRequest.



Port old <input> testcase over to this proposal.

122 lines of code changed in:

jskeet 2002-02-26 10:23

Added todo tag to javadoc task so that JavaDocs will now build

them appropriately.

1 lines of code changed in:

jskeet 2002-02-26 10:17

Put @todo tags back in now that there's support for them.

6 lines of code changed in:

bodewig 2002-02-26 10:11

Add an attribute to avoid <junit>'s classpath magic.

42 lines of code changed in:

jskeet 2002-02-26 10:00

Added support for the -tag option in JavaDoc 1.4

196 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Javadoc.java (+196 -1)
bodewig 2002-02-26 09:52

As long as Stephane has disbaled it, this test will always fail.

1 lines of code changed in:

bodewig 2002-02-26 08:57

grmbl

1 lines of code changed in:

bodewig 2002-02-26 08:47

committing the shell script that has replaced "cvs update -dP" for me.

114 lines of code changed in:

sbailliez 2002-02-25 20:01

GUMP Experiment.

As Stefan noted, the context classloader is probably causing trouble with JAXP.

Disabled for now just to see the result of the next run.

2 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs/optional/junit: JUnitTask.java (+2 -2)
jskeet 2002-02-25 17:59

JavaDoc comments.

25 lines of code changed in:

bodewig 2002-02-25 17:38

2002, 2002, 2002, 2002

38 lines of code changed in:

bodewig 2002-02-25 16:10

Simple input framework proposal, see proposal/sandbox/input/README or

wait for my mail.

335 lines of code changed in:

jskeet 2002-02-25 15:33

First pass of JavaDoc work just to get rid of warnings.

When this is complete, whole source tree should JavaDoc (with 1.4)

with no warnings. (With JDK1.3.1 the 1.4-regexp stuff generates

warnings, but that's all.)

29 lines of code changed in:

jskeet 2002-02-25 15:21

First pass of JavaDoc work just to get rid of warnings.

When this is complete, whole source tree should JavaDoc (with 1.4)

with no warnings. (With JDK1.3.1 the 1.4-regexp stuff generates

warnings, but that's all.)

78 lines of code changed in:

jskeet 2002-02-25 15:10

First pass of JavaDoc work just to get rid of warnings.

When this is complete, whole source tree should JavaDoc (with 1.4)

with no warnings. (With JDK1.3.1 the 1.4-regexp stuff generates

warnings, but that's all.)

46 lines of code changed in:

conor 2002-02-25 13:28

IMplement DemuxOutputStreams to capture System.out and System.err usage

265 lines of code changed in:

adammurdoch 2002-02-25 11:09

* Add a converter to convert from <v-fileset> to <v-path>, rather

than doing so in the default <v-fileset> or <v-path> implementations.



* Add test <v-list-files> task.

10 lines of code changed in:

bodewig 2002-02-25 11:03

Add encoding attribute to copy/move so that filtered operations work

on encodings different than the platform's default as well.



PR: Christopher Taylor <cstaylor@nanshu.com>



some year 2002 fixes.

95 lines of code changed in:

adammurdoch 2002-02-25 10:42

Replaced usage of Avalon Context with Myrmidon specific Context:



* Moved read-only property and resolve methods from TaskContext to new Context

interface. TaskContext now extends the new Context interface.



* Changed the Configurer methods to use the new Context. Both implementations

use the supplied Context to do property resolution.



* Renamed TaskContext.getPropertys() -> getProperties().



* Moved PropertyUtil from configurer to workspace package, as that is now

the only place it is used.



* Changed PropertyUtil to work with the new Context.



RoleManager:



* A default implementation for a role can now be specified. Currently

can only do this programatically.



DefaultMasterConverter:



* Removed MasterConverter interface. It is now identified by the Converter

role.



* Now caches the converter instances.



* Changed the converter search algorithm to traverse the *source* class

hierarchy, including all interfaces. Chooses the most specialised

conversion, and fails if there is more than one such choice.



DefaultConfigurer:



* Attempts to convert references, if the type does not match the expected type.



* Changed handling of nested elements, for named adders/setters:

* If the method type can be mapped to a role, and that role has a default

implementation, then use that default implementation.

* Otherwise, if the method type is an interface, fail.

* Otherwise, create an instance using no-args constructor.



* Changed handling of nested elements, for typed adders/setters:

* If the method type can be mapped to a role, and the element name is

a type of that role, then use that role to create the instance.

* Otherwise, use the type factory for the generic data-type role.

* Attempt to convert the instance if it is not of the expected type.



* Added a bunch of test cases for new functionality.



* Renamed all the ConfigTest classes to have descriptive names.



Misc:



* Renamed package framework.factorys -> framework.factories.



* Made tests work when fork = false.

748 lines of code changed in:

adammurdoch 2002-02-25 09:47

Get rid of unused import.

20 lines of code changed in:

jskeet 2002-02-25 08:27

Removed redundant static method which caused compilation failure.

0 lines of code changed in:

conor 2002-02-25 04:33

Make ParallelTest work on Windows

2 lines of code changed in:

conor 2002-02-25 04:32

Allow tests to be run behind a firewall by specifying -Doffline=true

7 lines of code changed in:

sbailliez 2002-02-24 14:45

Message has been changed from "default constructor" to "no-arg constructor" in Project.

3 lines of code changed in:

jskeet 2002-02-24 08:57

JavaDoc comments.

340 lines of code changed in:

jskeet 2002-02-24 08:56

JavaDoc comments.



Note that the comments for setProject say that only Project should use this method - whereas there are *lots* of uses outside Project...

15 lines of code changed in:

jskeet 2002-02-24 08:54

JavaDoc comments.



Also changed message containing "default constructor" to "no-arg constructor" in checkTaskClass.

687 lines of code changed in:

adammurdoch 2002-02-24 07:52

Was using wrong error message.

1 lines of code changed in:

adammurdoch 2002-02-24 07:43

Removed AntServiceManager:



* Renamed DefaultAntServiceManager to InstantiatingServiceManager. This

implementation now sets-up the service factories and service instances

(log enable, service, parameterise, initialise).



* Rearranged the service heirarchy, so that services deployed from a

service descriptor are visible in the root context (passed to workspaces

and project builders).



* Service factories are registered using the role name, not the role class name.



* Added unit tests for InstantiatingServiceManager.



Changes to DefaultConfigurer error messages:



* All exceptions thrown by DefaultConfigurer indicate which configuration

element the error happened in.



* Updated DefaultConfigurer test cases, to check nested error messages

where appropriate.

322 lines of code changed in:

adammurdoch 2002-02-24 07:37

Fix message.

1 lines of code changed in:

ehatcher 2002-02-24 04:18

Added documentation for the new prefix attribute

6 lines of code changed in:

umagesh 2002-02-24 04:08

1. Addition of new filter reader "LineContains"

2. Javadoc changes to use &lt; and &gt; instead of < and > characters

3. Removal of debug statement from ChainReaderHelper

23 lines of code changed in:

umagesh 2002-02-24 03:36

type is more appropriate than name in this case.

6 lines of code changed in:

umagesh 2002-02-24 02:35

Filter Reader that strips out those lines that begin with a comment tag.

14 lines of code changed in:

umagesh 2002-02-24 01:58

Remove unused imports.

0 lines of code changed in:

umagesh 2002-02-24 01:57

Use classpath of AntFilterReader if available.

19 lines of code changed in:

umagesh 2002-02-24 01:56

Stefan's prediction coming true: AntFilterReader has its own classpath attribute and nested classpath element.

52 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/types: AntFilterReader.java (+52 -12)
ehatcher 2002-02-23 20:42

Added 'prefix' option to <property>. Designed to only work when loading a property file or resource.



Sorry for the multiple commits - got a lock error when trying all files at once

3 lines of code changed in:

ehatcher 2002-02-23 20:42

Added 'prefix' option to <property>. Designed to only work when loading a property file or resource.

43 lines of code changed in:

umagesh 2002-02-23 17:36

Use a helper class to process chained readers.

37 lines of code changed in:

stevel 2002-02-23 09:37

added logging of build file/target in verbose mode; surprised it wasnt there already.

4 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Ant.java (+4)
umagesh 2002-02-23 03:29

FilterReaderSet aware task to load Ant properties.

105 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: LoadProperties.java (new 105)
umagesh 2002-02-23 03:28

A filter that attaches a prefix to every line of data read.

4 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters: PrefixLines.java (new 4)
costin 2002-02-22 23:28

Checking in the modified ( and new ) files.



Most of the functionality in Main is moved into AntBean ( all public/protected

methods are now wrappers around AntBean's functionality, for backward compat).



Same in ProjectHelper - again, for backward compat the public/protected functions

are unchanged, old code can still call the old methods and get similar behavior.





In TaskAdapter - few improvements ( still more to go ) to allow a program

to control tasks that are in a child loader. That's extremely important to

get ant embeded and controlled in a programatic way ( Project may create

tasks in a child class loader, so casting will fail - the only way

to use them is by using introspection ). I've also added the ability

to 'adapt' beans that have multiple methods, not only execute()



Please review, try, let me know when I can commit it.

276 lines of code changed in:

stevel 2002-02-22 18:00

info on loadfile and echoproperties

9 lines of code changed in:

bodewig 2002-02-22 15:38

Move the <exclude> patterns for <javac> and <junit> to external

patternsets so that they are in one place instead of repeated up to

three time.



update link for BSF.



Add pointer to JDepend in the Library Dependencies section.

251 lines of code changed in:

bodewig 2002-02-22 13:33

jdk 1.1 compatibility

2 lines of code changed in:

conor 2002-02-22 13:01

Do not require tar files to be in ustar format. Old V7 format should now

be handled. The main difference is in the handling of uid vs uname which

isn't that relevant to Ant anyhow.



PR: 6634

4 lines of code changed in:

bodewig 2002-02-22 10:51

Start factoring out the exclude patterns from <javac> and <junit> into

a single place - realized that the sitraka stuff requires TraX to

compile.

17 lines of code changed in:

bodewig 2002-02-22 09:20

year 2002 squad at work.

3 lines of code changed in:

stevel 2002-02-22 08:29

Utility task to list all your current properties along with unit tests, as written by Matt Albrecht . Added a prefix to save a subset of the properties for the very silly. Left it in optional.jar although it has no dependencies.

394 lines of code changed in:

stevel 2002-02-22 06:45

minor tweaking

3 lines of code changed in:

stevel 2002-02-22 06:44

bit more detail on dependencies

9 lines of code changed in:

ehatcher 2002-02-22 01:56

Added blurbs about <propertyfile>. The "never" removal may change before release, depending on feedback from this change.

6 lines of code changed in:

ehatcher 2002-02-22 01:53

Here goes: propertyfile refactoring to hopefully fix all outstanding issues with it. "now" and "never" were removed as operations (didn't make sense). "never" was removed as a value (it caused a null pointer exception anyway).



Other code cleanup (axing "m_" prefixes).



Added "unit" attribute to <entry> defaulting to DAY. This was essentially the previous default, but it was far too confusing.



Test cases beefed up to consider several scenarios.



There may be more changes needed to satisfy other use cases, and certainly some previous (undocumented) behavior has been changed (for the better!).



Is there a use-case for "never" as a value?

328 lines of code changed in:

bodewig 2002-02-21 16:52

Add pointer to TIM



Submitted by: Mark Griffiths <mark@chive.com>

103 lines of code changed in:

conor 2002-02-21 15:38

Tests and fixes for the DemuxOutputStream

1. New tests for the DemuxOutputStream and parallel task

2. Fix for the DemuxOutputStream thread problem identified by Jon Skeet

3. Found additional bug where UnknownElement does not hand output and error

strings onto the real task



A little bit of checkstyling.



Hmmm, really should be in bed.

213 lines of code changed in:

bodewig 2002-02-21 15:28

Add pointer to Dylan Schiemann's little Ant and Javascript tutorial.

57 lines of code changed in:

bodewig 2002-02-21 12:56

Make sure <>& are properly encoded in the attributes of the generated

HTML - not that any browser would care.



Fix page titles while I was at it.

15 lines of code changed in:

adammurdoch 2002-02-21 12:52

Changes to RoleManager:



* A class may now be explicitly associated with a role, rather than being

implicit in the role name.



* Added RoleInfo to bundle up role meta-info.



* Reworked the methods of RoleManager.



* Added test-cases for DefaultRoleManager.



* Make tests compile again.

248 lines of code changed in:

bodewig 2002-02-21 12:41

add pointer to miniRMI.

120 lines of code changed in:

donaldp 2002-02-21 11:06

Rename myrmidons ServiceManager stuff to AntServiceManager



Refactored the codebase to use Avalons ServiceManager rather than ComponentManager. The reason for this is that the ComponentManager required that contained objects implement the Component interface while the ServiceManager constructs do not have this requirement.



This makes it much easier to extract parts of Myrmidon without any dependency on Ant/Avalon

247 lines of code changed in:

donaldp 2002-02-21 11:03

Make class Resolvable so that converters get direct access to the underlying TaskContext

8 lines of code changed in:

donaldp 2002-02-21 10:55

Update xdoclet script to reflect new location of Converter interface

1 lines of code changed in:

donaldp 2002-02-21 10:16

Moved Converter architecture into aut hierarchy as it is completely decoupled from rest of ant

55 lines of code changed in:

bodewig 2002-02-21 10:00

<path> is not a task but a data type - and all data types can be used

outside of targets.



<typedef> is another task that may be used outside of targets.



I "fixed" that by replacing path with typedef in Steve's text, but we

really should talk about data types here as well - unfortunatley we

don't talk about data types in the manual at all, so it takes a bigger

effort.



Some year 2002 bugs.

3 lines of code changed in:

donaldp 2002-02-21 09:45

Update to latest converter architecture

12 lines of code changed in:

donaldp 2002-02-21 09:41

Make tasks extend AbstractTask directly not via Task

152 lines of code changed in:

donaldp 2002-02-21 09:41

Ugly hack to remove references to Project

22 lines of code changed in:

  • proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs: Filter.java (+11 -4)
  • proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs: Filter.java (+11 -4)
donaldp 2002-02-21 09:40

Make adapter extend AbstractTask

4 lines of code changed in:

donaldp 2002-02-21 09:40

Remove unused method

0 lines of code changed in:

donaldp 2002-02-21 09:39

getPropertys from new TaskContext method

22 lines of code changed in:

donaldp 2002-02-21 09:39

Fix javadoc errors

4 lines of code changed in:

  • proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/archive: Expand.java (+2 -2)
  • proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/archive: Expand.java (+2 -2)
donaldp 2002-02-21 09:38

No need to extend AbstractTask

2 lines of code changed in:

donaldp 2002-02-21 09:37

ContextException - lets kill you!

6 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/framework: Condition.java (+6 -26)
donaldp 2002-02-21 09:37

Ugly hackity hack owrapping TaskContext to make it an Avalon context.



Need to define a clean interface to export to Container object that is basically a facade and takes care of all this

5 lines of code changed in:

donaldp 2002-02-21 09:36

Use Adaptor so that TaskContext appears as an Avalon Context

3 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/components/executor: DefaultExecutor.java (+3 -1)
donaldp 2002-02-21 09:35

Add an adaptor so that the TaskContext will still apear as an Avalon COntext to the Configurer

1 lines of code changed in:

donaldp 2002-02-21 09:35

Some messages

4 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer: Resources.properties (+4 -1)
donaldp 2002-02-21 09:35

Remove unused import

0 lines of code changed in:

donaldp 2002-02-21 09:34

No need to import old propertyutil

0 lines of code changed in:

donaldp 2002-02-21 09:34

Remove CascadingException references

18 lines of code changed in:

donaldp 2002-02-21 09:33

Add a PropertyUtil class that doesn't need avalons Context

0 lines of code changed in:

donaldp 2002-02-21 09:30

Updated TaskContext imp[lementation to reflect new interface

59 lines of code changed in:

donaldp 2002-02-21 09:29

add a getPropertys() method to context so that some tasks (like Junit) can grab a *copy* of all the propertys

7 lines of code changed in:

donaldp 2002-02-21 09:29

Made the TaskCOntext not extend avalons context interface

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/api: TaskContext.java (+1 -2)
donaldp 2002-02-21 09:28

Changed commented info message to debug priority

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/frontends: CLIMain.java (+1 -1)
donaldp 2002-02-21 09:27

Reworked the ExecManager service so that the Execute adapter object becomes responsible for combining supplied env vars with native env vars if required

21 lines of code changed in:

donaldp 2002-02-21 09:25

Generalized the converter architecture by making the "context" a raw object that can be cast for the needs of a specific project



Thus converters are now independent of ant and avalon

19 lines of code changed in:

donaldp 2002-02-21 09:23

Remove old attempt at generalizing the converter architecture

0 lines of code changed in:

stevel 2002-02-21 07:08

bug Id 6601; deprecation warning.

4 lines of code changed in:

stevel 2002-02-21 06:39

being rigorous

3 lines of code changed in:

stevel 2002-02-21 06:25

little bit of extra detail on the example.

25 lines of code changed in:

stevel 2002-02-21 06:24

things to find out when you look at the source

4 lines of code changed in:

adammurdoch 2002-02-21 03:26

Added some experimental VFS data types and tasks: <v-path>, <v-fileset> and <v-copy>.

67 lines of code changed in:

adammurdoch 2002-02-21 03:23

* Added AbstractProjectTest, which allows a sub-class test case to execute

targets from project files.



* AbstractMyrmidonTest.getTestResource() now asserts that the resource exists.

28 lines of code changed in:

bodewig 2002-02-20 17:54

move all stuff that can only be compiled conditionally to optional.jar

40 lines of code changed in:

bodewig 2002-02-20 16:48

fix boundary checking problem similiar to the one fixed for bug report 4290



Actually this wouldn't throw an ArrayIndexOutOuBounds- but a

BuildException as FileList.getFiles barfs out on empty lists, but that

way it is more consistent.

3 lines of code changed in:

bodewig 2002-02-20 16:32

optimize dependset by not comparing each target with each source but

only the oldest target.



Submitted by: mrezaei@starpoint.com



I've also swapped the order of handling sourcefilesets and

sourcefilelists as filelists are a lot less expensive than filesets.

51 lines of code changed in:

bodewig 2002-02-20 14:54

@exception -> @throws



Submitted by: Jon Skeet <jon.skeet@peramon.com>

28 lines of code changed in:

conor 2002-02-20 13:43

Refactor configuration out of Frame into Component Manager

853 lines of code changed in:

bodewig 2002-02-20 12:35

Switch CLASSPATH back to Windows format in Cygwin.



Submitted by: Jeppe N. Madsen <jeppenm@worldonline.dk>

1 lines of code changed in:

  • src/script: ant (+1)
bodewig 2002-02-20 12:22

move method refactoring - applied in a way that keeps

IntrospectionHelper's API backwards compatible.



Inspired by: Jon Skeet <jon.skeet@peramon.com>

68 lines of code changed in:

bodewig 2002-02-20 11:53

simplify createAttributeSetter method.



Submitted by: Jon Skeet <jon.skeet@peramon.com>



Throw in some additional tests.

74 lines of code changed in:

adammurdoch 2002-02-20 11:31

* Renamed the template files.

* Added an <antlib-jar> task to the build, for Jar-ing up antlibs.

31 lines of code changed in:

bodewig 2002-02-20 11:28

add pointer to Krysalis Centipede



Submitted by: Nicola Ken Barozzi <barozzi@nicolaken.com>

120 lines of code changed in:

bodewig 2002-02-20 10:03

improve javadoc



Submitted by: Jon Skeet <jon.skeet@peramon.com>

260 lines of code changed in:

bodewig 2002-02-20 09:42

superflous line that wasn't meant to go into CVS

0 lines of code changed in:

bodewig 2002-02-20 08:57

exclude JUnitClassloaderTest if the test classes can be loaded from

the system classloader.



I'm afraid I didn't beat the nightly GUMP run, expect a nag mail 8-)

15 lines of code changed in:

bodewig 2002-02-20 08:36

Add a new <contains> condition that looks for substrings.



Names are open to discussion, of course.

200 lines of code changed in:

adammurdoch 2002-02-20 07:20

* Added test cases for DefaultEmbeddor.

* Target start and finish events are now fired for a project's implicit target.

* Unit tests now run against a dummy myrmidon install.

* Tidy-up some error messages.

283 lines of code changed in:

bodewig 2002-02-20 07:16

dreaded year 2002 bug 8-)

2 lines of code changed in:

bodewig 2002-02-20 06:51

add Henri's RPM signing key

16 lines of code changed in:

conor 2002-02-20 06:03

Small fix for default state of unset property handling

5 lines of code changed in:

holtdl 2002-02-20 01:44

Grrrf - meant to take out Description "task" (since it's not, it's a "type").

PR:

Obtained from:

Submitted by:

Reviewed by:

0 lines of code changed in:

holtdl 2002-02-20 01:20

So of course, I forget the big one (doh!).

PR:

Obtained from:

Submitted by:

Reviewed by:

1039 lines of code changed in:

holtdl 2002-02-20 01:16

Make things a bit easier for people to find -- hopefully, anyway :)

(And the usual sorts of while-I'm-here-type clean-up).

PR:

Obtained from:

Submitted by:

Reviewed by:

65 lines of code changed in:

sbailliez 2002-02-19 22:46

make it clear why it is excluded, it's better to read

it in this file than in the cvs log. :o)

4 lines of code changed in:

sbailliez 2002-02-19 22:43

exclude the JUnitClassLoader test for jdk < JDK1.2 since it uses the context classloader.

4 lines of code changed in:

sbailliez 2002-02-19 22:36

Testcase for PR 5006. Make sure to set the context classloader.

49 lines of code changed in:

sbailliez 2002-02-19 22:34

Make sure to set the context classloader to the AntClassLoader.

PR: 5006

Submitted by: mancarella@opoipi.bancaintesa.it (Stefano Mancarella)

5 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs/optional/junit: JUnitTask.java (+5 -3)
sbailliez 2002-02-19 21:56

Remove useless modifiers on interfaces.

Submitted by: Mariusz Nowostawski (mariusz@marni.otago.ac.nz)

39 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs/optional/sitraka/bytecode: ClassPathLoader.java (+2 -2)
  • src/main/org/apache/tools/ant/taskdefs/optional/sitraka/bytecode/attributes: AttributeInfo.java (+11 -11)
  • src/main/org/apache/tools/ant/taskdefs/optional/sos: SOSCmd.java (+26 -26)
bodewig 2002-02-19 17:29

Fix problems in Linux version of <cab>:



(1) it wouldn't use the basedir



(2) all diagnostic messages have been swallowed



Submitted by: Ilya A. Kriveshko <ilya@kaon.com>



Note that this patch needs the magic of Execute but also access to the

processes' standard input - this has been solved by adding a new

static method launch to Execute which hands out the Process instance,

the proper fix would be to handle input for the spawned processes as

well.

100 lines of code changed in:

bodewig 2002-02-19 16:48

<regularexpression> --> <regexp>

14 lines of code changed in:

bodewig 2002-02-19 16:17

Better handling of tasks that are wrapped in TaskAdapters - unwrap

InvocationTargetExceptions when they happen



PR: 5830



To test it I've enabled all tests for <condition>.

30 lines of code changed in:

bodewig 2002-02-19 15:22

improve example of manifest task.



Submitted by: hboutemy@business-village.fr

29 lines of code changed in:

conor 2002-02-19 15:12

Remove Unused import

PR:

Obtained from:

Submitted by:

Reviewed by:

0 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Zip.java (-1)
bodewig 2002-02-19 14:04

Add Package Version Specification in manifest files for ant.jat and

optional.jar



PR: 6180

34 lines of code changed in:

bodewig 2002-02-19 13:09

Ignore redefinition of datatypes if new and old class are the same.



PR: 6514

Submitted by: Peter Kristensen <pkr@netnord.dk>

11 lines of code changed in:

donaldp 2002-02-19 13:01

Remove excessive deprecation warnings.

0 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Zip.java (-14)
bodewig 2002-02-19 09:03

fix inconsistency in log levels.

1 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Zip.java (+1 -1)
bodewig 2002-02-19 07:51

please don't use <zip>'s file attribute

76 lines of code changed in:

holtdl 2002-02-19 03:26

Only use "value" in reference to the 'value' attr; use "oldIntValue" for

the old value from the prop file (0, if none); fix the comments as well.

(Oh right, and fix the damn copyright!)

PR:

Obtained from:

Submitted by:

Reviewed by:

21 lines of code changed in:

holtdl 2002-02-19 02:52

Fix the increment/decrement operations so they work whether or not

a 'value' attr was specified. (And fix a tiny spacing nit :)

PR:

Obtained from:

Submitted by:

Reviewed by:

23 lines of code changed in:

conor 2002-02-19 02:12

Bootstrap files for Windows users

35 lines of code changed in:

umagesh 2002-02-18 20:57

Add copyright header.

318 lines of code changed in:

umagesh 2002-02-18 20:56

Converts Tabs to Spaces.

0 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters: TabsToSpaces.java (new)
umagesh 2002-02-18 18:56

Oh! the horrors of cut-n-paste. Copyright should have been 2002.

2 lines of code changed in:

umagesh 2002-02-18 18:37

Answer the question: "So what are filterreadersets and filterreaders anyway?"

10 lines of code changed in:

ehatcher 2002-02-18 18:27

Applied documentation patches sent by Jon Skeet

462 lines of code changed in:

donaldp 2002-02-18 13:35

Make doclets behave the same way as other ClassPath loaded things in the presence of gump ... or at least thats what I think this patch does ? ;)

1 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Javadoc.java (+1 -1)
conor 2002-02-18 12:36

Mutant can now bootstrap itself

Upgraded to checkstyle 2.1

527 lines of code changed in:

donaldp 2002-02-18 09:14

Start simplifying so that metrics task does not complain as much

105 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/frontends: CLIMain.java (+105 -49)
donaldp 2002-02-18 09:08

Start simplifying so that metrics task does not complain as much

37 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/launcher: Main.java (+37 -16)
donaldp 2002-02-18 09:02

Inlined a large number of methods from AbstractTask

169 lines of code changed in:

donaldp 2002-02-18 09:02

Start simplifying so that metrics task does not complain as much

52 lines of code changed in:

bodewig 2002-02-18 08:55

Antlib proposal Second installment



Submitted by: Jose Alberto Fernandez <j_a_fernandez@yahoo.com>

664 lines of code changed in:

donaldp 2002-02-18 08:52

Remove unused variable - the correct one this time

12 lines of code changed in:

  • proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/dotnet: Ilasm.java (+6 -5)
  • proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/dotnet: Ilasm.java (+6 -5)
donaldp 2002-02-18 08:45

Remove unused variable

0 lines of code changed in:

  • proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/dotnet: Ilasm.java (-6)
  • proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/dotnet: Ilasm.java (-6)
donaldp 2002-02-18 08:45

Remove some audit warnings

54 lines of code changed in:

  • proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/archive: Zip.java (+27 -18)
  • proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/archive: Zip.java (+27 -18)
donaldp 2002-02-18 08:39

Move complex operations outside loop body

6 lines of code changed in:

donaldp 2002-02-18 08:38

Remove unused import

3 lines of code changed in:

donaldp 2002-02-18 08:38

Move static above instance variables

3 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/components/embeddor: DefaultEmbeddor.java (+3 -3)