This is patch 7204 the fourth patch of the antlib + ns enhancement. The
issues reported by Stephan will need be
addressed, so the implementation may change
before ant 1.6 is released.
PR: 19897
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274930 13f79535-47bb-0310-9956-ffa450edef68
Some slight changes from the orignal patch - rename
of ignoremultiplemapping to enablemultiplemapping and
some checkstyle changes
PR: 21320
Obtained from: Evan Easton
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274923 13f79535-47bb-0310-9956-ffa450edef68
expand b -> ${a} -> ${a}. It would keep replacing ${a} for ${a} as it
only detected a circular reference if the expansion pointed back to b.
PR: 21825
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274914 13f79535-47bb-0310-9956-ffa450edef68
- addConfigured(Type) to introspection rules
- ant-type magic polymorhic attribute
- allow types that have Project as a constructor to
be used in addName(Type) and addConfiguredName(Type) methods
- allow addName and addConfiguredName methods to have higher
presedence that createName() methods.
PR: 19897
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274906 13f79535-47bb-0310-9956-ffa450edef68
The import task now uses getLocation().getFileName() to
get the file that the <import/> task is located and not
the importstack.
Also the canonical form of the imported file is stored
in the importstack.
Changed message if imported file is imported more than
once.
Include unit test for above.
PR: 21662
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274842 13f79535-47bb-0310-9956-ffa450edef68
of tasks, this allows tasks to be added to the current
list while the list is being walked.
Revert the script test that failed when it was adding
to the current task to test the change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274822 13f79535-47bb-0310-9956-ffa450edef68
actually due to field value of PropertyFile.Entry class overwritten
after execution with the result (contains the increment before execution)
PR: 21505
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274810 13f79535-47bb-0310-9956-ffa450edef68
The original script added tasks to the current target.
This is not a good idea, as an the task list of the target is being walked.
A change made recently uses an iterator instead of an enumerator to walk the list.
The iterator picks up the fact that the list has been changed
and causes the concurrent access exception.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274772 13f79535-47bb-0310-9956-ffa450edef68
I've updated the checkstyle buildfile (check.xml) to the
latest version of checkstyle. I've also updated
the HTML stylesheet and created two new stylesheets to render
the checkstyle report in plain text and the xdoc format we
use for the other Ant documentation.
I've also moved the checkstyle related stuff into its own area.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274747 13f79535-47bb-0310-9956-ffa450edef68
This change fixes this. Thanks Tom, sorry for the time it took to process your patch.
PR: 17297
Submitted by: Tom Eugelink (tom at tbee dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274730 13f79535-47bb-0310-9956-ffa450edef68
http://issues.apache.org/bugzilla/show_bug.cgi?id=19897
This patch
* unifies the type and task definitions into one table
* types and tasks are represented by a AntTypeDefinition object
* taskadapter has been generalized to a typeadapter
* <typedef/> has a number of new attributes:
- adapter
- adaptto
- onerror
* <taskdef/> html page updated to refer to <typedef/> page
PR: 19897
Submitted by: Peter Reilly
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274718 13f79535-47bb-0310-9956-ffa450edef68