ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: how should I do this?
Date Thu, 13 Nov 2008 18:21:15 GMT

You could use the exec task and the outputproperty attribute...

http://ant.apache.org/manual/CoreTasks/exec.html

On Thu, 13 Nov 2008, Patrick Waugh wrote:

> I use Mercurial a DVCS.
>
> I can do this:
>
> patrick@berrysoft:~/repo/dib/AnimationDemo$ hg id -i
> ffd79a345811
>
> which gives me the unique "revision" which I am compiling.  I'd like
> to capture that string for use in Ant.  What would be the best way to
> accomplish this?
>
> Patrick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

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


Mime
View raw message