Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete or update the kaitai_struct_visualizer_java.iml file #22

Open
generalmimon opened this issue Jul 4, 2022 · 1 comment
Open

Comments

@generalmimon
Copy link
Member

When I see the following:

<orderEntry type="library" name="Maven: io.kaitai:kaitai-struct-runtime:0.5-SNAPSHOT" level="project" />
<orderEntry type="library" name="Maven: io.kaitai:kaitai-struct-compiler_2.11:0.5-SNAPSHOT" level="project" />

it is a clear sign that something needs to be done with this file. IIRC, nowadays it is automatically regenerated by IntelliJ IDEA anyway, so it would be best to remove it and Git should ignore all *.iml files.

@dgelessus
Copy link

Yep, the .idea directory and *.iml files should be deleted and put into .gitignore. We already have a Maven build, and as you say, IntelliJ uses that to automatically generate its own project files.

In my experience, having an existing IntelliJ project in the repo is actually less convenient, because then when you import the Maven build, the generated project files collide with the ones from the repo. At best you only get some unnecessary Git changes, at worst the resulting project behaves unexpectedly/wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants