I have run into a bc problem with resources.
If ant-contrib is compiled with ant1.7, and used with
ant1.6 all the tasks that use Path
cannot be used:

C:\Documents and Settings\reilly\learning\a\for\build.xml:3: Could not
create type antlib:net.sf.antcontrib:for due to
java.lang.NoClassDefFoundError:
org/apache/tools/ant/types/resources/Union

I do not know why I did not see this before (there was a similar problem
with macrodef.attribute) but it is a *big* problem, third party antlibs should
be creatable with ant 1.7 and usable with ant 1.6 for tasks/types that
do not depend on 1.7 features.

A solution would be to convert Path to implement an interface instead
of extending a class, I do  not know if this is possible.

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to