Migration from 12 to version 13
A migration to RapidClipse version 13 consists of two steps. The first is to run the automatic migration within the IDE and the second is to check each item below to see if everything is ready for version 13. Please always make sure you have a backup, such as your GIT or another solution.
Step 1 - Preparation:
-
Download the latest RapidClipse IDE and extract it to a folder of your choice.
-
Create a new workspace.
-
Import your project into this workspace and create a new branch to perform the migration.
-
Check all basic configurations within the new IDE, some examples below:
-
JDK versions of your IDE
-
Export/import your database connections from your old IDE to the new one.
-
Copy your code formatter settings
-
Install all of your previous plugins such as JRebel.
-
Install a suitable application server such as Tomcat 10.1.
-
-
Make sure there are no compiler errors in your project.
Step 2 - Automatic migration:
-
There are two different steps that has to be done for the automatic part of the migration. Both popups should appear after importing an old project or when you bind an old workspace.
-
Update workspace
-
Update RapidClipse Framework
-
-
You should first run the "Update Workspace" without closing the "Update RapidClipse Framework"
-
After the workspace has been updated you can directly start "Update RapidClipse Framework"
-
In case you missed the two popups you can start both procedures as follows:
-
Right click Projekt → RapidClipse → Update Project
-
Menubar - Help → Check for Framework Updates
-
-
You will see following changes after migration
-
POM.xml should be updated
-
rap-server-core updated to version 13.0.0 or 13.0.0-SNAPSHOT
-
jakarta.servlet API updated to version 6.0.0
-
vaadin-maven-plugin updated to version 24.3.6
-
jetty plugin updated to version 12.0.5
-
-
-
It is also possible that some compiler errors may occur after migration. See "Manual migration" for further details.
Step 3 - Manual migration :
Please note that we never change your Java code after or during a migration. This is the reason why manual steps are always required to successfully update a project.
-
Due to the fact that iron icons has been removed from Vaadin 24 this could be a reason for compiler errors after the update. The following steps will help to fix this:
-
Open the java version of the UI and remove the "import com.flowingcode.vaadin.addons.ironicons.IronIcons;" import manually.
-
Switch to UI Builder view and set a new "Fontawesome" icon
-
Save both files
-
-
In some rare cases it might help to just open the UI file and save it directly. The Java code will then be rebuild correctly. This could happen for example:
-
NumberField#setHasControls(true);
-
-
Change the import in the class "AppServlet" from "import javax.servlet.annotation.WebServlet" to "import jakarta.servlet.annotation.WebServlet"
-
Find all classes that contain "javax.validation" and change it to "import jakarta.validation.[…]"