ant-git

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Typo reported by Bob Summerwill <bobsummerwill at yahoo.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273442 13f79535-47bb-0310-9956-ffa450edef68

Update to the current commons-discovery API

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273441 13f79535-47bb-0310-9956-ffa450edef68

Update the build and test files

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273440 13f79535-47bb-0310-9956-ffa450edef68

Removed ServiceDiscoveryTask ( for now ).

Added an experimental TaskDiscovery that will use commons-discovery

to find tasks using the ProjectComponentFactory hook.

This is just to play with different antlib mechanisms.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273439 13f79535-47bb-0310-9956-ffa450edef68

That's the big change.

I commented out for now the special case that does imediate

creation of task, and changed the behavior to all-lazy.

This seems to pass the gump test, and doesn't seem to

create any major problem. Given that lazy creation was allways

a possibility, I would think it is a task bug if a task that can't deal with

that.

After this settles down I'll eliminate the latest special case for

nested elements ( now it'll all be dealt only by UnknownElement ).

Also, added more code to deal with namespaces. The logic should

be in UnknownElement/RuntimeConfigrable - we should just pass

the info ( in the case that an XML source is used )

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273438 13f79535-47bb-0310-9956-ffa450edef68

Few changes, added few enhancements I proposed in the past.

Again - this is a proposal and an experiment, all features will

eventually get to a majority vote and removed or moved out

of ant if it doesn't pass.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273437 13f79535-47bb-0310-9956-ffa450edef68

Various fixes

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273436 13f79535-47bb-0310-9956-ffa450edef68

Various fixes and changes to support more lazy creation of tasks and the other changes.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273435 13f79535-47bb-0310-9956-ffa450edef68

Added a callback for setProperty. This would allow different property stores to implement their own policy.

This feature will not work in ant15 ( for now ).

Also changed Project to Object - and use it as a context. This makes

the callback more generic and the hooks less dependent of ant.

The only major issue on dynamic properties for me is the JNDI stuff.

I think the Context interface could be a better abstraction, but

on the other side it is much more complex. I also want to finalize

the JNDI property source and abstract the properties via JNDI

so tasks can be created without any dep on ant, but still accessing

properties and refs.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273434 13f79535-47bb-0310-9956-ffa450edef68

Few small changes and comments.

I would like to extend it a bit more in the future - to support

properties like "${property}" without a string conversion.

In other workds, if a dynamic property is used ( which return an

object ), the object should be used as such in the introspection.

That would greatly simplify tasks and allow more flexibility.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273433 13f79535-47bb-0310-9956-ffa450edef68

Added an alternate implementation, so we can override default behavior and control the creation.

This will work for all code that checks instanceof, but

will obviously fail if any code explicitely looks at the class

name ( which is very unlikely - so far no code did that in the

gump run or otherwise ).

The UnknownElement2/RuntimeConfigurable2 will be further refactored

to make them more independent of the XML representation and

have a cleaner API. All behavior will be moved out of the XML

processor and into this pair. Of course, full backward compat will

be provided.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273432 13f79535-47bb-0310-9956-ffa450edef68

Moved XMLDOM to taskdefs. There is no difference between type and task any more, and it may do some active stuff in execute()

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273431 13f79535-47bb-0310-9956-ffa450edef68

Added the proposed hook for component creation.

Full backward compatibility is provided - the project

is used to create tasks. The mechanism allows full

flexibility in implementing any kind of antlib policy,

and allows applications embeding ant to integrate in the

component creation process.

Probably a good improvement would be to move the 'default'

behavior in a separate plugin ( DefaultComponentFactory - to

use the project component storage ), and deprecate the use

of Project for project component management.

After more feedback is received I'll propose this for the

main branch.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273430 13f79535-47bb-0310-9956-ffa450edef68

merge from HEAD

git-svn-id: https://svn.apache.org/repos/asf/ant/core/branches/ANT_15_BRANCH@273429 13f79535-47bb-0310-9956-ffa450edef68

<delete> doesn't catch all cases where the implicit fileset gets used (and may thus ignore some attributes or nested selectors).

On a side-note. I found it amusing to read

* <p>Currently Delete extends MatchingTask. This is intend <i>only</i>

* to provide backwards compatibility for a release. The future position

* is to use nested filesets exclusively.</p>

in Delete.java. This is sticking in there since almost exactly two

years ago. Revision 1.8 2000-10-04. Revision 1.9 went into Ant 1.2. 8-)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273428 13f79535-47bb-0310-9956-ffa450edef68

those <antcall> tasks don't make things clearer at all, we can as well roll the <jar>s into the target.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273427 13f79535-47bb-0310-9956-ffa450edef68

* Create separate jars for all those optional tasks that have external dependencies.

* <patternset> --> <selector> for most stuff.

I've kept optional.jar for now as I'm not sure whether I've really

covered all classes (and no class appears twice).

Feel free to change names or optimize my "mutiple nested selectors"

constructs. ;-)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273426 13f79535-47bb-0310-9956-ffa450edef68

sync with HEAD. PR: 13422, 13431

git-svn-id: https://svn.apache.org/repos/asf/ant/core/branches/ANT_15_BRANCH@273425 13f79535-47bb-0310-9956-ffa450edef68

doc updates. PR: 13422, 13431 Submitted by: Jesse Glick <jesse.glick at netbeans.com>, Paul Cantrell <cantrell at pobox.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273424 13f79535-47bb-0310-9956-ffa450edef68

merge from HEAD. PR: 13465

git-svn-id: https://svn.apache.org/repos/asf/ant/core/branches/ANT_15_BRANCH@273423 13f79535-47bb-0310-9956-ffa450edef68

"plain" result formatter could throw NPE if an exception occured in the test's setUp method.

PR: 13465

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273422 13f79535-47bb-0310-9956-ffa450edef68

fix typo

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273421 13f79535-47bb-0310-9956-ffa450edef68

update exclusion pattern

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273420 13f79535-47bb-0310-9956-ffa450edef68

move WeakishReference1.2 to optional, fix copyright, fix string ref to classname

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273419 13f79535-47bb-0310-9956-ffa450edef68

re-add support for ANT_ARGS environment variable to ant.bat that has been lost in revision 1.18.2.1 of this file.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/branches/ANT_15_BRANCH@273418 13f79535-47bb-0310-9956-ffa450edef68

re-add support for ANT_ARGS environment variable to ant.bat which has been lost in revision 1.19 of that file.

Reported by: Paul Christmann <paul at priorartisans.com>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273417 13f79535-47bb-0310-9956-ffa450edef68

initial JDK 1.1 fixes

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273416 13f79535-47bb-0310-9956-ffa450edef68

and the new task declaration

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273415 13f79535-47bb-0310-9956-ffa450edef68

Brian's new tests

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273414 13f79535-47bb-0310-9956-ffa450edef68

Refactoring and extension of the .net compiler tasks

This stuff is unfinished. The tests are passing, but the new stuff is not tested yet and I want to do references better. But I wanted to put this in so Brian Felden and others can play with it,

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273413 13f79535-47bb-0310-9956-ffa450edef68