<br><font size=2 face="sans-serif">I think it makes sense. I added a story
to JIRA (http://jira.public.thoughtworks.org/browse/CCRB-120).</font>
<br><font size=2 face="sans-serif">We'll get to it in a few weeks. Or,
it's a good easy story to make a patch for. If you do, please remember
to patch documentation, too. </font>
<br>
<br><font size=2 face="sans-serif">--</font>
<br><font size=2 face="sans-serif">Alex Verkhovsky</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Artem &lt;abublic@gmail.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: cruisecontrolrb-users-bounces@rubyforge.org</font>
<p><font size=1 face="sans-serif">05/14/2007 11:11 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Artem &lt;abublic@gmail.com&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">cruisecontrolrb-users@rubyforge.org,
&quot;Jeff Xiong&quot; &lt;gigix1980@gmail.com&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Cruisecontrolrb-users] build number
to Ant script</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hello Jeff,<br>
<br>
Well, I'm aware of CC_BUILD_ARTIFACTS environment variable. Unfortunately
this<br>
is not what I want. This way I would need to publish<br>
(make a link to) the whole /path/to/ccrb/projects/my_project directory
to show<br>
the build numbers of war files; this is excessive. I would be happy if
there<br>
were also CC_BUILD_NUMBER environment variable equal to 787 in this case.<br>
<br>
Regards,<br>
Artem<br>
<br>
JX&gt; During the build process, you can copy artifacts (e.g. services.war)<br>
JX&gt; to $CC_BUILD_ARTIFACTS directory, which is something like<br>
JX&gt; &quot;/path/to/ccrb/projects/my_project/build-787-success.in32s&quot;.
Does it<br>
JX&gt; work for you?<br>
<br>
JX&gt; On 5/14/07, Artem Vasiliev &lt;abublic@gmail.com&gt; wrote:<br>
&gt;&gt; Hi All!<br>
&gt;&gt;<br>
&gt;&gt; I've just migrated build process from CruiseControl for Java to
new<br>
&gt;&gt; cruisecontrol.rb. All looks great but I'm missing one thing..<br>
&gt;&gt; My project is in Java so I launch Ant builder from cruise_config.rb.<br>
&gt;&gt; In the end it creates and publishes war file. I'm used to having
build<br>
&gt;&gt; number in this file's name, e.g. build 787 corresponds to<br>
&gt;&gt; services-20070514-1550-build.787.war.<br>
&gt;&gt; In Cruisecontrol for Java Ant was given ${label} property with
value '<br>
&gt;&gt; build.787' for this case; in cruisecontrol.rb Ant don't seem to
have this<br>
&gt;&gt; info.<br>
&gt;&gt; May be there's some way to give this info to Ant in cruisecontrol.rb?<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance,<br>
&gt;&gt; Artem<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Cruisecontrolrb-users mailing list<br>
&gt;&gt; Cruisecontrolrb-users@rubyforge.org<br>
&gt;&gt; http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users<br>
&gt;&gt;<br>
&gt;&gt;<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Best regards,<br>
 Artem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;mailto:abublic@gmail.com<br>
<br>
_______________________________________________<br>
Cruisecontrolrb-users mailing list<br>
Cruisecontrolrb-users@rubyforge.org<br>
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users<br>
</font></tt>
<br>