[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

subclipse and eclipse run configuration

From: Andy Cutright <Andy.Cutright_at_borland.com>
Date: 2005-01-05 23:12:13 CET

hi all,

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);
                }
        }

the standard out/error is:

INFO - calling getSVNRoot
Command line interface not available
Javahl interface not available
Command line interface not available
INFO - svn client manager startup ok

any help appreciated,

cheers,
andy
Received on Thu Jan 6 09:12:13 2005

This is an archived mail posted to the Subclipse Dev mailing list.