n00b RCP deployment problem [message #463808] |
Thu, 15 February 2007 15:08  |
Eclipse User |
|
|
|
Originally posted by: null.bitbucket.net
Hi everyone,
I'm running into a deployment-related exception when I use the export
wizard on my Eclipse RCP project's .product and launch the resulting win32
executable. For now the product is based on plug-ins, just to keep it
simple. I have my project's plug-in and clicked the "add required
plug-ins" button. After I run the export wizard, I can see my
Activator.class in my plug-in's jar file under the <deployment>/plugins
directory.
Running the project from within Eclipse (debug and release) are working
fine; it's running from the launcher that's failing. Any ideas what I'm
doing wrong here?
!SESSION 2007-02-15 11:46:59.304
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.osgi 4 0 2007-02-15 11:47:00.382
!MESSAGE An error occurred while automatically activating bundle <snip>(5).
!STACK 0
org.osgi.framework.BundleException: The activator <snip>.Activator for
bundle <snip> is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
<snip>...
Root exception:
java.lang.ClassNotFoundException: <snip>.Activator
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:402)
<snip>...
|
|
|
|
Fixed: n00b RCP deployment problem [message #463818 is a reply to message #463816] |
Thu, 15 February 2007 19:24  |
Eclipse User |
|
|
|
Originally posted by: null.bitbucket.net
Hi everyone,
I managed to track it down - there was a problem in my build.properties
file that was placing my Activator.class file in the wrong path.
FYI - in case someone else runs into the same problem, I ended up fixing
it by going back to the bare-bones distribution in the RCP tutorial part 1
( http://www.eclipse.org/articles/Article-RCP-1/tutorial1.html), making
sure I could get that to deploy, then comparing the directories in the
plugin.xml, <x>.product and build.properties to see if there was anything
fishy.
-caffeinated
|
|
|
Powered by
FUDForum. Page generated in 0.06648 seconds