Description
There are a couple of minor issues in the cgen target directory selection logic:
- when a target directory selected before the project is saved, the relative path is calculated wrong
- when you open the cgen tab after saving the project to maven-project resource path, you don't get the correct path for sources