Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipse RCP application fails when started from read-only folder
Eclipse RCP application fails when started from read-only folder [message #900957] Thu, 09 August 2012 04:27 Go to previous message
Alexander Lex is currently offline Alexander Lex
Messages: 8
Registered: July 2009
Junior Member
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
 
Read Message
Read Message
Previous Topic:Custom Project Nature image
Next Topic:(Announce) I created some tool for Plugin Developers
Goto Forum:
  


Current Time: Mon May 20 02:17:00 EDT 2013

Powered by FUDForum. Page generated in 0.01952 seconds