Thursday, July 25, 2013

ECF Plug-in Development -Part 2


Before you can run an exiting ECF project you need to have set ECF in your target platform.In this case I am trying to run OSGi Remote Service Host Example .If you haven not set the ECF in the target platform for the workspace you will be getting some errors like this.Even though you will not see these errors until you try to run the example.


     org.eclipse.ecf.examples.remoteservices.hello,
     org.eclipse.ecf.osgi.services.distribution,
     org.eclipse.ecf.remoteservice

 Install the ECF SDK into Eclipse

Go to Help> Install New Software
In the new window click the the Add button on the right.
And type ECF for the name put the following url for the Location field.

 http://download.eclipse.org/rt/ecf/3.6.1/site.p2 









Select the Eclipse Communication Framework (ECF) check box. And click next.
And ECF SDK will be installed.

After that 
Goto Window>Preferences>Plugin Development>Target Platform.
And. ECF Remote Services to the active target platform.



 

WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9279

 

 If you get an error when trying run an OSGi example or a project way to resolve this is to use the disable R-OSGi when you start the eclipse.


 You can do it by using the following command.

./eclipse -vmargs -Dch.ethz.iks.r_osgi.registerDefaultChannel=false
 


You can learn more about ECF OSGi Remote Services from this link.





Tuesday, July 16, 2013

Useful software Ubuntu

System Load  Indicator


This will add the CPU, RAM, Network and HDD usage meters to the taskbar so user can quickly get an idea about the system.We can see more detailed information about the system as well from the system monitor window.

Add the repository by typing the following line in terminal
sudo add-apt-repository ppa:indicator-multiload/stable-daily
To update and to install run the following two commands.
sudo apt-get update
sudo apt-get install indicator-multiload

Or you can download it from the software center.






Xfburn-CD/DVD burning tool

This is useful for creating CDs and DVDs from files on your computer or ISO images downloaded from elsewhere.You can install it from software center or run the following command in the terminal.

sudo apt-get install xfburn




KSnapshot

KSnapshot is a simple applet for taking screenshots. It is capable of capturing images of either the whole desktop, or just a single window. The images can then be saved, or passed to another application using drag and drop.

sudo apt-get install ksnapshot