On 09/19/2012 03:41 AM, Ognjen Bubalo wrote:
Hi,
I am using build.getEnvironment(listener).expand(input) to resolve files given
in ant pattern. How can I do the same just to resolve directories? I get a list
of FilePaths and I tried to iterate through it while checking isDirectory(), but
did not help.
I'm not sure if I understand. Whether you resolve variable references in
a string is orthogonal to how you handle GLOB patterns.
Can you clarify what you are trying to do?
How can I do this?
Thanks,
Ogi
--
Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/
Try Nectar, our professional version of Jenkins