Mark Phippard a écrit :
>Sébastien Mathy <sebastien.mathy@kereval.com> wrote on 12/12/2005 11:06:04
>AM:
>
>
>
>>I would like to integrate svn with another java application.
>>
>>I've installed svn for windows and all seems to work great.
>>In my project, I've added the source code of
>>org.tigris.subversion.javahl and the libsvnjavahl-1.dll.
>>
>>I would like to run SVNAdminTests and I have added the following
>>parameter to the JVM :
>>-Djava.library.path=full_path_to_dll
>>
>>Have I missed something?
>>
>>
>
>JavaHL has a number of dependencies that also has to be found. Did you
>set java.libary.path to the folder that contains all of these DLL's or to
>the DLL itself? You should do the former. And of course the folder
>should contain all of the depdencies.
>
>The easiest thing is to put them all in a folder that is on PATH.
>
>Mark
>
>
>
>
>
Thank for your response.
I've put the file libsvnjavahl-1.dll in $SUBVERSION_PATH/bin and renamed
it in svnjavahl.dll.
I've added $SUBVERSION_PATH/bin to the PATH.
Now the error is :
java.lang.UnsatisfiedLinkError: initNative
at org.tigris.subversion.javahl.SVNClient.initNative(Native Method)
at
org.tigris.subversion.javahl.NativeResources.init(NativeResources.java:99)
at
org.tigris.subversion.javahl.NativeResources.loadNativeLibrary(NativeResources.java:84)
at org.tigris.subversion.javahl.SVNClient.<clinit>(SVNClient.java:35)
at
org.tigris.subversion.javahl.NativeResources.init(NativeResources.java:99)
at
org.tigris.subversion.javahl.NativeResources.loadNativeLibrary(NativeResources.java:84)
at org.tigris.subversion.javahl.SVNAdmin.<clinit>(SVNAdmin.java:29)
at
org.tigris.subversion.javahl.tests.SVNAdminTests.setUp(SVNAdminTests.java:42)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Is there other required DLLs?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 12 17:46:51 2005