You can run Detect from any directory. If you are not running Detect from the project directory, provide the project directory using the source path property. When that property is not set, Detect assumes the current working directory is the project directory.