NB + Git - detecting externally changed files

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

NB + Git - detecting externally changed files

Mitch Claborn-2
Fairly frequently, I have a code generation process that runs outside of
NetBeans that changes some of my Java source files, in projects that use
git as the source control. Most of the time when I use this process, the
externally updated files are not detected by NetBeans.  When I do a git
-> show changes, the changed files are not listed. Same with a commit.
The only way I've found to cause NetBeans to realize that the file has
changed is to open the file and make an innocuous change in the source code.

1. Is this a bug or the intended behavior?
2. Is there a way to force NetBeans to scan the source files or
something looking for external changes?