Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Equinox initializer

Hey all,

In Fedora, we used to use Eclipse Equinox initializer to extract all
*.so files from the installation before the Eclipse was actually
installed via rpm. This had some advantages:
  * Reduced disk usage for people with tight user.homes or using nfs.
  * Ability to run Eclipse when home is mounted as noexec (for security
purposes).

This is no longer the case, because I can find those libraries
find /usr/lib64/eclipse/configuration -name *.so
/usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/35/1/.cp/os/linux/x86_64/libunixfile_1_0_0.so
/usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/38/1/.cp/libgnomeproxy-1.0.0.so
/usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/153/1/.cp/libswt-glx-gtk-4235.so
[...]

in my home:
find ~/.eclipse -name *.so
~/.eclipse/org.eclipse.platform_4.2.0_793567567/configuration/org.eclipse.osgi/bundles/81/1/.cp/os/linux/x86_64/libspawner.so
~/.eclipse/org.eclipse.platform_4.2.0_793567567/configuration/org.eclipse.osgi/bundles/143/1/.cp/os/linux/x86_64/libunixfile_1_0_0.so
~/.eclipse/org.eclipse.platform_4.2.0_793567567/configuration/org.eclipse.osgi/bundles/774/1/.cp/libswt-webkit-gtk-4235.so
[...]


The first thing that I've noticed is that bundle numbers had changed
(and they do actually change if I call eclipse -clean, although not
always).

What may be the cause of this behavior? How to get back to the good ol'
behavior where *.so files were not duplicated?

Interesting documentation is:
http://wiki.eclipse.org/EquinoxInitializer

Bug 90535 - .so files installed in a strange location
https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535

Best regards,
Chris



Back to the top