Monday, May 16, 2011

Adding ECF real time editor sharing support to Ceditor - Eclipse

ECF ( Eclipse Communication Framework ) currently gives  support of real-time editor sharing to the Default Text Editor and The Java code editor . Recently I worked to enable this feature for C editor. With the help of EclipseWiki , I  created a plugin( with a local update site ). It will act as an update site for eclipse on local pc.

I used to build the project
  • Eclipse Helios 3.6.2
  • Ubuntu 10.10   
Minimum requirement for the plugin is Eclipse 3.6 . This plugin may not work in Windows platform . I didn't test it . I used the plugin with Eclipse CDT 7.0.2 .

But before all this you have to install ECF componants in your IDE ( Eclipse Helios or CDT ). To do that go here.

After your ECF installation is done , time is now for adding the real time editor sharing support for the C editor.

  • Extract the file to a directory you prefer.
  • Open the IDE and select help -> Install New Software
  • Click Add .
  • Select Local . Add the following directory .                    /The/directory/where/you/extracted/the/file/ECFc.site.
  • Add a suitable name. Hit OK.
  • Follow the installing guidline and ignore the warning message.     
Additional Info:
  
 I found that in other pc there occurs a problem regarding site . To overcome the situation, open site.xml in ECFc.site directory. Update the url field in the following line


<description url="file:///home/rafee/Desktop/ECFc.site">

Replace url field value as url="file://directory/where/you/extracted/ECFc.site". The path of the directory should be absolute. Hopefully it works for you then ( If you are facing any problem regarding site ). I 
found it works for me in that way.