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

[Subclipse-users] Problem with javahl - vista, eclipse, subclipse

From: shwoodard <sam.h.woodard_at_gmail.com>
Date: Fri, 10 Oct 2008 16:41:51 -0700 (PDT)

Hi,

I am using Java (in eclipse) to try to call out to SVN in code. I have,

public static void main(String[] args) throws Exception {
        System.out.println(System.getProperty("java.library.path"));
        SVNClient client = new SVNClient();

        client.notification2(new Notify2()
        {
                public void onNotify(NotifyInformation arg0)
                {
                        System.out.println("Checking out: " + arg0.getPath());
                }
        });

        client.update("C:\\Temp2", Revision.HEAD, Depth.infinity, true, true,
true);
}

I have two workspaces setup, one my normal project workspace and the other a
fresh one. The code works in the fresh workspace but not the main
workspace. However, on my co-workers machine it works in neither our normal
project workspace nor in a fresh one. The behavior is eradic.

It is throwing, "java.lang.UnsatisfiedLinkError: no svnjavahl-1 in
java.library.path".

I have a couple versions of the svn-javahl.jar--the one that I downloaded
from,
http://subversion.tigris.org/files/documents/15/43487/svn-win32-1.5.2_javahl.zip,
and the one that I built using the svn source on a linux box.

I am using Collab Net svn client and am trying the libsvnjavahl-1.dll
shipped with Collab Net svn as well as the one included in the above
referenced ...javahl.zip file.

What are the required dlls to get the javahl jar libraries to work? What
are the steps to be able to call out in code to manage a repository?

Thanks,
Sam

-- 
View this message in context: http://www.nabble.com/Problem-with-javahl---vista%2C-eclipse%2C-subclipse-tp19927706p19927706.html
Sent from the subclipse - users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-10-11 01:41:58 CEST

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.