Directory proposal/myrmidon/src/ant1compat/org/apache/tools/ant/

Directory Created:
2002-03-18 02:33
Directory Deleted:
2002-04-17 10:49
Total Files:
Deleted Files:
Lines of Code:

Browse with ViewVC


                                     taskdefs (0 files, 0 lines)

                                     types (0 files, 0 lines)

Lines of Code

proposal/myrmidon/src/ant1compat/org/apache/tools/ant/ Lines of Code


Author Changes Lines of Code Lines per Change
Totals 38 (100.0%) 660 (100.0%) 17.3
darrell 26 (68.4%) 621 (94.1%) 23.8
adammurdoch 3 (7.9%) 39 (5.9%) 13.0
donaldp 9 (23.7%) 0 (0.0%) 0.0

Most Recent Commits

donaldp 2002-04-17 10:49

zappity zap

0 lines of code changed in:

adammurdoch 2002-04-07 02:48

Fix compile problem.

38 lines of code changed in:

darrell 2002-04-01 00:40

Better Ant1-style configuration in compatibility layer,

as JUnit task relies on child elements being created before,

but configured after, the parent.

Build "test" target now passes when run through Myrmidon.

10 lines of code changed in:

darrell 2002-03-31 10:56

* New ProjectBuilder which programmatically converts from Ant1 to Myrmidon

project, rather than using a stylesheet. (This is now the default builder for

".xml" files.)

* Removed xml-apis.jar and xalan.jar, and added jaxp.jar back in. Hopefully, this

will keep us out of avoid jar version hell.

* Added more stuff to the ${java.class.path} property available to ant1 tasks.

* Can now fully build Myrmidon using Ant1 compatibility layer. All test bar one

(Ant1CompatTestCase) pass when run using Myrmidon.

5 lines of code changed in:

darrell 2002-03-30 06:56

* Added <ant1.antcall> task, and test. <ant1.ant> and <ant1.antcall> now

share a common abstract base class.

* Fixed <ant1> test files so that they run under Ant1.4, for checking.

* Fixed build so that ant1_todo.atl only includes the correct files.

5 lines of code changed in:

darrell 2002-03-30 03:52

* i18n of Ant1Compatibility layer (except stuff stolen directly from Ant1 -

need to look at refactoring Ant1 to allow extension without cut&paste).

* Updated todo and regenerated docs.

* Javadoc

41 lines of code changed in:

darrell 2002-03-30 01:19

* Added nested <condition> element to IfTask, to allow any arbitrary condition

to be used in <if>. Tests updated for new functionality.

* Ant1 conversion stylesheet uses nested <is-set> condition on <if>,

to replicate Ant1 behaviour of 'if=' and 'unless=' on targets.

* ant1compat antlib generated as part of standard build.

* Minor build cleanup: ${custom-tasks-dir} -> ${build.custom-tasks} for


* Ant1CompatProject now uses ProjectHelper for property resolution, rather than

trying to duplicate Ant1 behaviour.

* Added tests for Ant1 Compatibility layer. These have been exclude from regular

build, as they fail when run under Ant1.4.1, because the JUnit task *always*

places ant.jar *first* in the JUnit classpath. Tests work under Ant1.5alpha,

since it adds ant.jar *last* by default. (Tests also function correctly by

invoking JUnit directly - or with Intellij JUnit integration).

4 lines of code changed in:

darrell 2002-03-28 11:56

* Ant1CompatProject now provides a hacked "java.class.path" property,

which includes the ant1compat.atl file. This is closer to what's expected

by Ant1 build files.

* antlib.xml typedefs everything it needs, in preparation for building with


34 lines of code changed in:

darrell 2002-03-24 07:53

* Added 'property-resolver' role, with 'default'

and 'classic' implementations.

* Ant1CompatProject doesn't instantiate

ClassicPropertyResolver directly.

14 lines of code changed in:

darrell 2002-03-22 10:06

Make sure verbose messages aren't logged twice.

1 lines of code changed in:

adammurdoch 2002-03-22 07:18

Added TaskContext.verbose(), and fixed up the usages of info() and warn().

1 lines of code changed in:

darrell 2002-03-22 05:54

Modifications to Ant1 compatibility layer.

* Recontextualize Ant1 project for every Task.contextualize()

* Use Converter so that non-string properties are not ignored

* Javadoc

73 lines of code changed in:

darrell 2002-03-20 22:30

Modifications to Ant1 compatibility layer.

* Completed property hooks, so that the underlying Ant1 project

is not used for setting, getting or resolving properties.

* Made PropertyResolver.resolveProperties()take a TaskContext,

instead of Avalon Context. (We can always split out a generic

interface later, if need be.) Ant1 compatibility layer user

ClassicPropertyResolver, which needs a better name.

* Added modified BuildException, which incudes a Myrmidon-friendly

getCause() method, to allow Ant1 exceptions to be properly cascaded.

* DefaultTaskContext:

- Allow "+" in property names.

- Implemented DefaultTaskContext.getProperties()

- No longer implements avalon Context (not needed)

280 lines of code changed in:

darrell 2002-03-20 01:14

Modifications to Ant1 compatibility layer.

* Use modified version of, to provide all

available classes in Path.systemClasspath.

(Uses taken from Mutant proposal,

for obtaining complete classpath from a ClassLoader.)

* Removed <ant> and <antcall> from ant1compat.atl

descriptor, since they don't work.

* Modified build so that xdoclet.jar and

jdepend.jar aren't included in dist/lib.

8 lines of code changed in:

darrell 2002-03-18 02:33

First cut of Ant1 compatibility layer.

* TransformingProjectBuilder

- Performs an XSL transform on all ".xml" build files.

- Identity transform is used for projects with "version" attribute.

- Added xalan.jar to lib - replaced jaxp.jar with xml-apis.jar

* Compatibility Layer

- Described more fully in src/ant1compat/README.txt

- Uses pre-compiled Ant1 jar files for Ant1 code-base.

Insulates from changes in the main tree, and simplifies build.

- "ant." prefix used for all ant1 tasks

146 lines of code changed in:

Generated by StatSVN 0.3.2-SNAPSHOT