When the model has directory structure like this:
SomeProject
- model
- SomeProject
- Root
- Security
…
- l10n
- .gitignore
The model path in OrigamSettings.config should be “…\SomeProject\model”.
But it is possible to set it to “…\SomeProject” which will allow the model to be loaded with no problem in Architect. When you change an entity in the SomeProject package and save changes a new file along with a banch of folders will be created:
SomeProject
- model
- SomeProject
- Root
- Security
…
- l10n
- .gitignore
- SomeProject
- DataEntity
- SomeProject
-someEntity.origam
- SomeProject
- DataEntity
So a check should be probably implemenetd to avoid this. Is it ok to check whether the sub folders in the model folder contain *.origamPackage files (that is they are package folders)?