Eclipse RCP application fails when started from read-only folder [message #900957] |
Thu, 09 August 2012 04:27  |
Eclipse User |
|
|
|
Hi,
When I export my eclipse application and place it in a read-only folder
it fails with the following causing exception:
Caused by: java.lang.ClassNotFoundException:
org.caleydo.core.data.perspective.table.TablePerspective
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 91 more
According to this help page [1] starting without reading permissions
should work.
I've just refactored the Class TablePerspective that seems to be the
cause of this, however, I don't see why it should work with rw but not
with r permissions. The package containing the class is correctly exported.
This is very annoying since I can't deploy the application using linux
packages or windows installers which place it in read-only directories.
[1]
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fmulti_user_installs.html
I appreciate any help. Thanks!
Alex
|
|
|
|
Powered by
FUDForum. Page generated in 0.05881 seconds