Does Ant do versioning? For example, let's say I want to stuff into my
JAR/WAR or EAR some version class like this:

class Version
{
protected static String v = <label generated by Ant>;
public static String getVersion() { return v; }
}

so that once I've distributed my JAR/WAR or EAR I can tell people to
execute the method Version.getVersion().

Will Ant help me do this? If not Ant, any suggestion?


Reply via email to