ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack J. Woehr" <...@purematrix.com>
Subject Re: Possible Ant 1.7 alpha bug: property expansion.
Date Wed, 02 Jun 2004 20:19:47 GMT
Dominique Devienne wrote:

> > From: Jack J. Woehr [mailto:jax@purematrix.com]
> > >      Ant should behave analagously to m4: recursively expand until it
> > >      either hits ground or an uninstantiated ${decorated} name.
> >
> > Oh, and the algorithm should be something like:
> >
> >        1. While argument X  contains any "${}" expressions {
> >        2. Y : = Expansion of leftmost innermost "${ }" expressions in X
> >        3. Call Step 1 with (Y) as the argument
> >        4. Replace in X the leftmost innermost "${}" expression with the
> >           result of the call. }
> >        5. Return X
> >
> > Do I have that right?
>
> I wouldn't know, my algorithmic's pretty bad I now recognize.
>
> But you side stepped the BC issue.

?? Not sure I get you. "BC issue"?

> You can always implement (and test) the
> algorithm above, and see if you can get the committers to put it in. --DD

Sure, but save me 15 minutes :-)... What file(s) of the source is the expansion of a property
expression found in?

--
Jack J. Woehr      # We have gone from the horse and buggy
Senior Consultant  # to the moon rocket in one lifetime, but
Purematrix, Inc.   # there has not been a corresponding moral
www.purematrix.com # growth in mankind. - Dwight D. Eisenhower




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message