Re: CruiseControl Version Number?

Julian Simpson <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[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
>
>
> 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
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>


-- 
Julian Simpson
The Build Doctor Ltd.
http://www.build-doctor.com
[email protected]
(+44) 207 183 0323

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