ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <...@one2team.com>
Subject Re: search directories and putting search result in a variable
Date Fri, 04 Sep 2009 12:07:52 GMT
On Fri, Sep 4, 2009 at 12:03, akentner<akentner@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
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message