Source file issue upon SVN update

Sometimes when I update my code base and new files / dependencies are added, it seems as if IntelliJ does not pick them up, even on an invalidation of caches.  Has anyone seen this?  Could it be the content root in the modules tab not being updated?

Thanks!

5 comments
Comment actions Permalink

What OS do you use? IDEA version? Any symlinks/junctions?

0
Comment actions Permalink

Mac os x
Intellij 10.0.2

I do use symlinks sometimes.  Another symptom I see is that Java classes normally have a C with a blue cicle around it.  With the source file issues, some of the files have a red slash through them.  

0
Comment actions Permalink

Try to avoid symlinks in the project and library paths. Red circle means that the file doesn't belong to any of the module source roots.

0
Comment actions Permalink

Thanks.  I believe the red might happen when I create new files or svn update new files after my initial project was created.  What's the best way to get them added to the content root (other than manually adding the content root in the project structure)

0
Comment actions Permalink

You should manually add all your source roots once and forget it.

0

Please sign in to leave a comment.