Re: Strip a dirname from a property that represents a path

2009-04-09 Thread Matt Benson
--- On Thu, 4/9/09, Eric Wood wrote: > From: Eric Wood > Subject: Strip a dirname from a property that represents a path > To: "Ant Users List" > Date: Thursday, April 9, 2009, 1:31 PM > I have a property that is a path > reference to a jar file and I want to

Strip a dirname from a property that represents a path

2009-04-09 Thread Eric Wood
I have a property that is a path reference to a jar file and I want to get the directory name for the element. The task dirname works with a file to set a property, but is there a simply solution to grabbing the path to from a file. I assume that I could use the ant-contrib PropertyRegex task, bu