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

RE: JavaSVN installed, but JavaHL still being used?

From: David Coppit <subclipse_at_coppit.org>
Date: 2005-02-01 19:01:48 CET

On Tue, 1 Feb 2005, Alexander Kitaev wrote:

> Looks like Eclipse is trying to load classes from the corrputed version of
> the javasvn.jar file (I got the same problem yesterday) or may be plugin.xml
> contains reference to the original svnjavahl.jar library (there should not
> be such reference).
>
> Please check that plugin.xml is correct and restart Eclipse with the
> "-clean" command line argument or delete ECLIPSE_HOME/configuration
> directory before restarting Eclipse.

Looks okay to me:

$ cd /usr/local/eclipse/plugins/org.tigris.subversion.subclipse.core_0.9.25/
$ head -30 plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
    id="org.tigris.subversion.subclipse.core"
    name="%pluginName"
    version="0.9.25"
    provider-name="%providerName"
    class="org.tigris.subversion.subclipse.core.SVNProviderPlugin">

    <runtime>
       <library name="svnClientAdapter.jar">
          <export name="*"/>
       </library>
    <!--
       <library name="svnjavahl.jar">
          <export name="*"/>
       </library>
    -->
       <library name="javasvn.jar">
          <export name="*"/>
       </library>
       <library name="jsch.jar">
               <export name="*"/>
       </library>
       <library name="SVNPluginCore.jar">
          <export name="*"/>
       </library>
       <library name="commons-logging-1.0.4.jar">
          <export name="*"/>
       </library>

- I then ran "/usr/local/eclipse/eclipse -clean". It printed the "Command
   line interface not available" message to the console during startup.
- Then I went to preferences and triple-checked that it's set for javahl.
   When I clicked command line, I got a warning that it wasn't available,
   and that I should check my environment. I set it back to javahl, clicked
   apply, then ok.
- Next I went to the svn perspective, and added my repository:
     svn+ssh://coppit@<machine>/scratch/coppit/svnroot/HW2-Tools
   with
     svn+ssh://coppit@<machine>/scratch/coppit/svnroot
   as the root URL. I also gave my username and password. Validate
   connection on finish is checked.
- Then I clicked the arrow, and got the NoClassDefFoundError again.

Any help? The file md5s are as I sent before, so I'm pretty sure that I
have the right .jars.

David

_____________________________________________________________________
David Coppit david@coppit.org
The College of William and Mary http://coppit.org/

"Government big enough to supply everything you need is big enough to take
everything you have ... The course of history shows that as a government
grows, liberty decreases." -- Thomas Jefferson
Received on Wed Feb 2 05:01:48 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.