Tips and tricks for upgrades per version

This topic provides additional tips and tricks when upgrading to newer versions. Things you should keep in mind when planning and realizing an upgrade.

See also Changelog per Version for information on issues resolved in each XperienCentral release and Upgrade Notes per Version for any neccesary steps during upgrades

Reusables

Maven parent pom 5.0.2

Regardless of the XC version your upgrading to if you are updating the xc maven parent pom to 5.0.2 or higher for any custom plugins. You should update the readme.txt and changelog.txt to a readme.md and a changelog.md. The changelog can often be copied as is from the txt variant. But for the readme you should update the structure and contents as well. Look at ???? for an example.

XperienCentral

XperienCentral R45

Release date: September 10, 2024

Er bestaat een Powershell script waarmee een directory gescand kan worden op het gebruik van deprecated methodes.

Gebruik van het script:

  1. mvn clean op je te scannen directory (*zonder install!*). Verwijder dus de 'target' directory

  2. Download het script en bijbehorende tekstbestand, plaats ze in dezelfde map.

  3. Voer het script uit met powershell

  4. Geef de map op die je wil scannen

  5. Geef de extensies op die je wil scannen (ik raad aan in te vullen: '.jsp,.jspf,.tag' (zonder aanhalingstekens))

  6. Controleer de resultaten. Er zullen false positives bij zitten, maar het is sneller dan handmatig door alles heen te gaan in je code editor.

Het script en het benodigde ‘scan_for_words.txt’ bestand zijn hier te downloaden:

XperienCentral R44

Release date: June 17, 2024

???

XperienCentral R43

Release date: March 4, 2023

???

XperienCentral R42

Release date: December 4, 2023

R42 introduced some breaking changes. Which means any plugin (including reusables) is not likely to work out-of-the-box. So keep in mind you might need to upgrade any used reusables that don't have a R42+ version yet during your upgrade project.