| RCP export for mac os [message #870310] |
Mon, 07 May 2012 11:52  |
ModelGeek Mising name Messages: 351 Registered: June 2011 |
Senior Member |
|
|
Hi,
I have made an RCP application. I want to export the product for mac os. I have downloaded delta pack. I have updated target platform.
Now there are 2 two problems.
1 - if i select "The product includes native launcher" then i get error "Unable to find plugin org.eclipse.equinox.launcher".
2 - if i do not select "The product includes native launcher" then export works fine and it create folders for selected platforms. Now in windows OS folder there is no .exe file. So i created batch file with following command
java -Xss10m -Xms256m -Xmx1400m -jar plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
it works peferfectly but when i create .sh file for mac folder then i get following errors shown in log file
org.osgi.framework.BundleException: The activator org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench is invalid
Do you have any idea why it happens.
cheers,
|
|
|
|
|
|
|
| Re: RCP export for mac os [message #871398 is a reply to message #871378] |
Sun, 13 May 2012 04:59   |
|
And what's your OS? If same as you're exporting from try to switch to
"running platform" target in Preferences / PDE / Target Platform. Then
export and try it again. Most of such problems origins in uncomplete
target or run configuration.
Libor
On 05/12/2012 11:21 PM, ModelGeek Mising name wrote:
> Hi,
>
> I have been trying different thing, i have read to include
> org.eclipse.core.runtime with level 2 to resolve the problem and i did
> so, but now i am getting the following exception saying that system is
> unable to find the application class for my plugin.
>
> org.eclipse.core.runtime.CoreException: Plug-in
> test.abc.application.main was unable to load class
> test.abc.application.main.Application.
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
>
>
> please guide me solving this.
>
> regards,
|
|
|
|
| Re: RCP export for mac os [message #871509 is a reply to message #871497] |
Mon, 14 May 2012 05:46  |
ModelGeek Mising name Messages: 351 Registered: June 2011 |
Senior Member |
|
|
Hi,
now even i have tried to use MacOS. I have downloaded the Eclipse for MAC( 10.6.8 ). I have imported project. Now i am not exporting for multipltaform. I am trying to export for same plateform(Mac to Mac).
but still i am gettting
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
Please guide me how to solve this.
Regards,
[Updated on: Mon, 14 May 2012 05:46] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01968 seconds