Where is the name of project stored?

Answered

Created a new project with OldName. If I change Project name via Project Structure/Project Settings/Project/Project - .name is created. But where is the original Project name stored until an appearance?

0
7 comments

Hello,

Sorry, could you please clarify a bit? Do you mean that project is created with some old name automatically?

0

Yaroslav Bedrov , sorry for the confusion. Step by step: 

  1. Create new Java project with name “FirstName".  A project directory (content root) with .idea will appear. And a module (FirstName) .iml will also appear in that directory.
  2. Change Project name via Project Structure/Project Settings/Project/Project for “SecondName”. 
  3. .name with “SecondName” is created. 
  4. After that I can assert: “Project name is stored in .name”.
  5. But where is the project name stored until renaming? Is it just feature IntellijIDEA? 
  6. If my question is silly - please, feel free to call it silly.
0

Could you please clarify where you set “Project name is stored in .name”? 

0

Thanks! Pretty old version is used. In newer versions name is stored in XML file in “<configuration_folder>/workspace”.

1

Yaroslav Bedrov understood, thank you so much.

0

Please sign in to leave a comment.