On Wed, 2003-10-15 at 03:04, Marc Portier wrote: > Hi all, > > I want to achieve the following: > - have an easy mechanism for applications to be able to inspect their > own release information at runtime... (think about: help/about dialogs > or log statements showing some release info) > > (the info to gather would be the kind of stuf inside the manifest.mf file) > > > I was thinking of the following approach: > - generate just before compilation a class myproject.package.ReleaseInfo > that holds the info hardcoded
What about simply packing the POM with your application and using some of the classes in Maven to turn the XML POM into a Project class which you can then use inside your application to display information related to the project? > > before delving into it deaper I was hoping one of you could tell me: > 1/ it's already done (couldn't find it) > 2/ euh, a number of reasons not to get to do it ;-) > 3/ sensible suggestions towards just doing it > > regards and thx > -marc= -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
