$MODULE_DIR$ setting

I am running JetBrains Idea IntelliJ on Windows XP. How does the $MODULE_DIR$ variable in the IntelliJ "*.iml" file get set? It seems to contain a root directory for the modules or project, but I don't see how it gets set. There is no setting that you can access from the file/settings menu. I have "grepped" through the intellij installation and through my project directory for it, and I don't see where it gets set. It is not an environment variable. It is not in the Registry. It seems to change its value based on the last location of an IntelliJ project I recently used.

2 comments
Comment actions Permalink

It's the directory your module file is in.

0
Comment actions Permalink

Since my module files (the *.iml files) are in the root folder, the $MODULE_DIR$ is always the root dir for me. I would have expected that $MODULE_DIR$ actually points to the module directory instead. Not very helpful.

0

Please sign in to leave a comment.