Re: Directory question

2007-05-18 Thread Scot P. Floess
I had a similar need some time ago (to locate a lib dir too as a matter of fact)... Based on your example - you don't mention order of importance. I'll assume you mean, choose ../../lib first if available otherwise choose ../lib if it's available... value = "../../lib"/> value = "../lib"/>

Re: Directory question

2007-05-17 Thread Ninju Bohra
t; To: user@ant.apache.org Sent: Thursday, May 17, 2007 8:57:31 PM Subject: Directory question I'd like to include a lib directory in my classpath. The problem is I don't know where the lib directory will be. It will either be ../../lib or ../lib, relative to my current path. Is there a way

Directory question

2007-05-17 Thread David Alves
I'd like to include a lib directory in my classpath. The problem is I don't know where the lib directory will be. It will either be ../../lib or ../lib, relative to my current path. Is there a way to set a property to whichever of those two exists? For example: /lib /foo/build.xml propert