Re: Getting Ant property from Java class

2007-07-25 Thread Matt Benson
--- Chris <[EMAIL PROTECTED]> wrote: > How do I set a property equal to a value obtained > from a Java class? > > For example, in our app we define the version in a > constant: > > class MyClass { > static public final String VERSION = "1.0"; > } > > In build.xml, I'd like to assign a ver

Getting Ant property from Java class

2007-07-25 Thread Chris
How do I set a property equal to a value obtained from a Java class? For example, in our app we define the version in a constant: class MyClass { static public final String VERSION = "1.0"; } In build.xml, I'd like to assign a version property: and then use it to, say, name the .jar fil