library, remove source property
get IResource instead of IFile, bug when construct directly in a Project
IResource