You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Brad Cox <bc...@virtualschool.edu> on 2003/01/08 15:57:53 UTC

Getting program outputs into ant value?

Pardon what must be a newbie question; I'm new to this.

I provide MD5 checksums within the download page for the Java+ 
Preprocessor (http://virtualschool.edu/java+). I've been editing them 
in manually but would like to automatate this step.

I understand I can write this in index.html

	<dt><a href="JavaPlus.tgz">Binary Distribution</a> md5:@md5.bin</dt>

and filtering will patch it in

	<filter token="md5.bin" value="..."/>

But how do I get the output of running md5 on this file into the ... above?

PS: I know about the <checksum> in the latest release. I want to 
stick with 1.4.x for the nonce, and besides, <checksum> puts it in a 
file which leaves me where I started.
-- 

Brad Cox, PhD; bcox@virtualschool.edu 703 361 4751 http://virtualschool.edu
>  For industrial age goods there were checks and credit cards.
>    For everything else there is http://virtualschool.edu/mybank
>  Java Web Application Architecture: http://virtualschool.edu/jwaa
>  Ruby Interactive Learning Environment: http://virtualschool.edu/ile
>  Java+ Preprocessor: http://virtualschool.edu/java+
>  Support Israel and Palestine: http://virtualschool.edu/mideast

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>