You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Dominique Devienne <DD...@lgc.com> on 2004/01/07 18:25:38 UTC

RE: [PATCH] Support for default ProjectHelper to expand propertie s in attributes to project/target tags

> From: Matt Benson [mailto:gudnabrsam@yahoo.com]
> 
> Not sure what <call> thingy you're talking about...
> again, from what Peter tells me, the new <for> works
> like <foreach> except without creating a new project.

I understand that Matt ;-)
BUT, what do I put inside the <for>? The goal is to call
a number of targets whose name match a regexp pattern.

Calling a target means either <antcall>, with the caveat
I listed, or Ant-Contrib's <call> task inherited from
Antelope I think, that call's a target without creating
a new Project, which opens a can a worm.

--DD

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


RE: [PATCH] Support for default ProjectHelper to expand propertie s in attributes to project/target tags

Posted by Matt Benson <gu...@yahoo.com>.
> I understand that Matt ;-)
> BUT, what do I put inside the <for>? The goal is to
> call
> a number of targets whose name match a regexp
> pattern.
> 
> Calling a target means either <antcall>, with the
> caveat
> I listed, or Ant-Contrib's <call> task inherited
> from
> Antelope I think, that call's a target without
> creating
> a new Project, which opens a can a worm.
> 

Gotcha.  Not sure what worms you might be thinking of
that would be particularly slimier than any you might
encounter in the course of using the suggested core
enhancement.  As with most things that we wish were in
core, the contrib version might be a little unwieldy,
but it seems like it should work.  I have similar
issues with <for> (I am a proponent of adding its
functionality to Ant core) on the rationale that it is
a target-centric analogue to <apply>.

Oh well...

-Matt

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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