It's all about the answers!

Ask a question

VisualStudio client doesn't detect the changes


Angelo Corna (25948270) | asked Jan 14 '13, 11:04 a.m.
edited Jan 14 '13, 11:47 a.m. by Ralph Schoon (60.5k33643)
In order to preserve the history, we've imported a VisualStudio solution from SVN to RTC without errors.
We can load into a repository workspace the component with the solution but, if we change a file of the solution, the pending changes view doesn't detect the change.
In order to display the change we can refresh the pending changes view with the option "refresh sandbox and remote change".
No problems if we share a local solution (the changes are detect without problems). 

Comments
Tim Mok commented Jan 14 '13, 11:39 a.m.
JAZZ DEVELOPER

Did you import from SVN using SVN Importer in the RTC Eclipse client? And now you're using the Visual Studio RTC client to work on your solution but changes aren't detected in Pending Changes?

It might help if you post the RTC client you're using and the version.


Angelo Corna commented Jan 14 '13, 12:27 p.m. | edited Jan 14 '13, 1:37 p.m.

yes. We've imported from SVN usingĀ SVN Importer in the RTC Eclipse client and now we're using the Visual Studio RTC client to work on your solution but changes aren't detected in Pending Changes.


The RTC client version is 4.0.1.
The RTC server version is 4.0.1.
Same behavior on VisualStudio 2008 and 2010


Tim Mok commented Jan 14 '13, 1:48 p.m.
JAZZ DEVELOPER

I'm not sure what can be causing this behaviour for you. It usually happens when users are editing the files with a different program instead of using one of the RTC clients. I suggest opening a defect against Source Control for this and post screenshots of what your Pending Changes looks like.

2 answers



permanent link
Krishna Kishore (50112) | answered Jan 28 '13, 9:43 p.m.
JAZZ DEVELOPER
Importing the source and sharing in RTC is the first step, with VS you would also need to tell the IDE that the solution and projects are under source control. VS will only know about the source control information if the solution and project files contain source control(SCC) bindings. To add the SCC bindings open the solution in VS, right click on the solution in Solution Explorer and select the option "Share Project(s) in Jazz", since the project is already shared in RTC, this operation will just add the SCC bindings to the solution and project files. Once the operation is completes deliver the modified solution/project files. With the SCC bindings in place VS now will inform RTC when ever a files gets modified within the VS IDE and you will see pending changes getting updated automatically. The another advantage with adding the bindings is that many RTC options will be enabled on the context menu of Solution Explorer along with the glyphs. Refer to https://jazz.net/library/article/117 for more information.

Note: If you are not interested in adding source control bindings, you can enable the option "Automatically detect when the file is changes outside the environment", this option is available from Tools->Options->Source Control->Jazz Source Control->Changes. Checking this will automatically update the pending changes view but will not enable the Solution Explorer context menu with the RTC menu items and will not show the RTC glyphs in the Solution explorer.

permanent link
Angelo Corna (25948270) | answered Jan 15 '13, 4:11 a.m.
defect  247347 opened

Your answer


Register or to post your answer.