idea does not write iml files in headless mode Follow
Answered
Hi... I have some code that imports a project from a pom file. In headed mode this creates the project metadata files and an iml file for each module, as expected.
However in headless mode, no iml files are written. The modules seems to be constructed properly though, in that they have the correct dependencies etc.
Can anyone give me a pointer to where I should be looking to see where the iml files are written to disk? I am struggling to debug this.
I have set:
applicationEx.doNotSave(false)
which at least means that the .idea directory is created, although it only contains .name, misc and workspace.xml files.
Thanks in advance, jamie
Please sign in to leave a comment.
Duh, this turned out to be as simple as setting ApplicationEx.doNotSave(false) then just project.save().