updated so that the resources are added to eclipse sources(if required)