Home » Eclipse Projects » Remote Application Platform (RAP) » How to work with RAP in 2023 ?(I need explanations on how to develop and publish RAP applications)
| | | |
Re: How to work with RAP in 2023 ? [message #1856946 is a reply to message #1856900] |
Tue, 10 January 2023 15:04 |
|
Hi Jean,
let me clarify first that we've used RAP in the past, but not recently.
Aside that, just out of curiosity (and nostalgy), I tried the following steps in a few minutes from scratch:
- with Eclipse installer (Oomph) I installed a brand new 2022-12 "Eclipse IDE for RCP and RAP Developers" with JRE 19
- launched and opened a brand new workspace
- File, New, Plug-in Project wizard
- Create a rich client application? No
- Create a plug-in using a template: Yes
- Selected "RAP e4 Template"
- Finish
(the first time you will be asked if you want to install a RAP Target Platform: confirm all and wait for the Target Platform to be created - it may take some minutes - just check the status bar in the bottom right area)
- when the target platform is ready, click the hyperlink named "Launch a RAP Application in Debug mode" in the main editor
- the internal browser will try to open an URL similar to this http://127.0.0.1:61257/e4, with errors; just ignore it, copy the URL and open in your browser, e.g. Chrome
and voilà a simple e4 RAP application!
By the way, RAP Tools are automatically installed! You can see them in File, Help, Install New Software.., select
2022-12 - https://download.eclipse.org/releases/2022-12/
uncheck "Hide items that are already installed", expand "Web, XML, ... " Category (the last one) and you'll see RAP Tools 3.23 installed
Now you can start playing with SimplePart.java class
HTH
Vincenzo
|
|
| |
Re: How to work with RAP in 2023 ? [message #1856952 is a reply to message #1856949] |
Tue, 10 January 2023 16:34 |
Benjamin Wolff Messages: 136 Registered: July 2009 |
Senior Member |
|
|
I haven't used RAP in Eclipse for quite a while now, but I used the following approach to make Libra (War tooling) work again in later Eclipse versions:
- Do not install the "War product" bundle from Eclipse p2 repo, if it's still available there (was broken anyway for many years already).
- Download the latest nightly build of Libra. It used to be a p2 repo archive file.
- Add the p2 repo archive as a software source in Eclipse and install "War product" from it.
- The WAR tooling views to build a WAR file used to work again in Eclipse.
Again, not sure if that still works. Also, I couldn't find the nightly Libra builds anymore, since the links on the Eclipse websites seem to be dead.
It's probably best to use Maven and Tycho to build WAR files. I tried to make it work a couple of times, but never managed to make it work, especially when using additional non-p2 dependencies.
See: https://www.eclipse.org/forums/index.php/t/1093948/
[Updated on: Tue, 10 January 2023 16:36] Report message to a moderator
|
|
|
Re: How to work with RAP in 2023 ? [message #1856954 is a reply to message #1856952] |
Tue, 10 January 2023 18:04 |
|
Yes, true: Libra is no more available.
That's a pity, because I just installed WindowBuilder from the Marketplace and with it, designing SimplePart.java is so much a pleasure!
A way to easily produce the WAR seems just the last mile needed..
|
|
| | | | |
Goto Forum:
Current Time: Thu Apr 25 23:37:44 GMT 2024
Powered by FUDForum. Page generated in 0.03489 seconds
|