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

Re: [Subclipse-users] Symbolic links pointing to unversioned directories

From: Jette Derriche <jette_at_nerdgirl.dk>
Date: 2007-07-14 17:39:06 CEST

On Sat, 2007-07-14 at 11:14 -0400, Mark Phippard wrote:
> I do not recall having any code in our product to gray out the option.
> Usually if there is a problem when you select it we pop-up the errors
> that happened in loading it.
>
> Try opening a Terminal window. Run these commands:
>
> export LD_LIBRARY_PATH=/usr/local/lib
> cd /path/to/eclipse
> ./eclipse

I tried that. It didn't work.

>
> Substitute the path where the libsvnjavahl-1.so is found on your system.
>
> If that works, you can try editing the eclipse.ini file and add this to it:
>
> -Djava.library.path=/usr/local/lib
>

The locate command reveals that the .so file is in /usr/lib

--------------------------------------
$ locate javahl
/usr/lib/libsvnjavahl-1.la
/usr/lib/libsvnjavahl-1.so
/usr/lib/libsvnjavahl-1.so.0
/usr/lib/libsvnjavahl-1.so.0.0.0
/usr/lib/svn-javahl
/usr/lib/gcj/svnkit/svnkit-javahl-1.1.2.jar.db
/usr/lib/gcj/svnkit/svnkit-javahl-1.1.2.jar.so
/usr/lib/svn-javahl/include
/usr/lib/svn-javahl/svn-javahl.jar
/usr/share/eclipse/plugins/org.tigris.subversion.subclipse.core_1.2.2/lib/svnjavahl.jar
/usr/share/java/svnkit-javahl-1.1.2.jar
/usr/share/java/svnkit-javahl.jar
--------------------------------------

I added the library path in the eclipse.ini file, and then started
eclipse with the debug option. I have also examined the log, but I cant
see anything related to JavaHL:

--------------------------------------
$ eclipse -debug
Start VM: /usr/bin/java
-Xms256m
-Xmx256m
-Djava.library.path=/usr/lib
-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration
-jar /usr/share/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/bin/eclipse
-name Eclipse
-showsplash 600
-exitdata 2af000f
-debug
-vm /usr/bin/java
-vmargs
-Xms256m
-Xmx256m
-Djava.library.path=/usr/lib
-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration
-jar /usr/share/eclipse/startup.jar
Install location:
    file:/usr/share/eclipse/
Configuration file:
    file:/usr/share/eclipse/configuration/config.ini not found or not
read
Configuration location:
    file:/home/jni/.eclipse/org.eclipse.platform_3.2.0/configuration/
Configuration file:

file:/home/jni/.eclipse/org.eclipse.platform_3.2.0/configuration/config.ini not found or not read
Configuration file:
    file:/usr/lib/eclipse/configuration/config.ini loaded
Shared configuration location:
    file:/usr/lib/eclipse/configuration/
Framework located:

file:/usr/share/eclipse/plugins/org.eclipse.osgi_3.2.2.R32x_v20070118.jar
Framework classpath:

file:/usr/share/eclipse/plugins/org.eclipse.osgi_3.2.2.R32x_v20070118.jar
Splash location:
    /usr/share/eclipse/plugins/org.eclipse.platform_3.2.2.r322_v20070117b/splash.bmp
runCommand:

</usr/bin/eclipse><-name><Eclipse><-showsplash><600></usr/share/eclipse/plugins/org.eclipse.platform_3.2.2.r322_v20070117b/splash.bmp>
Debug options:
    file:/etc/.options not found
Time to load bundles: 13
Starting application: 2152
Application Started: 60223
--------------------------------------

Log:

!SESSION 2007-07-14 17:27:37.387
-----------------------------------------------
eclipse.buildId=M20070212-1330
java.version=1.6.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86 -debug

!ENTRY org.eclipse.osgi 4 0 2007-07-14 17:28:42.987
!MESSAGE While loading class
"net.sourceforge.phpeclipse.PHPeclipsePlugin$4", thread "Worker-1" timed
out waiting (5000ms) for thread "Worker-0" to finish starting bundle
"net.sourceforge.phpeclipse". To avoid deadlock, thread "Worker-1" is
proceeding but "net.sourceforge.phpeclipse.PHPeclipsePlugin$4" may not
be fully initialized.
!STACK 0
java.lang.Exception: Generated exception.
        at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:77)
        at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:412)
        at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
        at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
        at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
        at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
        at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at net.sourceforge.phpeclipse.PHPeclipsePlugin
$3.run(PHPeclipsePlugin.java:1190)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
----------------------------------------------

So... I am stuck... and Googling like mad.. hehe

/Jette

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sat Jul 14 17:38:36 2007

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.