ant-user mailing list archives

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

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,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message