<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi all,<br>
printing something like the following:<br>
INFO: Infinispan version: Infinispan 'Ursus' 4.2.1.FINAL<br>
<br>
is very useful when debugging user's issues.<br>
<br>
I am interested in how project's do this. I can create a
Version.java but if maven releases do not change the value, then it
is pointless.<br>
<br>
Jesper says:<br>
===========<br>
<span style="font-weight: normal;"><font size="2"><font
color="#af7f00">(10:32:45 AM) </font></font></span><span
style="font-weight: bold; color: rgb(175, 127, 0);">jpederse: </span>anilsaldhana:
our Version.java is generated as part of the build - and the version
identifiers substituted<br>
<span style="font-weight: normal;"></span><span style="font-weight:
normal;"><font size="2"><font color="#af7f00">(10:33:32 AM) </font></font></span><span
style="font-weight: bold; color: rgb(175, 127, 0);">jpederse: </span>anilsaldhana:
<a
href="http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/Version.java.in?revision=108434&view=markup">http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/Version.java.in?revision=108434&view=markup</a><br>
===========<br>
<br>
Regards,<br>
Anil<br>
</body>
</html>