Re: CruiseControl Version Number?

Dan Rollo <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
I've also seen this in the jsp reporting app when running in a separate 
tomcat instance, but it "goes away" after the jsp has been pre-compiled 
(or something - not sure exactly how/why). Basically, later refreshes of 
the browser showed the actual substituted values. Not sure why.

Are you in the jsp or dashboard reporting app?

Dan


Date: Thu, 9 Jun 2011 20:53:16 +0100
From: Julian Simpson <[email protected]>
Subject: Re: [Cruisecontrol-user] CruiseControl Version Number?
To: [email protected]

On 8 June 2011 21:53, Chris Beech <[email protected]> wrote:

 > > Hi everyone,
 > >
 > >
 > >
 > > I?m new to CruiseControl and am trying to configure the latest 
version ?
 > > although I have a version number problem which is confusing me.
 > >
 > >
 > >
 > > When I start CruiseControl I get an output on the command line like 
this?
 > >
 > >
 > >
 > > [cc]Jun-08 16:47:36 Main          - CruiseControl Version null null
 > >

How did you install CruiseControl?  When it's built it reads a property file
to get the version number:

main jsimpson$ cat version.properties

version = @VERSION@
version.info = @VERSION_INFO@

That file is read by the code:

jsimpson$ ack version.info
net/sourceforge/cruisecontrol/Main.java
450:     * @return the current version information, as indicated in the
version.properties file.
463:     * Writes the current version information to the logging information
stream.
464:     * @param props the current version information, as indicated in the
version.properties file.
467:        LOG.info("CruiseControl Version " + props.getProperty("version")
+ " " + props.getProperty("version.info"));

So it implies that a build step hasn't been run.

Best

J.



 > >
 > >
 > > ?likewise, when I look at the CruiseControl dashboard I see the 
following
 > > in the top right hand corner of the page?
 > >
 > >
 > >
 > > ${build.version} ${build.version.info}
 > >
 > >
 > >
 > > How can I fix this to show the version of CruiseControl I?m using?
 > >
 > >
 > >
 > > Thanks,
 > >
 > >
 > >
 > > Chris
 > >

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.