[KDev4] CVS plugin

dukju ahn dukjuahn at gmail.com
Fri Apr 13 19:15:12 UTC 2007


2007/4/13, Alexander Dymo <dymo at ukrpost.ua>:
> On 4/13/07, Andreas Pakulat <apaku at gmx.de> wrote:
> > > Can't the plugin init() be made to return success/failure?
> > There is no init(), thats the whole problem.
> Just a wild guess, can a factory check for cvs executable and refuse
> creating a plugin (like return 0 pointer)? I think that cvs plugin's
> code will be a lot cleaner in case it's written in assumption that cvs
> exists. What if we reimplement KGenericFactory::createObject() to
> return 0's?

But, think about one actual user. Suppose that he didn't install
CVS and now he realized that he should install CVS.
However, after installing CVS, he wouldn't find any CVS menu in KDevelop.
It is only the next time he opened the project secondly -- i.e.
the next time the factory is called.

I think that the user should be able to configure which vcs to use
via project settings page. That's the way KDev3 used.




More information about the KDevelop-devel mailing list