developing a new part for a build tool
Etay Meiri
etay.meiri at gmail.com
Thu Jul 7 22:59:06 UTC 2005
Thanks Vladimir.
I setup KDEDIRS correctly and ran kbuildsycoca.
The plugin loaded just fine.
-Etay
On 7/4/05, Vladimir Prus <ghost at cs.msu.su> wrote:
> On Saturday 02 July 2005 21:48, Etay Meiri wrote:
> > Hi,
> >
> > I'm trying to develop a new part under buildtools. I copied the
> > custommakefiles to a new directory and renamed all the relevant places
> > in the code/makefiles/rc/desktop files from the original to my
> > specific part (for example, KDevCustomProject --> KDevSimpleProject,
> > CustomPrjectPart --> SimpleProjectPart, etc). I also updated
> > buildtools/Makefile.am to install my part along with the others and I
> > see that the library, rc and destop files were installed along with
> > the regular plugins.
> > I created a small autotools project and renamed the projectmanagement
> > attribute to my part (KDevSimpleProject). However, when I try to open
> > the project I get an error that my project management plugin cannot be
> > found.
> >
> > How can I debug this?
>
> Very wild suggestion: use the "strace -f -o log kdevelop" to log all
> filesystem operations. Check if kdevelop tries to access appropriately named
> library (the one specified in .desktop file for your plugin). If it tries,
> you'll see the paths searched (KDEDIRS/libs, most likely), and can verify
> that the library is there.
>
> If not, try
>
> ktradertest KDevelop/Plugin
>
> and grep for your plugin. If it's not there, you need to install .desktop file
> for your plugin somewhere and (probably), re-run kbuildsycoca
>
> HTH,
> Volodya
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at barney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
--
------------------------------------------------------
Etay Meiri
etay.meiri at gmail.com
More information about the KDevelop-devel
mailing list