add code formating to osgi sample