Problem of displaying C++ files correctly through RTCWeb UI
Hello all,
I am importing a legacy C++ project (not written in MSVS) using Elipse RTC plugin. My Elipse Version is 3.6.1 with Build id: M20100909-0800, and the plug in I installed is RTC-Client-p2Repository-2.0.0.2. I tried two ways: import it into Elipse workspace as a general project and then upload to the RTC server by sharing project, 2) install the CDP parser and load it as C++ project and then share the project. For both the above, another user can load it and view it correctly (as text files) via the Eclipse client. But from the Web UI,all the files are shown as binary and thus can not be viewed correctly. Has anyone come across the same issue? Any suggestions of how to make it show as c++ files via the web UI? Thanks, Yingjie |
2 answers
Hi - the workaround is to set the content type of your c++ files to text/plain instead of application/unknown.
1. Select the project in the navigator > Team > Change File Properties... 2. The dialog should list the extensions it discovered, e.g. *.cpp. You can assign them to text/plain (anything text/.... will be displayed as text in web ui). 3. Deliver these changes to your stream If this doesn't help or isn't clear, you can have a look at the related work item at https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/153064 or open your own work item with details on where you need further help. HTH. Christophe Cornu SCM Client Lead Comments
Vivek Iyer
commented Oct 05 '12, 10:59 a.m.
Hi Christophe,
|
HI, Christophe,
It helps. Thanks, Yingjie Hi - the workaround is to set the content type of your c++ files to text/plain instead of application/unknown. |
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.