there are a couple of ways we can do this. there is wicket.properties which can house a wicket.version property, or we can create something like

public class WickerVersion { public static final String MAJOR="blah"; public static final String MINOR="blah"; }

we can use mvn filters to populate the values somehow. martijn do you know how we can get the version you are building from mvn script? and how mvn filtering works?

which fields would we need? will a simple string do? do we need major/minor?

-Igor


On 3/6/06, jan_bar <[EMAIL PROTECTED]> wrote:
Hi,

how can I get Wicket version from my program? Something like:

String Application.getVersion()

In my opinion this is useful function. For instance when I write something,
that might not work well in next version of Wicket, I can assert on Wicket
version.

Thanks, Jan





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to