It's all about the answers!

Ask a question

RTC with CruiseControl


Srinath TV (36105) | asked Dec 17 '09, 1:38 a.m.
Hi,

I used to use CruiseControl with Visual Source Safe (VSS) and it worked great. Recently I started using RTC and want to re-use CruiseControl with the same too.
After extensively searching on Internet, I could not find even a single example of how that can be done.. Please help.
I saw an example using Hudson, but none for CruiseControl with RTC. I guess, I need to change settings under <sourcecontrol> tag of config file, but what exact changes are to be done, I have no clue .. If I am lost, please show me right direction and guide as in how can that be done.
Will appreciate any help with code snippet too.

Thanks a lot.
Regards,
Geny

7 answers



permanent link
Alex Chen (6123) | answered Dec 17 '09, 3:01 a.m.
Hi,

I used to use CruiseControl with Visual Source Safe (VSS) and it worked great. Recently I started using RTC and want to re-use CruiseControl with the same too.
After extensively searching on Internet, I could not find even a single example of how that can be done.. Please help.
I saw an example using Hudson, but none for CruiseControl with RTC. I guess, I need to change settings under <sourcecontrol> tag of config file, but what exact changes are to be done, I have no clue .. If I am lost, please show me right direction and guide as in how can that be done.
Will appreciate any help with code snippet too.

Thanks a lot.
Regards,
Geny



Hi Geny,

Jazz has a similar tool named "Jazz Build Engine", which does the same job of CruiseControl, and has better integration with RTC.

I think you have build scripts like Ant to build your product, and let CruiseControl to do continue product integration, in this case, it's very easy to let "Jazz Build Engine" to help you do continue product integration.

Here's a introduction: http://jazz.net/library/article/38 ,
And you also can refer JUnit same project shipped with RTC, it include a live sample on how to create a build definition, a build engine etc.

Wish this help!
--Alex

permanent link
Claudio Gonzalez (21141) | answered Dec 17 '09, 9:41 a.m.
Hi Alex,

I'm using the Jazz Build Engine but I couldn't execute the engine (jbe) as a windows service, that is useful for a dedicated build server. Is there a way to execute the build engine as a service without a logged user?

permanent link
Alex Chen (6123) | answered Dec 21 '09, 10:14 a.m.
Hi Alex,

I'm using the Jazz Build Engine but I couldn't execute the engine (jbe) as a windows service, that is useful for a dedicated build server. Is there a way to execute the build engine as a service without a logged user?


Please read this wiki page: https://jazz.net/wiki/bin/view/Main/JbeAsAWindowsService

permanent link
Srinath TV (36105) | answered Dec 22 '09, 1:23 a.m.
Hi,

I used to use CruiseControl with Visual Source Safe (VSS) and it worked great. Recently I started using RTC and want to re-use CruiseControl with the same too.
After extensively searching on Internet, I could not find even a single example of how that can be done.. Please help.
I saw an example using Hudson, but none for CruiseControl with RTC. I guess, I need to change settings under <sourcecontrol> tag of config file, but what exact changes are to be done, I have no clue .. If I am lost, please show me right direction and guide as in how can that be done.
Will appreciate any help with code snippet too.

Thanks a lot.
Regards,
Geny



Hi Geny,

Jazz has a similar tool named "Jazz Build Engine", which does the same job of CruiseControl, and has better integration with RTC.

I think you have build scripts like Ant to build your product, and let CruiseControl to do continue product integration, in this case, it's very easy to let "Jazz Build Engine" to help you do continue product integration.

Here's a introduction: http://jazz.net/library/article/38 ,
And you also can refer JUnit same project shipped with RTC, it include a live sample on how to create a build definition, a build engine etc.

Wish this help!
--Alex

Thanks Alex,
So, I was trying to explore JBE, but all examples and tutorials are based using Eclipse, even I downloaded Build System Toolkit, it seems to be Eclipse compatible .. while I am using Visual Studio 8. Any help? Link fo Build System Toolkit for Visual Studio ?
I had everything well settled for CruiseControl, now have to start everything from scratch using JBE, any article from scratch using Visual Studio 8.. Please help ..

permanent link
Alex Chen (6123) | answered Dec 22 '09, 3:12 a.m.
Hi,

I used to use CruiseControl with Visual Source Safe (VSS) and it worked great. Recently I started using RTC and want to re-use CruiseControl with the same too.
After extensively searching on Internet, I could not find even a single example of how that can be done.. Please help.
I saw an example using Hudson, but none for CruiseControl with RTC. I guess, I need to change settings under <sourcecontrol> tag of config file, but what exact changes are to be done, I have no clue .. If I am lost, please show me right direction and guide as in how can that be done.
Will appreciate any help with code snippet too.

Thanks a lot.
Regards,
Geny



Hi Geny,

Jazz has a similar tool named "Jazz Build Engine", which does the same job of CruiseControl, and has better integration with RTC.

I think you have build scripts like Ant to build your product, and let CruiseControl to do continue product integration, in this case, it's very easy to let "Jazz Build Engine" to help you do continue product integration.

Here's a introduction: http://jazz.net/library/article/38 ,
And you also can refer JUnit same project shipped with RTC, it include a live sample on how to create a build definition, a build engine etc.

Wish this help!
--Alex

Thanks Alex,
So, I was trying to explore JBE, but all examples and tutorials are based using Eclipse, even I downloaded Build System Toolkit, it seems to be Eclipse compatible .. while I am using Visual Studio 8. Any help? Link fo Build System Toolkit for Visual Studio ?
I had everything well settled for CruiseControl, now have to start everything from scratch using JBE, any article from scratch using Visual Studio 8.. Please help ..

If your project can be build by Ant, Maven, or even command line, then you can using JBE to do continue product integration.

Even JBE has been implemented as an Eclipse Application, it can be used independent of Eclipse.

RTC also has an integration with Visual Studio, you can try it, https://jazz.net/downloads/rational-team-concert/releases/2.0.0.2?p=allDownloads , I suggest you start to use Express-C edition because it's free, https://jazz.net/downloads/rational-team-concert/releases/2.0.0.2/RTC-ExpressC-VS-Client-2.0.0.2-Win32-Local.zip

permanent link
Srinath TV (36105) | answered Dec 23 '09, 2:09 a.m.
Hi,

I used to use CruiseControl with Visual Source Safe (VSS) and it worked great. Recently I started using RTC and want to re-use CruiseControl with the same too.
After extensively searching on Internet, I could not find even a single example of how that can be done.. Please help.
I saw an example using Hudson, but none for CruiseControl with RTC. I guess, I need to change settings under <sourcecontrol> tag of config file, but what exact changes are to be done, I have no clue .. If I am lost, please show me right direction and guide as in how can that be done.
Will appreciate any help with code snippet too.

Thanks a lot.
Regards,
Geny



Hi Geny,

Jazz has a similar tool named "Jazz Build Engine", which does the same job of CruiseControl, and has better integration with RTC.

I think you have build scripts like Ant to build your product, and let CruiseControl to do continue product integration, in this case, it's very easy to let "Jazz Build Engine" to help you do continue product integration.

Here's a introduction: http://jazz.net/library/article/38 ,
And you also can refer JUnit same project shipped with RTC, it include a live sample on how to create a build definition, a build engine etc.

Wish this help!
--Alex

Thanks Alex,
So, I was trying to explore JBE, but all examples and tutorials are based using Eclipse, even I downloaded Build System Toolkit, it seems to be Eclipse compatible .. while I am using Visual Studio 8. Any help? Link fo Build System Toolkit for Visual Studio ?
I had everything well settled for CruiseControl, now have to start everything from scratch using JBE, any article from scratch using Visual Studio 8.. Please help ..

If your project can be build by Ant, Maven, or even command line, then you can using JBE to do continue product integration.

Even JBE has been implemented as an Eclipse Application, it can be used independent of Eclipse.

RTC also has an integration with Visual Studio, you can try it, https://jazz.net/downloads/rational-team-concert/releases/2.0.0.2?p=allDownloads , I suggest you start to use Express-C edition because it's free, https://jazz.net/downloads/rational-team-concert/releases/2.0.0.2/RTC-ExpressC-VS-Client-2.0.0.2-Win32-Local.zip

Hi Alex,
So, I downloaded and installed the client for Eclipse(for Team Concert Client) and Standard full(for Jazz Build Toolkit), even though I was developing my project with Visual Studio and RTC for VS, I was successfully able to implement this example --> https://jazz.net/wiki/bin/view/Main/CommandLineBuild on my local machine.
However, when I started trying this example --> http://jazz.net/library/LearnItem.jsp?href=content/docs/client-tour/using-build.html I got stuck in the very first step ( Creating a build script ), as I don't see any "package explorer" in Team Concert Client, please help.. Where was I wrong? (not even through Window->Show view on Team Concert Client).

Plus, how to create build script? If I want to create one manually? what are syntax specifications etc ? details/tutorial on the same? Because, Build script is something which basically is the basis of logic, I guess? Please help,... Thanks so much ..

permanent link
Srinath TV (36105) | answered Dec 23 '09, 2:12 p.m.
Hi,

After being suggested to use JBE instead of CruiseControl, I have been exploring more about it .. I almost finished this video -> http://jazz.net/library/video/283 on (Part 3 - Getting started with Rational Team Concert and Microsoft Visual Studio).

However, around 7:14, under Build definition, author sets " cmd /c c:\demoblank\buildScript\build.bat " in the Command text box, and sets some arguments in the Argument field. Also command line-JBE was chosen. Please help me in creating a batch file for the same.. I have no idea, how was "build.bat" created, it's content/syntax etc .. A simple code snippet will help a lot. Thanks..

Also, I was thinking, can't we make/use Ant-JBE with Visual Studio? If yes, how? Though, I really want to complete this video tutorial's implementation, and can't do it fully, until I create build.bat .. without which it's completing build, but no links for download etc, as shown in tutorial.. Please help me create a batch file for the same.. Thank you so much...

Thanks,
Geny

Your answer


Register or to post your answer.