Tycho build with RAP 2.1 [message #1066963] |
Fri, 05 July 2013 05:07  |
Eclipse User |
|
|
|
Hello everyone,
I try to build my RAP application with tycho and I get an error:
"Missing Constraint: Import-Package: javax.servlet;"
I have a target platform definition which uses local software site (update site) to fetch bundles. javax.servlet (3.0.0) is in the target platform. I use your example from here: https://github.com/eclipsesource/tabris-demos to configure poms. If I build my projects with maven I get get following errors:
NOT RESOLVED org.eclipse.rap.ui_2.1.0.20130604-1251 : C:\Users\d.huber\.m2\repository\p2\osgi\bundle\org.eclipse.rap.ui\2.1.0.20130604-1251\org.eclipse.rap.ui-2.1.0.20130604-1251.jar
Missing Constraint: Import-Package: javax.servlet.http; version="2.3.0"
[ERROR] Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle MyProject cannot be resolved
[ERROR] Resolution errors:
[ERROR] Bundle MyProject- Missing Constraint: Import-Package: javax.servlet; version="0.0.0"
[ERROR] Bundle MyProject- Missing Constraint: Import-Package: javax.servlet.http; version="0.0.0"
Have you any idea what it can be? I build with RAP 2.1.0 and maven 3.0.5 an tycho 0.17
Best regards,
Daria
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07718 seconds