Get project directory?

I'm trying to get the directory for projects, but because I have conf set to"C:\IgnitionProjects" (so i can use git without mucking with permissions) I can't use SystemManager::getDataDir.

Is there another way to get the project directory directly or will I just have to read the ignition.conf file?

Read the system prop, use that directory if it exists, otherwise fall back to resolving it from the data dir as a base.

1 Like

Thanks, how do i read the system property?

The property key is "ignition.projects.dir".