--- Peter Reilly <[EMAIL PROTECTED]> wrote:

> On 10/11/06, Matt Benson <[EMAIL PROTECTED]>
> wrote:
> > --- Peter Reilly <[EMAIL PROTECTED]>
> wrote:
> >
> > > 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
> > [SNIP]
> >
> > Ha!  Call this a "duh" moment on my part.  Don't
> ask
> > what I was thinking, since I obviously wasn't.
> > Anyway, <union> was created by extracting the
> > "ordered, no-dupes" logic from <path>.  If we just
> add
> > most of the <union> code directly back to <path>
> The code could be accessed via composition rather
> that inheritance.
> 

I was thinking about that, actually.  :)  Give me a
break, I'm sick and it was early for me.  The 1.6 API
would still be fulfilled, the 1.7 APIs would be
ignored, code would not be duplicated, and Path would
just inherit from DataType as always.  Sounds like a
plan.

-Matt

> Peter
> 
> , we
> > should be okay, right.  I think <union> also
> extends
> > BaseResourceCollectionContainer, but either way
> > there's nothing we can't simply duplicate in
> <path>.
> > I'll see if I can fix it this week.
> >
> > -Matt
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to