Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r1484 - trunk/subclipse/core

subclipse
Discussion topic

Back to topic list

svn commit: r1484 - trunk/subclipse/core

Author markphip
Full name Mark Phippard
Date 2005-07-26 18:20:39 PDT
Message Author: markphip
Date: Tue Jul 26 18:20:38 2005
New Revision: 1484

Modified:
   trunk/subclipse/core​/svnClientAdapter.ja​r
Log:
Improve reporting of errors when JavaHL library fails to load.

The JavaHL load process actually tries to load several libraries, so I did not want to just
report every error. A user looking at the console might think JavaHL failed to load, when it
actually was successful. So what I did was maintain a StringBuffer of all of the error messages
encountered along the way. If, at the end, the library was not loaded succcessfully, then I output
all of the errors. Also, since the errors typically involve the path, I also output the value of
java.library.path. On my Mac, the error message looks like this:

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = .:/Library/Java/Exte​nsions:/System/Libra​ry/Java/Extensions:/​usr/lib/java


Modified: trunk/subclipse/core​/svnClientAdapter.ja​r
Url: http://subclipse.tig​ris.org/source/brows​e/subclipse/trunk/su​bclipse/core/svnClie​ntAdapter.jar?view=d​iff&rev=1484​&p1=trunk/subclipse/​core/svnClientAdapte​r.jar&r1=1483​&p2=trunk/subclipse​/core/svnClientAdapt​er.jar&r2=1484
====================​====================​====================​==================
Binary files. No diff available.

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r1484 - trunk/subclipse/core markphip Mark Phippard 2005-07-26 18:20:39 PDT
Messages per page: