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!

0

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

0
Avatar
Permanently deleted user

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

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
Avatar
Permanently deleted user

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

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

0

请先登录再写评论。