You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Patrick Waugh <pt...@gmail.com> on 2008/11/13 19:12:42 UTC
how should I do this?
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
Re: how should I do this?
Posted by "Scot P. Floess" <sf...@nc.rr.com>.
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