Re: get filename

2006-08-18 Thread Scot P. Floess
Wasn't this answered earlier this week...using the target? -Original Message- >From: "Benjamin H." <[EMAIL PROTECTED]> >Sent: Aug 17, 2006 7:58 AM >To: user@ant.apache.org >Subject: get filename > >Hi out there, > >is it possible to get o

get filename

2006-08-18 Thread Benjamin H.
Hi out there, is it possible to get only the name of a file without the whole path?? This is for path - but only need the filename: @{filename} The files are in a directory!! Regards ele

Re: get filename

2006-08-17 Thread Scot P. Floess
Newer versions of ant-contrib do support unset... :) Benjamin H. wrote: The type doesn't support the "unset" attribute. I think the problem is using ant-contrib in a old version (0.6) . 2006/8/17, Scot P. Floess <[EMAIL PROTECTED]>: Try this:

Re: get filename

2006-08-17 Thread Benjamin H.
The type doesn't support the "unset" attribute. I think the problem is using ant-contrib in a old version (0.6) . 2006/8/17, Scot P. Floess <[EMAIL PROTECTED]>: Try this:

Re: get filename

2006-08-17 Thread Scot P. Floess
Try this: Filename === ${filename} Notice the element has the attribute unset="true" Benjamin H. wrote: I has try this:

Re: get filename

2006-08-17 Thread James Abley
I definitely think is the way to go. ant.file: '${ant.file}' filename: '${filename}' HTH, James Benjamin H. wrote: I has try this: Filename === ${filename}

Re: get filename

2006-08-17 Thread Benjamin H.
I has try this: Filename === ${filename} But not so successful!! 2006/8/17, Scot P. Floess <[EMAIL PROTECTED]>: Did you try the task? Benjamin H. wrot

Re: get filename

2006-08-17 Thread Scot P. Floess
Did you try the task? Benjamin H. wrote: Hi out there, is it possible to get only the name of a file without the whole path?? This is for path - but only need the filename: @{filename} The files are in a directory!! Reg

get filename

2006-08-17 Thread Benjamin H.
Hi out there, is it possible to get only the name of a file without the whole path?? This is for path - but only need the filename: @{filename} The files are in a directory!! Regards ele

Re: Is there an Ant task to get filename from a directory

2004-01-23 Thread Matt Benson
--- Matt Benson <[EMAIL PROTECTED]> wrote: > To do this with pure Ant, see the > task. ack, lemme take that back... since pathconvert doesn't (yet) support mappers, you're not going to get what you want that way... __ Do you Yahoo!? Yahoo! SiteBuilder - Free web

Re: Is there an Ant task to get filename from a directory

2004-01-23 Thread Matt Benson
To do this with pure Ant, see the task. -Matt __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ - To unsubscribe, e-mail: [EMAIL PROTE

Re: Is there an Ant task to get filename from a directory

2004-01-23 Thread Clifton C. Craig
IL PROTECTED] Sent: Friday, January 23, 2004 1:27 PM To: Ant Users List Subject: Re: Is there an Ant task to get filename from a directory See the element. I just found this by accident the other day. You set an id attribute on the file set and then use that in a property element to get just the

RE: Is there an Ant task to get filename from a directory

2004-01-23 Thread Veerappan Saravanan-ESV007
-1.2.8.jar instead of lib/jdom.jar lib/log4j-1.2.8.jar. Thanks sv. -Original Message- From: Clifton C. Craig [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 1:27 PM To: Ant Users List Subject: Re: Is there an Ant task to get filename from a directory See the element. I just fou