Grunt and SCM in Rational Team Concert
I have some requests from a newly started project that primarily writes JavaScript and uses Grunt for automation, testing, minifying etc. Is there an easy way to integrate Grunt and RTC?
They would like to use RTC as repository, but let Grunt do what it does before checking in their stuff.
I have recommended using the RTC windows shell or the CLI, but there might be a smarter way?
One answer
Shell client to store source code for your application code and scripts is good idea.
Also if you use it to run the tests or deploy on remote machines, you can integrate it with build engine. You can create command line build engine for that: http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.0/com.ibm.team.build.doc/topics/t_build_overview.html?lang=en
Let us know if this is an answer on your question.
Comments
Hi,
Well I was hoping for some kind of API that could enable SCM and Grunt in RTC or a Grunt integration-like feature, like a Grunt enabled build engine :-)
My users have been looking at solutions in Team Foundation, but I will try to sell the RTC approach as we would prefer deploying/build from RTC.
Thx!
API is just such a huge word, not sure what you are looking for. See http://ryehle.wordpress.com/2011/12/21/adding-a-custom-ant-task-to-your-build-toolkit/ for how to create custom ANT tasks for example.
See
-
https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
- https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/
for entry points to the RTC API's.
Hi,
Yes sure it is :)
We are in the process of moving sources from existing source places to RTC and have created ant tasks to perform the building, checking, uploading of source etc. I just wanted to see if someone had any experience with Grunt inside of RTC or if there was a Grunt build template or something. I think I have seen some BlueMix Grunt stuff.
Thanks.