ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Vervelle <nicolas.verve...@steria.com>
Subject Extracting application version from Java file
Date Tue, 20 Sep 2005 16:23:14 GMT
Hi,

In one of my Java source file, I have a line like this:
public final static String version = "XX.YY.ZZ";

I'd like to extract the XX.YY.ZZ from the Ant build to name the 
resulting jar file with it : Jmol.XX.YY.ZZ.jar

Can someone help me with how to extract the string from the file ?

Thanks in advance,
Nicolas


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


Mime
View raw message