ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Kruithof <>
Subject Re: [POLL] Bug 48804
Date Fri, 23 Apr 2010 21:28:43 GMT
I agree, however it may be good to update the 1.8.0 manual with a 
warning that the behavior is currently not as intended and will change, 
published as soon as the solution is changed.

br martijn

> On 23/04/2010 2:29 AM, Stefan Bodewig wrote:
>> Hi all,
>> currently extension-point and import don't play together like they are
>> supposed to.  You can't extend an imported extension point with a target
>> from the importing build file (which is the primary use-case, really).
>> Attached to this bug is a patch that fixes the problem (including an
>> AntUnit test that fails in 1.8.0).
>> The same patch breaks a different AntUnit test, namely
>> testExtensionPointMustBeKnown in extension-point-test.xml.  This test
>> asserts that you can't extend an extension point from the same build
>> file before that extension point has been defined.  I.e. you can't do
>> <target name="bar" extensionOf="foo"/>
>> <extension-point name="foo"/>
>> Personally I think the changed behavior isn't a bad thing, the old
>> behavior isn't documented and we shouldn't even try to keep it.
>> What do you think?
>> Stefan
>> PS: I'd love to see this fixed with Ant 1.8.1.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message