ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Two possible new tasks
Date Thu, 28 Feb 2002 09:07:56 GMT
On Thu, 28 Feb 2002 20:08, Diane Holt wrote:
> --- Erik Hatcher <jakarta-ant@ehatchersolutions.com> wrote:
> > +0
> >
> > Not against them, just don't personally have a need for them.  I use
> > relative paths in my build files and 'location' to lock them in to
> > absolute paths when/if I need to.
>
> So do I, and I don't know for a fact that I'd ever have a need for them
> either, but a) some people obviously do, and b) even doing things the way
> you do, how would you get just the filename (should you ever need to, that
> is)?

Consider the following case. Property X has the location of a dependent jar 
and you need to create a fileset from that property. <dirname/> to get the 
dir, then <basename/> to get the filename to use and voila you have it ;)

At least thats the biggeswt use case I have come across ;)



-- 
Cheers,

Pete

*---------------------------------------------------------*
| Contrary to popular belief, UNIX is user-friendly. It   |
| just happens to be selective on who it makes friendship |
| with.                                                   |
|                       - Richard Cook                    |
*---------------------------------------------------------*

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


Mime
View raw message