<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Entire conversation:<br>
<br>
(10:26:54 AM) anilsaldhana: what is the best way to deal with
printing project version number when AS7 starts?<br>
(10:27:27 AM) anilsaldhana: the reason I am asking is when we do mvn
releases, if the Version.java does not get updated, then its
pointless. :)<br>
(10:27:50 AM) ***anilsaldhana is looking at suggestions from other
projects <br>
(10:32:45 AM) jpederse: anilsaldhana: our Version.java is generated
as part of the build - and the version identifiers substituted<br>
(10:33:08 AM) anilsaldhana: jpederse: I am starting a thread.<br>
(10:33:32 AM) jpederse: anilsaldhana:
<a class="moz-txt-link-freetext" 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>
(10:34:44 AM) anilsaldhana: jpederse: the @version is got from
manifesT? <br>
(10:35:28 AM) jpederse: anilsaldhana: from a property in the build
environment<br>
(10:35:53 AM) jpederse: anilsaldhana: manifests generated too<br>
(10:35:55 AM) anilsaldhana: jpederse: IJ build env or the AS build
env? <br>
(10:36:02 AM) jpederse: anilsaldhana: this is IJ<br>
(10:36:41 AM) jpederse: anilsaldhana: aka "JBoss IronJacamar
1.0.6-SNAPSHOT" on my machine currently<br>
<br>
<br>
On 11/01/2011 10:34 AM, Anil Saldhana wrote:
<blockquote cite="mid:4EB0116E.1000400@redhat.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
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 moz-do-not-send="true"
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>
</blockquote>
</body>
</html>