How to Save Project Configuration for distribution to other devs

Answered

I am a .Net developers.  
We have these wonderful files, called Solution and Project files (.sln, .csproj) that allow us to commit our work to GIT, and another developer can clone that repo and open in Visual Studio without any issues.  

So now I have a java project.  I have defined the modules to be used in the project, three different modules are defined, for Application, Application-ear, Application-web, with defined pom files for each of the three modules.  It builds, runs, and it even works with ADO build pipelines.  However, even though all source files, the pom files, the .project files, the .classpath files, the .idea folder are all being committed to GIT, when I clone the repo on another computer, I have to reconfigure the project as if I had never done any of that before.  Why?  The defined modules are no longer in the Project Structure, as if that data is stored not part of the project I'm working on.

Please, help me understand where the central “intellij” project file or configuration is,. so I can open it across multiple developer machines, and have it load identically on all of them without any work from the other devs.  They should clone, open, and build.  period.  nothing on their system or setup should have to be done in order for the project to be cloned and worked on..  

Thanks 

Jaeden “Sifo Dyas” al'Raec Ruiner

0
1 comment

Please see https://intellij-support.jetbrains.com/hc/en-us/articles/206544839.

For the Maven-based projects, IDE should sync the module configuration automatically from pom.xml when you open the project for the first time, and we no longer store these generated module files in .idea directory for the projects based on the external build system (Maven, Gradle, etc.)

If it still doesn't work for you, please contact support at https://intellij-support.jetbrains.com/hc/requests/new and share a sample project that doesn't open as expected.

0

Please sign in to leave a comment.