|
|
|
Re: Tycho build with RAP 2.1 [message #1067882 is a reply to message #1067532] |
Thu, 11 July 2013 05:35 |
|
Obviously there's still something wrong but the error message doesn't tell me the real reason. "ServletException is not accessible due to restriction on classpath entry...". I'm puzzled.
E.g. in our workbench example, we are using javax.servlet_3.0.0.v201112011016.jar and org.eclipse.rap.ui_2.1.0.20130604-1251.jar in our .war file and the build (and the application) run successfully.
How can we proceed? If MyProject is just one example standalone project and does not include any secret information nor code it may help to attach this project to this newsgroup thread.
Regards, Markus
--
Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
Re: Tycho build with RAP 2.1 [message #1068160 is a reply to message #1067909] |
Fri, 12 July 2013 13:11 |
|
Hi Daria,
great, it seems to work! Maybe part of the problem is the different versioning between OSGi bundle and Java packages in javax.servlet. The bundle has version 3.0.0, whereas the Java packages are exported as 2.6.0.
Then... I see you are familiar with the OSGi console and how to use it on a server. It's the same way of debugging that I would do: Find out which missing dependencies are causing the errors in the dependency chain. It's very likely another bundle that is missing or another incarnation of bug 407730.
Managing target bundles? There are at least as many ways to do this as there are different requirements. I'm usually using the upstream p2 repositories at eclipse.org if possible. If that's not possible (which is sometimes the case behind company firewalls), I am mirroring these p2 repositories to a local location, or I am using a Nexus server as a "p2 proxy". In all cases, I'm adding the remote p2 repositories as a repository with p2 layout to my pom's.
Maven Central is in most cases not suitable. Why? Because most Eclipse projects do not publish their artifacts there.
Regards, Markus
--
Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.28450 seconds