--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:

> On Wed, 28 Sep 2005, Matt Benson
> <[EMAIL PROTECTED]> wrote:
> 
> > :) I had started working on apply but hadn't
> gotten
> > too far.  I'd like to see what you did.
> 
> I pretty much doubt that it will work for non-file
> resources, but at
> least it works fine for
> 
> <apply executable="ls">
>   <path path="${env.PATH}"/>
> </apply>

Maybe some add'l code for up-to-date checking, but
aside from the fact that the constructed command line
may or may not be valid, which is always an issue,
replace srcfile's getAbsolutePath() with "source
resource".toString() and we should be in business,
IMO.

-Matt
> 
> >> I added a new protected method to Expand for
> non-file resources,
> >> maybe an approach like that will work for other
> tasks as well.
> > 
> > I'll have to see it.
> 
> I'll commit it right now without specific unit tests
> or updating the
> docs.  At least the existing tests still pass.
> 
> Stefan
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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

Reply via email to