Dirty files

Andreas Pakulat apaku at gmx.de
Sun May 16 14:27:08 UTC 2010


On 16.05.10 15:46:01, Esben Mose Hansen wrote:
> On Sunday 16 May 2010 13:45:03 Milian Wolff wrote:
> > The last step could be automatically done, David once did that for project-
> > internal files. Lets see whether we can do it for generated files as well.
> 
> It should be easily enough we KDirWatcher, but I am not enough at home with 
> KDevelop to be able to see which part should be responsible for this. What 
> part has the dependency information? And what part can schedule files for 
> reparsing?

You cannot use KDirWatch to watch all files or includes of a project, at
least you cannot expect that to work on all systems. The reason is that
the underlying notification systems usually have limits as to how many
files can be watched at the same time.

And seeing that KDirWatch is buggy and not threadsafe (see the various
bugreports we have for cmake) I don't think its a useful solution at
all.

Apart from that I didn't have that problem yet at all here, when I
changed something in the .ui file the generated header was reparsed at
the latest when I started to type into the .cpp that used the header.

Andreas

-- 
You never hesitate to tackle the most difficult problems.




More information about the KDevelop-devel mailing list