Re: Getting the name of the only file in a directory

2010-01-07 Thread leroybrownbpj
Thank you! ddevienne wrote: > > On Thu, Jan 7, 2010 at 4:02 PM, leroybrownbpj wrote: >> I'm working on a project currently where we need to deploy an artifact to >> a >> server via an ant task which takes the fully qualified file path and >> name. >>

Getting the name of the only file in a directory

2010-01-07 Thread leroybrownbpj
I'm working on a project currently where we need to deploy an artifact to a server via an ant task which takes the fully qualified file path and name. When this script runs the artifact will be in a directory like this: location/deployable-artifact-1.0.3.9.war My problem is that in order to keep