Skip to content

Multiple abap2UI5 versions with FLP connector #1493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
christianguenter2 opened this issue Oct 6, 2024 · 5 comments
Open

Multiple abap2UI5 versions with FLP connector #1493

christianguenter2 opened this issue Oct 6, 2024 · 5 comments

Comments

@christianguenter2
Copy link
Contributor

Regarding automagically renaming abap2UI5 and install multiple versions in one system as described here
https://www.linkedin.com/pulse/renaming-abap-artifacts-power-abaplint-github-actions-development-kqede/?trackingId=ZfuwHYWrGeZKkDGsXXwLCA%3D%3D

Is it possible to use FLP connector with multiple abap2UI5 versions? Last time I checked it was not and tried some dynamic programming but didn't come far. Another option would to automagically rename FLP connector and run multiple instances of that too. But AFAIK BSP isn't supported.

@oblomov-dev
Copy link
Member

mhh good point! it is not! i think also renaming is the correct way for this but abaplint renaming just supports classes and interfaces afaik.

created a little script here to copy & rename ui5 files to bsp:
https://github.com/abap2UI5/abap2UI5/blob/main/ci/app2bsp/run.js

but its very very basic, no dynamic creation of mapping etc. but it might be possible to also change the namespace, will give it a try and come back.

@oblomov-dev
Copy link
Member

i was able to install the bsp renamed to z2ui6., feel free to give a try to:
https://github.com/abap2UI5-connectors/fiori-launchpad-connector-onpremise/tree/renamed

some notes:

@oblomov-dev
Copy link
Member

for a consistent approach we need to be able to rename all abap2Ui5 repositories, therefore created:
https://github.com/abap2UI5-renamed
i can install frontend and frontend-renamed separately but when installing both in parallel some icf issues come up. seems there is some magic left with the generated numbers for the icf nodes. will take a look to it again.

@oblomov-dev
Copy link
Member

oblomov-dev commented Dec 15, 2024

Updated the frontend renaming repository again: https://github.com/abap2UI5-renamed/frontend

Added a script which generates new hash values for the icf nodes and now it runs stable on my side. I can install it multiple times and also with different lenght of the names, here z2ui5, z2ui7, zabap2ui9
SAPGUI 2024-12-15 22 47 24

Feel free to give it a try.

the only thing which is not so nice, that the bsp has always some diffs with invisible charactes, but i will not put effort into solving this:
Screenshot 2024-12-15 at 22 50 59

@christianguenter2
Copy link
Contributor Author

Thx a lot for your effort. Seems it doesn't work yet with namespaces. I'll try to submit some improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants