Project directory

Kind of the opposite of this, I would like to get the path to the directory that my project is in.

Example: D:\Ignition\data\projects\MyProject

I have some files that I keep in there under version management to give me the rev o f the build etc., and would like to be able to read them.


The code Nick posted in that thread does resolve the projects directory (assuming it’s not overridden by a system property). Just go a step further into your project if you need to.

That code is returning


I am looking for the actual folder my project is in:



Add the output of system.util.getProjectName().

That did it, thanks Phil!