#28 endsWith & startsWith not supported.

open
nobody
None
5
2003-12-11
2003-12-11
Anonymous
No

The endsWith and startsWith tags currently fail with:

>> Class ise.antelope.tasks.BooleanConditionBase
doesn't support the nested "startswith" element.

A fix: modify the BooleanConditionBase class to provide
the add methods supporting these two nested elements:

public void addStartsWith( StartsWith startsWith) {
super.addIsTrue(startsWith);
}

public void addEndsWith( EndsWith endsWith) {
super.addIsTrue(endsWith);
}

Discussion

  • Dale Anson
    Dale Anson
    2004-01-16

    Logged In: YES
    user_id=187628

    This task is in the process of being merged with the
    Ant-Contrib tasks. Changes in the Ant 1.6 API alter the way
    the Condition classes work together, expect this to be fixed
    in the next couple of weeks.