Home » Eclipse Projects » Remote Application Platform (RAP) » [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0"
[RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #94766] |
Fri, 27 June 2008 09:50 |
Eclipse User |
|
|
|
Originally posted by: ottrich.fast-mail.org
Hello,
I use the released version 1.1 of rap. I copied the target-platform in a
folder and set my eclipse to use this. In my plug-ins I use "import
package" instead of "requires plug-ins" without a version because I would
like to use the same plug-ins in rap and rcp.
Trying to launch my rap-app I get this error:
Missing Constraint: Import-Package: org.eclipse.ui; version="0.0.0"
All the other imports look right. I don't know what I'm doing wrong.
regards,
Lars
|
|
| |
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #94806 is a reply to message #94792] |
Fri, 27 June 2008 10:40 |
Eclipse User |
|
|
|
Originally posted by: ottrich.fast-mail.org
Hello Dmitry,
Dmitry Pryadkin wrote:
> You may try optional dependencies. Worked for me.
With org.eclipse.ui set as optional, the launcher shows no error, but the
application is still not working:
27.06.2008 12:33:15 org.mortbay.jetty.servlet.ServletHandler handle
SCHWERWIEGEND: /rap?nocache=1214562795598:
java.lang.IllegalArgumentException: An entry point named 'default' does
not exist.
at
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:77)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:230)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
at java.lang.Thread.run(Thread.java:595)
But I think this is not the real Exception. Somewhere inside there is a
ClassDefNotFoundError or something similar.
regards,
Lars
|
|
| | | | |
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #95091 is a reply to message #95018] |
Mon, 30 June 2008 14:06 |
Eclipse User |
|
|
|
Originally posted by: ottrich.fast-mail.org
Hello,
if I use the jar-files of the M3 target-platform, my application is
working.
Using the jar-files of the release target-platform this message is shown:
Missing Constraint: org.eclipse.ui; version="0.0.0"
"Add required bundles" in the launch-configuration has no change. I don't
think that this would be an error in my launch-configuration.
regards,
Lars
Dmitry Pryadkin wrote:
> Hi,
> You can try switching back to 1.1R and re-create the configuration, open
> "Run/open debug dialog" and/or "Run/open run dialog" and delete the OSGI
> configuration, then create a new one.
|
|
| |
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #96743 is a reply to message #95091] |
Fri, 04 July 2008 08:23 |
Eclipse User |
|
|
|
Originally posted by: cheney_chen.i-len.com
Hi,
Yes, I also encountered such a problem. You can use " the Eclipse Business
Expenses Reporting Tool (EBERT)" example
(http://www.eclipse.org/examples/example.php?id=expenses) provided by " The
Eclipse Examples Project" to check the problem. Because the example need to
run in different target platform, So the common plug-ins use the package
dependency instead of plug-in dependency. When I use the RAP 1.1 M3
target-platform to launch the RAP version application, it is working find;
But when I change to the release target-platform, the RAP version
application can't be complied through.
Please to check and give some ideas to fix the problem with the release
target-platfrom.
BTW, I use 3.4 release RCP SDK and some optional plug-ins as
target-platfrom, the rcp version application also work fine.
My eclipse version: 3.4.0 Build id: I20080617-2000
Java: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
OS: openSUSE 10.3 (X86-64)
Regards,
Cheney
Lars Fischer wrote:
> Hello,
>
> if I use the jar-files of the M3 target-platform, my application is
> working.
> Using the jar-files of the release target-platform this message is shown:
> Missing Constraint: org.eclipse.ui; version="0.0.0"
>
> "Add required bundles" in the launch-configuration has no change. I don't
> think that this would be an error in my launch-configuration.
>
> regards,
> Lars
>
> Dmitry Pryadkin wrote:
>
>> Hi,
>
>> You can try switching back to 1.1R and re-create the configuration, open
>> "Run/open debug dialog" and/or "Run/open run dialog" and delete the OSGI
>> configuration, then create a new one.
|
|
|
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #96757 is a reply to message #96743] |
Fri, 04 July 2008 08:33 |
Eclipse User |
|
|
|
Originally posted by: cheney_chen.i-len.com
Hi,
Sorry, I forgot some information.As I change to the release
target-platform, the RAP version application can't be complied through. So
I add the org.eclipse.rap.ui or org.eclipse.rap.ui.workbench plug-in the
error plug-in for complied, But when I launch the application , the console
show some error message as Lars Fischer wrote before: Missing Constraint:
org.eclipse.ui; version="0.0.0".
Hope some help.
Regards,
Cheney
Cheney wrote:
> Hi,
>
> Yes, I also encountered such a problem. You can use " the Eclipse Business
> Expenses Reporting Tool (EBERT)" example
> (http://www.eclipse.org/examples/example.php?id=expenses) provided by "
> The Eclipse Examples Project" to check the problem. Because the example
> need to run in different target platform, So the common plug-ins use the
> package dependency instead of plug-in dependency. When I use the RAP 1.1
> M3 target-platform to launch the RAP version application, it is working
> find;
> But when I change to the release target-platform, the RAP version
> application can't be complied through.
>
> Please to check and give some ideas to fix the problem with the release
> target-platfrom.
>
> BTW, I use 3.4 release RCP SDK and some optional plug-ins as
> target-platfrom, the rcp version application also work fine.
> My eclipse version: 3.4.0 Build id: I20080617-2000
> Java: Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.5.0_14-b03) OS: openSUSE 10.3 (X86-64)
>
> Regards,
>
> Cheney
>
> Lars Fischer wrote:
>
>> Hello,
>>
>> if I use the jar-files of the M3 target-platform, my application is
>> working.
>> Using the jar-files of the release target-platform this message is shown:
>> Missing Constraint: org.eclipse.ui; version="0.0.0"
>>
>> "Add required bundles" in the launch-configuration has no change. I don't
>> think that this would be an error in my launch-configuration.
>>
>> regards,
>> Lars
>>
>> Dmitry Pryadkin wrote:
>>
>>> Hi,
>>
>>> You can try switching back to 1.1R and re-create the configuration, open
>>> "Run/open debug dialog" and/or "Run/open run dialog" and delete the OSGI
>>> configuration, then create a new one.
|
|
|
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #97309 is a reply to message #96757] |
Tue, 08 July 2008 15:35 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi,
I tried a lot to get the EBERT application from the example project
to work with RAP 1.1 - but without any success.
However, changing the dependency declarations from Import-Package to
Require-Bundle works at once. Are you sure that the launch
configuration contains everything you need?
Feel free to file a bug report to track progress on this issue.
Cheers,
Rüdiger
Cheney wrote:
> Hi,
>
> Sorry, I forgot some information.As I change to the release
> target-platform, the RAP version application can't be complied through. So
> I add the org.eclipse.rap.ui or org.eclipse.rap.ui.workbench plug-in the
> error plug-in for complied, But when I launch the application , the console
> show some error message as Lars Fischer wrote before: Missing Constraint:
> org.eclipse.ui; version="0.0.0".
>
> Hope some help.
>
> Regards,
>
> Cheney
>
> Cheney wrote:
>
>> Hi,
>>
>> Yes, I also encountered such a problem. You can use " the Eclipse Business
>> Expenses Reporting Tool (EBERT)" example
>> (http://www.eclipse.org/examples/example.php?id=expenses) provided by "
>> The Eclipse Examples Project" to check the problem. Because the example
>> need to run in different target platform, So the common plug-ins use the
>> package dependency instead of plug-in dependency. When I use the RAP 1.1
>> M3 target-platform to launch the RAP version application, it is working
>> find;
>> But when I change to the release target-platform, the RAP version
>> application can't be complied through.
>>
>> Please to check and give some ideas to fix the problem with the release
>> target-platfrom.
>>
>> BTW, I use 3.4 release RCP SDK and some optional plug-ins as
>> target-platfrom, the rcp version application also work fine.
>> My eclipse version: 3.4.0 Build id: I20080617-2000
>> Java: Java(TM) 2 Runtime Environment, Standard Edition (build
>> 1.5.0_14-b03) OS: openSUSE 10.3 (X86-64)
>>
>> Regards,
>>
>> Cheney
>>
>> Lars Fischer wrote:
>>
>>> Hello,
>>>
>>> if I use the jar-files of the M3 target-platform, my application is
>>> working.
>>> Using the jar-files of the release target-platform this message is shown:
>>> Missing Constraint: org.eclipse.ui; version="0.0.0"
>>>
>>> "Add required bundles" in the launch-configuration has no change. I don't
>>> think that this would be an error in my launch-configuration.
>>>
>>> regards,
>>> Lars
>>>
>>> Dmitry Pryadkin wrote:
>>>
>>>> Hi,
>>>> You can try switching back to 1.1R and re-create the configuration, open
>>>> "Run/open debug dialog" and/or "Run/open run dialog" and delete the OSGI
>>>> configuration, then create a new one.
>
|
|
|
Re: [RAP 1.1] Missing Constraint: org.eclipse.ui; version="0.0.0" [message #97561 is a reply to message #97309] |
Thu, 10 July 2008 09:25 |
Eclipse User |
|
|
|
Originally posted by: ottrich.fast-mail.org
Hello Rüdiger,
sorry for the delay. I had to make some holidays... ;)
Rüdiger Herrmann wrote:
> I tried a lot to get the EBERT application from the example project
> to work with RAP 1.1 - but without any success.
> However, changing the dependency declarations from Import-Package to
> Require-Bundle works at once. Are you sure that the launch
> configuration contains everything you need?
"required-bundle" is no option for me, because I'm using rap and rcp
parallel. So I have two different target-platforms with different bundles
exporting the same classes.
> Feel free to file a bug report to track progress on this issue.
Hmm, I created a bug, but I can't find it on the tracker. But I think I
found an other entry for the same problem:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=235834
regards,
Lars
|
|
| | |
Goto Forum:
Current Time: Wed Jan 15 08:13:06 GMT 2025
Powered by FUDForum. Page generated in 0.06170 seconds
|