This discussion is archived
1 Reply Latest reply: Apr 3, 2007 10:43 AM by 800322 RSS

Passing application version info during .jar/.class creation

807606 Newbie
Currently Being Moderated
Is there a 'best' way to supply version info during the application build process so that it is then available at runtime? I use make to build a jar file that then is released. I'd like to be able to provide a release/version number when I build that the user can then access via an 'About' dialog. In 'C', I use preprocessor directives passed via the make command line but I can't see how Java might support this method. Any and all help appreciated...

Thx, Jennette