1

I'm currently using svn, and I'm using git-svn to checkout the project. I then tried to import the project into Intellij, and it kinda worked, but all the .iml files were red in color (don't know why, no errors as far as I could see).

I then tried what was suggested in this post - Import an existing Git repository into IntelliJ IDEA

ie, opening the directory as a project and configuring the git root, same problem again.

When I try compiling the project I get manifest errors that just says - -manifest while reading manifest file(invalid header field)

My project is a multi-module maven project. Any ideas would be helpful cuz I'm stumped!

Community
  • 1
  • 1
Vivek Rao
  • 576
  • 4
  • 25
  • Red files are those that are not added to git. if you `git status` you should be able to see the files you can add. You might want to add `*.iml` to your `.gitignore` file. – bfitzpatrick Jul 02 '13 at 19:43
  • ohh ok, so they're not related to the compilation failures then? – Vivek Rao Jul 03 '13 at 12:20
  • I don't think so. Just Intellij. Red are untracked files, green are newly added, and blue are modified. They will turn back to white after you commit. – bfitzpatrick Jul 03 '13 at 14:49

1 Answers1

0

With IntelliJ, you should see those same red files in the Local Changes view:

https://www.jetbrains.com/help/img/idea/2019.2/Git_file_status.png

Except this time, those red files are clearly listed under the "Unversioned file" section, which shows this is not a compilation error, but a VCS code color convention.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250