Attach source to jars

From Bioclipse
Jump to: navigation, search

I just needed to view the source of a class in bc_cdk. Normally I press ctrl+click to jump to the source file, but CDK uses lots of jar libraries without source. So I downloaded the source from and in Eclipse I attached this zip to the jars as follows:

  • Right click on bc_cdk
  • Properties
  • Java build path
  • Libraries
  • Expand a jar that starts with cdk- (e.g. cdk-interfaces)
  • Source attachement
  • Edit
  • point to the zip file

Your workspace will rebuild and the source should be available now.