[KDev4] CVS plugin
Matthew Woehlke
mw_triad at users.sourceforge.net
Thu Apr 12 22:00:16 UTC 2007
Andreas Pakulat wrote:
> On 12.04.07 22:10:55, Andras Mantia wrote:
>> On Wednesday 11 April 2007, Andreas Pakulat wrote:
>>> And I just disabled it again, sorry. We first need a CMake macro to
>>> check for cvs-existence, so we can conditionally compile cvs plugin.
>> Without looking at the code: does it really need a cmake check? If it
>> depends on the cvs executable, I doubt we should check for it at
>> compilation time.
>
> Yeah, already commented about that. The problem is that CVS will fail
> (silently or loud) when trying to execute an action, because we can't
> check for the executable before loading the plugin.
Can't the plugin init() be made to return success/failure? It seems
reasonable that other plugins might have runtime dependencies that can
only be verified by loading (in the dlopen() sense) the plugin and
asking it if it has what it needs to be useful.
--
Matthew
GDRLaH - Grin, Duck, and Run Like a Hippo! :-)
More information about the KDevelop-devel
mailing list