Re: CruiseControl Version Number?

Chris Beech <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <A2ADF7668CEFD74F8683DE6E333CB565011D106E9D8F@MAIL06.curamsoftware.com>
I'm in the CruiseControl JSP, not the dashboard app.

I'm also using the binary distribution, but the pre-compilation suggestion is an interesting one. It looks to me as though the JSP is expecting a version number to come from somewhere and given the format of the version number (${build.version}.${build.version.info} I'm guessing it expects it to come from ant.

So...next question then, is there anything I can do about this given I'm using the binary distribution (2.8.4) of CC?

Thanks,

Chris


-----Original Message-----
From: Dan Rollo [mailto:[email protected]] 
Sent: June-11-11 02:36
To: [email protected]
Subject: Re: [Cruisecontrol-user] CruiseControl Version Number?

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
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.


------------------------------------------------------------------------------
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.