ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB v10 Auto Build & Deployment (RTC)

Post new topic  Reply to topic
 IIB v10 Auto Build & Deployment (RTC) « View previous topic :: View next topic » 
Author Message
Partha.Baidya
PostPosted: Tue Mar 28, 2017 1:56 pm    Post subject: IIB v10 Auto Build & Deployment (RTC) Reply with quote

Voyager

Joined: 05 Nov 2009
Posts: 97

I am working on to create an Ant script for IIBv10 Automatic build & deployment. My source control is RTC (Rational Team Concert).
I want to know if anybody has experience using RTC with IIB/WMB.

I am able to copy/checkout all the projects from RTC but not able to copy/checkout specific project from RTC.

Could anybody with RTC experience help me?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Mar 29, 2017 4:34 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Perhaps you should show your ant task.

in a
Code:
code
block.

I haven't looked, but I would be surprised if the RTC documentation doesn't cover this question.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Partha.Baidya
PostPosted: Wed Mar 29, 2017 6:46 am    Post subject: Reply with quote

Voyager

Joined: 05 Nov 2009
Posts: 97

Hi mqjeff, please find the ant target to get the code from RTC source control
Code:
<?xml version="1.0"?>
<project name="scmLoad" default="load.broker.projects">
   <target name="load.broker.projects" description="This ant target copies broker projects files from Subversion to broker toolkit workspace.">
      <property file="Windows.props" description="Paths to executables as required for different Operating System" />
      <property name="cmd.scm" value="C:\RTC\jazz\scmtools\eclipse\scm.exe" description="Exact command name for RTC command line depending on OS" />
      <property name="toolkit.home" value="C:\Program Files (x86)\IBM\IntegrationToolkit90"/>
      <property name="rtc.home" value="D:\Workspace\RTC" />
      <property name="bar.name" value="${ant.bars.basedir}\TestFlow.bar" />
      <property name ="workspace.dir"  value="D:\RTCDemo" />   
      <property name="rtc.repository.workspace" value="Demo Workspace" description="Name of the remote RTC workspace" />
       <property name="rtc.repository.component" value="IIB" description="Name of component in remote RTC workspace" />      
      <echo message="Invoking the broker master ant script file..."/>      
      <echo message="Completed invoking the broker master ant script file."/>
      <echo message="***********************************************************"/>
      <echo message="Building the Message Broker Project ${workspace.dir}" />
      <echo message="Loading projects in ${rtc.home} with RTC" />
      <exec executable="${cmd.scm}" failonerror="true">
         <arg value="load" />
         <arg value="-r" />
         <arg value="${repository.URI}" />
         <arg value="-u" />
         <arg value="${repository.userID}" />
         <arg value="-P" />
         <arg value="${repository.password}" />
         <arg value="-d" />
         <arg value="${workspace.dir}" />
         <arg value="${rtc.repository.workspace}" />
         </exec>
      <echo message="*****Broker Auto Build and Deploy is Successfully Complete.*****"/>
      <echo message="*****Broker Auto Build and Deploy is Successfully Complete.*****"/>
      <echo message="***********************************************************"/>
   </target>
</project>


I checked the RTC documentation but could not find any command to get project specific code from RTC.
Following is the RTC command line tools url.

https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/load.html&scope=null

I am using a command called load to get the projects from source control.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Mar 29, 2017 9:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

RTC doesn't work like SVC.

You do need to pull down an entire workspace. Then you can either replace that with a snapshot or accept one or more changesets into the workspace.

This makes the files in the local directory at the needed level. Then you can run mqsi*** or iib *** against the workspace.

You'll have to talk to your RTC admins about how things are set up and how code is organized into components and streams and etc. etc. etc....

Or if not your RTC admin, then a lead developer/dev ops person.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB v10 Auto Build & Deployment (RTC)
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.