| Summary: | unable to use com.google.gwt.user 2.0.4.v201111291940 with Tycho | ||
|---|---|---|---|
| Product: | [Tools] Orbit | Reporter: | Steffen Pingel <steffen.pingel> |
| Component: | bundles | Assignee: | Orbit Bundles <orbit.bundles-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | gunnar, milesparker |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 339474 | ||
GWT recommends to *only* use the com.google.gwt.servlet jar (bundle) at runtime. Please import packages using a version so that the com.google.gwt.servlet is preferred over the GWT user jar. What packages are specifically necessary for the Gerrit connector? Thanks for your response. The MANIFEST.MF of com.google.gwtjsonrpc imports the following package that is not available in the com.google.gwt.servlet bundle: * com.google.gwt.user.rebind I'll try to mark that as optional. I am not sure if the Gerrit connector actually requires loading of these classes so we may just get away with the servlet bundle. Steffen, this is very odd -- I'm getting exactly this issue when I attempt to add a completely unrelated feature to the site.xml. (On http://ci.mylyn.org/job/mylyn-reviews-github/) What did you do to resolve this and can you see any reason why it would come up with a simple unrelated change like this? Hard to say without the exact error message and change you made. If you are seeing the error above, Tycho imported the wrong bundle (it should be servlet instead of user which is what was changed in the Gerrit connector). |
Some of the Mylyn Gerrit connector dependencies import packages that are part of com.google.gwt.user. We need to redistribute the bundle to satisfy those dependencies. This fails with the latest release of the bundle: [INFO] Cannot complete the request. Generating details. [INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=cocoa, osgi.arch=x86, osgi.os=macosx, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=} [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: org.eclipse.mylyn-site raw:3.7.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):3.7.0-SNAPSHOT [ERROR] Missing requirement: com.google.gwt.user 2.0.4.v201111291940 requires 'A.PDE.Target.Platform Cannot be installed into the IDE 0.0.0' but it could not be found I understand that it is discouraged to install the bundle but it seems overly strict and limiting to prevent that with a unsatisfiable dependency. Any chance that could be removed?