Re: how to ensure by an ant build.xml that only a certain version or higher of fmpp is used?

"Daniel Dekany (temporary acc!)" <[email protected]> Tue, 12 Aug 2003 13:19:34 +0200
Newsgroups gmane.comp.text.fmpp
Message-ID <[email protected]>
Tuesday, August 12, 2003, 6:19:41 AM, Ralf Hauser wrote:

> How do fmpp users do this?
>
> One idea is drafted in
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22338

It is not enough to check if there is greater-or-equal version available
than the version you have used originally with the project, because
software has sometimes non-backward compatible changes. So rather
something like this should be used:

<taskdef name="foo" classname="bar.Foo" compatible="1.4"/>

where "compatible" is an *arbitrary* string, and then Ant should define
a standard interface by which the external task can be invoked to check
if it is compatible. So the external task is who parses the version
number or whatever version description it gets with attribute
"compatible", not Ant, and it is the external task who judges if he is
compatible or not, not Ant.

But... I wonder how many external task developers would take the trouble
to maintain this stuff.

-- 
Best regards,
 Daniel Dekany




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01