Home » Eclipse Projects » Rich Client Platform (RCP) » eclipse plugin / RCP development: migration error from eclipse 3.2 to 3.6
|
Re: eclipse plugin / RCP development: migration error from eclipse 3.2 to 3.6 [message #628018 is a reply to message #560124] |
Thu, 23 September 2010 08:45 |
Franz Messages: 4 Registered: September 2010 |
Junior Member |
|
|
I copied and adjusted a MANIFEST.MF under META-INF, as it is in an other RCP-project which this is based on (as far as I understand it).
MANIFEST.MF:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: WAC-RCP
Bundle-SymbolicName: de.gefasoft.webappcfg.rcp;singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: de.gefasoft.webappcfg.rcp.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.jface.text,
org.eclipse.core.resources,
org.eclipse.ui.editors,
org.eclipse.ui.ide,
org.eclipse.ui.workbench.texteditor,
org.apache.ant,
org.eclipse.debug.core
Eclipse-AutoStart: false
The error changed a bit, but it is still the same behavior: when starting "Launch an Eclipse application" it displays splash.bmp defined in build.properties and exits with "The application could not start. Would you like to view the log?"
The error in the editor is as follows:
org.osgi.framework.BundleException: The bundle "org.eclipse.core.runtime_3.6.0.v20100505 [286]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.app; bundle-version="[1.0.0,2.0.0)"
The error is slightly different:
- after bundle it is [286] instead of [3] (whatever this means)
- Require-Bundle: org.eclipse.equinox.app (instead of org.eclipse.equinox.common)
- bundle-version="[1.0.0,2.0.0)" instead of "[3.5.0,4.0.0)"
The error !MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar/ was not resolved. is probably still similar as before. "org.eclipse.core.runtime_3.6.0.v20100505.jar" is listed in package explorer.
What does the errors and the error changes mean? How can I locate the error more specifically to fetch the bug?
|
|
|
Re: eclipse plugin / RCP development: migration error from eclipse 3.2 to 3.6 [message #628065 is a reply to message #628018] |
Thu, 23 September 2010 08:52 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Did you tried hitting "Validate Plug-ins" in your Launch Dialog - it
looks like your launch config is from 3.2 and hence when running it
can't find the new bundles (they have different versions and dependencies)?
Tom
Am 23.09.10 10:45, schrieb Franz:
> I copied and adjusted a MANIFEST.MF under META-INF, as it is in an other
> RCP-project which this is based on (as far as I understand it).
>
> MANIFEST.MF:
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: WAC-RCP
> Bundle-SymbolicName: de.gefasoft.webappcfg.rcp;singleton:=true
> Bundle-Version: 1.0.0
> Bundle-Activator: de.gefasoft.webappcfg.rcp.Activator
> Require-Bundle: org.eclipse.ui,
> org.eclipse.core.runtime,
> org.eclipse.jface.text,
> org.eclipse.core.resources,
> org.eclipse.ui.editors,
> org.eclipse.ui.ide,
> org.eclipse.ui.workbench.texteditor,
> org.apache.ant,
> org.eclipse.debug.core
> Eclipse-AutoStart: false
>
> The error changed a bit, but it is still the same behavior: when
> starting "Launch an Eclipse application" it displays splash.bmp defined
> in build.properties and exits with "The application could not start.
> Would you like to view the log?"
>
> The error in the editor is as follows:
>
> org.osgi.framework.BundleException: The bundle
> "org.eclipse.core.runtime_3.6.0.v20100505 " could not be resolved.
> Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.app;
> bundle-version="[1.0.0,2.0.0)"
>
> The error is slightly different:
> - after bundle it is instead of [3] (whatever this means)
> - Require-Bundle: org.eclipse.equinox.app (instead of
> org.eclipse.equinox.common)
> - bundle-version="[1.0.0,2.0.0)" instead of "[3.5.0,4.0.0)"
>
> The error !MESSAGE Bundle
> initial@reference:file:plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar/
> was not resolved. is probably still similar as before.
> "org.eclipse.core.runtime_3.6.0.v20100505.jar" is listed in package
> explorer.
>
> What does the errors and the error changes mean? How can I locate the
> error more specifically to fetch the bug?
|
|
|
Re: eclipse plugin / RCP development: migration error from eclipse 3.2 to 3.6 [message #628271 is a reply to message #628065] |
Thu, 23 September 2010 11:12 |
Franz Messages: 4 Registered: September 2010 |
Junior Member |
|
|
Hi Tom,
thanks for your answer. I hit "Validation" and the result is shown in this screenshot under picasa (since I cannot upload any images here): http:// picasaweb.google.com/fraensn/Screenshots#5520063394463501714
But I don't know, how I can resolve these "missing constraints"?!
Another thing: I found a warning in "build.properties":
The plug-in's classpath library '.' does not have a corresponding source build entry
What does this mean? Has it any effect - maybe it doesn't find the plugin's then?!
Here's the "build.properties":
bin.includes = plugin.xml,\
plugin.properties,\
icons/,\
about.html,\
config.ini,\
splash.bmp,\
lib/,\
templates/,\
bin/de/,\
bin/,\
META-INF/
src.includes = doc-html/,\
RCP WAC Editor.launch
Tom Schindl wrote on Thu, 23 September 2010 04:52 | Did you tried hitting "Validate Plug-ins" in your Launch Dialog - it
looks like your launch config is from 3.2 and hence when running it
can't find the new bundles (they have different versions and dependencies)?
|
|
|
|
Re: eclipse plugin / RCP development: migration error from eclipse 3.2 to 3.6 [message #628424 is a reply to message #628271] |
Thu, 23 September 2010 12:20 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
What about simply hitting "Add Required Plug-ins"?
Tom
Am 23.09.10 13:12, schrieb Franz:
> Hi Tom,
>
> thanks for your answer. I hit "Validation" and the result is shown in
> this screenshot under picasa (since I cannot upload any images here):
> http://picasaweb.google.com/fraensn/Screenshots#552006339446 3501714
>
> But I don't know, how I can resolve these "missing constraints"?!
>
> Another thing: I found a warning in "build.properties":
> The plug-in's classpath library '.' does not have a corresponding source
> build entry
> What does this mean? Has it any effect - maybe it doesn't find the
> plugin's then?!
>
> Here's the "build.properties":
> bin.includes = plugin.xml,\
> plugin.properties,\
> icons/,\
> about.html,\
> config.ini,\
> splash.bmp,\
> lib/,\
> templates/,\
> bin/de/,\
> bin/,\
> META-INF/
> src.includes = doc-html/,\
> RCP WAC Editor.launch
> Tom Schindl wrote on Thu, 23 September 2010 04:52
>> Did you tried hitting "Validate Plug-ins" in your Launch Dialog - it
>> looks like your launch config is from 3.2 and hence when running it
>> can't find the new bundles (they have different versions and
>> dependencies)?
>
>
|
|
| | |
Goto Forum:
Current Time: Thu Sep 19 07:54:16 GMT 2024
Powered by FUDForum. Page generated in 0.03522 seconds
|