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:

[EMAIL PROTECTED]:~/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to