|
Re: Ant build on Mac [message #497092 is a reply to message #497083] |
Thu, 12 November 2009 13:49 |
Eclipse User |
|
|
|
Originally posted by: wangqs_eclipse.yahoo.com
Make sure that your build target includes RCP delta pack. You can find
information about delta pack at http://wiki.eclipse.org/index.php/RCP_FAQ
Divan Mostert wrote:
> Hi,
>
> I have an application that is build on the Eclipse platform and gets
> build using ANT. On Windows it builds perfectly, however on Mac I get
> the following exception:
>
> [echo] !MESSAGE An error occurred while automatically activating bundle
> org.eclipse.ui.workbench (248).
> [echo] org.osgi.framework.BundleException: The activator
> org.eclipse.ui.internal.WorkbenchPlugin for bundle
> org.eclipse.ui.workbench is invalid
> [echo] Caused by: java.lang.NoClassDefFoundError:
> org/eclipse/swt/SWTError
> [echo] java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
>
>
> Any ideas and pointers will be greatly appreciated.
>
> Thanks
|
|
|
Re: Ant build on Mac [message #497101 is a reply to message #497083] |
Thu, 12 November 2009 14:14 |
|
Divan Mostert a écrit :
> Hi,
Hello,
> I have an application that is build on the Eclipse platform and gets
> build using ANT. On Windows it builds perfectly, however on Mac I get
> the following exception:
>
> [echo] !MESSAGE An error occurred while automatically activating bundle
> org.eclipse.ui.workbench (248).
> [echo] org.osgi.framework.BundleException: The activator
> org.eclipse.ui.internal.WorkbenchPlugin for bundle
> org.eclipse.ui.workbench is invalid
> [echo] Caused by: java.lang.NoClassDefFoundError:
> org/eclipse/swt/SWTError
> [echo] java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
>
>
> Any ideas and pointers will be greatly appreciated.
>
> Thanks
This usually means that platform-specific bundles were not found on your build platform. For example, you might have a Windows-ready Eclipse for building, but you are trying to run it on Mac, causing the NoClassDef on SWTError (since SWT needs some platform specific bundles/fragments).
Ensure that you have the right bundles for your platform in your build base, and consider installing the Delta Pack to be able to use the same build platform to build on all OS.
And, also, this message is often a simple but frightening warning, you may be able to go ahead even if you read it.
HTH
--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
|
|
|
|
Powered by
FUDForum. Page generated in 0.03584 seconds