Create a new xOCL project.
Implement and launch it.
It will show an editor with a single root class.
Now rename the root class in the xOCL project.
Implement it (discard current editor).
The generated code will contain error and will not run.
It should be possible to rename the root class in a project.