On Jan 22, 2008 5:38 PM, Rex Huang <[EMAIL PROTECTED]> wrote:
> for example, I had a Version.java
> public class Version {
> private static String VERSION = "${buildNumber}";
> public static String getVersion() {
> return VERSION;
> }
> }
>
> I need to set version number when compile, so I use filter to change the
> version information in java file.
>
> Rex
The easiest way is to do the filtering with a real resource (e.g. a
property file) and to read this resource in your java code.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]