It's all about the answers!

Ask a question

RTC loads to a different path when using the Rational Build Forge Agent.


Joshua Widmer (5611) | asked Dec 11 '13, 4:39 p.m.

Currently I am trying to load the 2014RTC1 Workspace D12 into my build machine from Rational Team Concert using Rational Build Forge.  The following command works fine from the command prompt of the local windows 2003 server.  lscm load --all -r jazz98 "2014RTC1 Workspace D12" .  If I work from the local command prompt it works as expected and loads the workspace into the local path C:\Code\2014RTC1
Now if I use the Build Forge Agent instead of loading files into C:\Code\2014RTC1, the jazz files get created in F:\builds\BETS_-__Rel_Scripts_2014RTC1\BETS_AcceptTest5\.jazz5.  The problem with this is that RTC now does not see any new changes when I use the accept command.  I want to use Build forge to load workspaces and accept new changes from the command line.


328 12/11/13 4:12 PM ENV VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
329 12/11/13 4:12 PM ENV VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
330 12/11/13 4:12 PM ENV windir=C:\WINNT
331 12/11/13 4:12 PM EXEC Performing variable expansion on command line
332 12/11/13 4:12 PM SCRIPT rem to load everything workspace is only for d12 use
333 12/11/13 4:12 PM SCRIPT rem mkdir C:\Code\2014RTC1
334 12/11/13 4:12 PM SCRIPT cd C:\Code\2014RTC1
335 12/11/13 4:12 PM SCRIPT lscm load --all -r jazz98 "2014RTC1 Workspace D12"
336 12/11/13 4:12 PM EXEC start [F:\builds\BETS_-__Rel_Scripts_2014RTC1\BETS_AcceptTest5@MASDCBETD012]
337 12/11/13 4:12 PM EXEC Successfully loaded items into the sandbox.
338 12/11/13 4:12 PM EXEC end [F:\builds\BETS_-__Rel_Scripts_2014RTC1\BETS_AcceptTest5@MASDCBETD012]


Comments
Spencer Murata commented Dec 11 '13, 5:18 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

What relative path did you give the BFA command?  Are you using the SCM participant?


~Spencer 


Shashikant Padur commented Dec 11 '13, 11:11 p.m. | edited Dec 11 '13, 11:11 p.m.
JAZZ DEVELOPER

As I see from your steps the 'mkdir' call is commented out and so the following 'cd' step may have failed. If that is the case then the load command would load the workspace into the current working directory.

Alternatively you could use the -d option to load the files into a specific directory. The directory will be created if it does not exist.

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.