How to upgrade a Mendix mainline version 5 to (at least) 7?
0
Hi colleagues, We have an app that is originally build in Mendix 5. Somehow someone decided not to use the mainline. We now want to migrate to GIT (and move on to Mendix 10) but to do so the migration to GIT proces requires the mainline to be in Mendix 9. We know the tricks to get the contents of our current branche into an upgraded mainline, we know the normal way to upgrade mainline and branches, no problem there. BUT, we do tried with several Mendix 6 versions to open and instantly upgrade/migrate the old mainline, but we get stuck there, because Mendix modeler version 6 requires a login before opening (and instantly upgrading) our mainline mpr file and that login does not work any more. Does anyone know an alternative to get our mainline upgraded to at least Mendix 6 or 7? Bypass Mendix 6 somehow or any other solution for this issue?
asked
Rob van Horssen
2 answers
0
You can not bypass a Mendix main version.
Copy the complete folder structure and remove the hidden folder .svn
Upgrade the mpr locally to Mendix 7
Copy this mpr to a mendix application folder that is maintained with a well known account or "upload to version control server" the application to a new project.
This is just a short indication of the directions. Contact me for more details.
answered
Chris de Gelder
0
I have used a solution in the past to replace the mainline with a up-to-date (and tested) branch:
Checkout Both Lines: Get a local checkout of both the mainline and the up-to-date branch.
Overwrite Mainline Files: In your local mainline directory, delete all files except the hidden .svn directories (which keep SVN metadata intact). Then copy all files from your up-to-date branch’s checkout into the mainline directory.
Open and Commit: Open the modified mainline project in the Mendix Modeler to verify everything is in order, then commit your changes via SVN. This manual method “forces” the mainline to become identical to the branch.