On Fri, Sep 4, 2009 at 12:03, akentner<akent...@gmx.net> wrote: > > Hi there, > > I'm a ant newbie. I've already search for my topic, but I haven't found my > problem. > > So my problem: > > I have a tmp directory where other directories have been created (names are > hashes). In an ant job, how can I find the last generated hash directory and > put the result in a variable, so i can use it as dir parameter in <exec > dir="...." ..../> > > Thanks for help >
>From what I can see, you can do this with ant-contrib's <timestampselector>. It takes path elements as an argument, though, so I don't know whether it takes directories into account. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org