It's all about the answers!

Ask a question

Using RTC with Cmd Line and External Editors


Wes Gyure (62) | asked Apr 24 '09, 4:51 p.m.
In our development environment most of our team works @ home, but remotely off of development machines in the lab for daily development. Due to the remote development we are using command line tools with the current source repository. We have noticed that you can use external editors like emacs, etc to modify the code in your workspace - however the tricky part is getting RTC to notice you have made changes. Once you make the change with the editor you could open RTC and do a refresh on the source tree and the change would be noticed..... Is there an equivalent way to do this with the command line?

2 answers



permanent link
Anthony Kesterton (7.5k7180136) | answered Apr 26 '09, 4:23 p.m.
JAZZ DEVELOPER
In our development environment most of our team works @ home, but remotely off of development machines in the lab for daily development. Due to the remote development we are using command line tools with the current source repository. We have noticed that you can use external editors like emacs, etc to modify the code in your workspace - however the tricky part is getting RTC to notice you have made changes. Once you make the change with the editor you could open RTC and do a refresh on the source tree and the change would be noticed..... Is there an equivalent way to do this with the command line?


Hi

You could try the commandline tools for RTC (and probably get emacs, etc to do the calls for you without having to dive back into RTC each time). Check the RTC client Help - search for commandline.

Alternatively, I have tried (while doing some performance testing) using a remote connection to a desktop machine running an RTC Eclipse client (on another continent). That worked well and seemed quite usable.

anthony

permanent link
Evan Hughes (2.4k1318) | answered Apr 27 '09, 9:44 a.m.
JAZZ DEVELOPER
...Once you make the change with the editor you could open RTC and do a refresh on the source tree and the change would be noticed..... Is there an equivalent way to do this with the command line?


It sounds like you want to commit your changes to your remote workspaces. If that's the case, then you should run

$ scm checkin {files-and-folders-to-commit}


to copy your changes to your remote workspaces and then

$ scm deliver {change-sets-to-push}


to push your changes to the stream.

e

Your answer


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.