handle eclipse warning in portfolio packages