> From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
>
> >
> > I was trying to resolve the following from the build.xml:
> >
> >   <property name="avalon.dist"           value="../dist/avalon" />
> >    <available property="avalon.present"
> >      classname="org.apache.avalon.blocks.Block" />
> >    <echo message="avalon.present=${avalon.present}" />
> >
> > I've listed this as an optional dependency.  Again, is this a problem?
>
> Not really, it's just cosmetic.
>
> A change in Ant's <style> task has made the build fail with the Ant from
> CVS. Same for Struts.
> I won't fix the problem since doing that would mean that building with the
> shipping Ant 1.3 would fail :-(
> I suggest instead they deprecate the old "style" attribute and
> add a new one
> (which would handle paths correctly).
>

The old behaviour has been reverted and will be back for tonight's nighjtly
build.
Jesse Glick has suggested this behaviour

! What about this: when given a nonabsolute path to 'style', have it first
try
! to resolve against project basedir, and it finds it then OK. If not, try
! against task basedir, and if found then print a deprecation warning and
use
! that; else error. This would permit the task to have sane semantics and
still
! not break old scripts.

That seems workable to me.

Deprecating things in Ant hasn't been terribly popular, historically :-(

Conor


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

Reply via email to