Simplify eclipse resource code: break out the project-specific logic