Comments (3)
I've never tested these Jetty Docker images myself, but that seems to be a pretty nice idea.
Although...
Eclipse Jetty maintains a good list with their version numbers and the provided/supported API levels: www.eclipse.org/jetty/download.php
You were testing RAP 3.22 which requires a Servlet level 4.0 that is provided by Eclipse Jetty 10, but you are using a Docker image that includes only a Jetty 9 (probably a Jetty 9.4 which provides Servlet 3.1) in your command line.
In my test runs with the RAP demo applications everything started to work after switching to the jetty:10-jre17
Docker image. Eclipse Jetty version 10 is exactly the version that we are using for our own tests, and what we provide as part of our p2 repositories.
(And please keep in mind that Eclipse Jetty 11 with Servlet 5.0 is a change to the JakartaEE namespace, an incompatible switch of the API, and therefore is not expected to work #73.)
from org.eclipse.rap.
thanks for your answer, but the above error message (Missing requirement: org.eclipse.rap.rwt.osgi ...) comes from maven tycho build. So I cannot build my stuff anymore ... I guess I need to include a p2 repo + deps but could not figure out which one. Is there a reference project somewhere to look up?
from org.eclipse.rap.
Ah, yes, there is a Tycho build example, in fact it is the one I used for creating the .war files that I used for testing the above Jetty Docker images.
In the releng project org.eclipse.rap.examples.build you'll find instructions on how to run the build itself. It also contains the pom files for the three demo war projects in subdirectories, and I'd suggest you look into org.eclipse.rap.examples.build/rapdemo.
There you'll find the pom.xml
, and especially the product definition in org.eclipse.rap.examples.rapdemo.product
with all the dependencies, and assembly.xml
that explicitly excludes the API bundles when assembling the final war file.
The idea of the Eclipse RAP p2 repositories is that they are self-contained, i.e. https://download.eclipse.org/rt/rap/3.22/R-20220906-0913/ is expected to contain everything you'll need (unless we do miss something by accident).
I hope that helps...
from org.eclipse.rap.
Related Issues (20)
- Replace dependency to org.eclipse.osgi.services HOT 8
- Which RAP version is supporting Java 21? HOT 1
- Browser controls in tabs lose scroll position in Chromium based browers HOT 2
- ServerPushSession is interrupted after a period of inactivity HOT 4
- `NullPointerException`: Cannot invoke `IProgressMonitor.beginTask(String, int)` because `monitor` is null HOT 6
- Weakness in `FileDialog` may cause `Widget disposed` error HOT 4
- Auto Suggest demo is broken
- Add 'insertText' functionality to the Nebula RichTextEditor HOT 1
- Scrolling continues unexpectedly HOT 5
- Missing RAP artifacts in maven central HOT 6
- fixFocus works differently between SWT and RWT
- Deadlock in JobManager on Startup HOT 3
- pack for column HOT 1
- Browser Widget: FileNotFoundException under specific conditions / Reduce unnecessary file write actions
- CTabFolder always hides Control shared between CTabItems
- Part Name is not updated
- Support for bug 460945 and others (text cutoff with custom font)
- Grid: RowHeadersColumn breaks CheckEditingSupport
- Extension point org.eclipse.rap.http.registry.filters has no effect in 4.0 RC1 HOT 4
- RAP 4.0 RC1 - annotation @PostConstruct has no effect HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org.eclipse.rap.