"Andy Cutright" <Andy.Cutright@borland.com> wrote on 01/05/2005 05:12:13 
PM:
> we're developing an eclipse plugin. we're exploring including the
> subclipse plugin as a dependency. i've created a run configuration,
> which works fine for our plugin. however, i can't seem to get the javahl
> libraries/ fragment to initialize properly when invoking the run
> confiuration. 
> 
> i'm running on windows, and the javahl client adapater runs fine when i
> simply run eclipse to work on our plugin. i can load the subversion
> repository view, browse repositories, share projects, etc. i don't have
> a subversion client installed, and whenever i run eclipse i see 'command
> line interface not enabled', so i'm absolutely certain i'm using the
> javahl client adapter. 
> 
> i believe the javahl plugin/ fragment is being loaded. the 'plugins'
> view lists it, though i don't know enough about eclipse to be certain.
> has anyone run into this sort of issue before? my first thought is it
> has something to do with the enviroment. i've not yet built the javahl
> java libraries to add any debugging/ printing output.
> 
> here's the call i'm making: 
> 
>    private void svnInit() {
>       logger.info("calling getSVNRoot");
>       SVNProviderPlugin plugin =
> SVNProviderPlugin.getPlugin();
>       SVNClientManager svnClientManager =
> plugin.getSVNClientManager();
>       try {
>          // this should setup the appropriate client
> thingies .. 
>          svnClientManager.startup(null);
>          logger.info("svn client manager startup ok");
>       }
>       catch(Exception ex) {
>          logger.error("problem starting up svn client
> manager", ex);
>       }
>    }
Is it possible that when being used this way the start() method in 
SVNProviderPlugin is not being called?  That contains all of the 
initialization code that needs to run.
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs. 
_____________________________________________________________________________
Received on Fri Jan  7 01:25:15 2005