trouble with project file loading

Jens Herden jens at kdewebdev.org
Fri Aug 18 20:13:23 UTC 2006


On Saturday 19 August 2006 02:30, Matt Rogers wrote:
> On Friday 18 August 2006 12:39, Jens Herden wrote:
> > Hi,
> >
> > KDevelop is using the default value for the "Project Management" entry in
> > the project file every time a local project file under .kdev4 exists. I
> > saw this because we are using a Quanta project manager and it gets only
> > loaded when there is not file under .kdev4!
> > I think KDevelop will do this for all entries that are in the project
> > file but not in the local one under .kdev4 when you use
> > KDevConfig::standard().
> >
> > Is this supposed to be a bug in kdelibs or is it how it should work?
> >
> > Jens
>
> I'm not sure what you mean by this. Are you saying that there is a local
> project file in your hidden .kdev4 directory and that's messing up the
> project loading?

Yes, that is what I mean.
I have this line in a *.kdev4 file:
Project Management=KDevQuantaProject

This is supposed to load our Quanta specific implementation of KDevProject. 
This is working fine when I do not have a file in the .kdev4 folder. But once 
I have opened the project I will get this file in .kdev4 but there is no line 
with "Project Managment" inside. Next time I open the same project the 
framework will not take the Quanta project but the default one. So I suspect 
that the access to this configuration entry does not take in account the 
global project file but just returns the default value when it can not find 
the value in the local project file. 
I addmit that I did not really debug this, so if you say this is wrong I will 
look into it deeper.

> Does your project manager (i assume you mean file manager here) have a
> desktop file with the appropriate entries in it? It needs to have all the
> various KDevelop entries that are defined in kdevfilemanager.desktop and
> also X-KDE-PluginName as well.

Everything is fine the first time so it is not an issue with the *.dektop file 
I guess.

Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20060819/9fdfba2e/attachment.sig>


More information about the KDevelop-devel mailing list