JBIDE-17706 - Build failures on Jenkins

Changing the way the .project file content is replaced.