Replacing existing module with SDK

0
All our applications share some custom made modules that we cannot post in the marketplace.   We want when we update them to update them automatically in all our projects that use them.   We tried to export and import them using the SDK, but in order to import them we have to delete the existing ones. As a consequence when deploying everything is empty.   There seems to be no functionality to replace a module as it can be done in Studio Pro.    There seems to be no way to retrieve from the commits which files where changed so we can reverse engineer them and copy only those.   Do you have any ideas??
asked
3 answers
0

I would suggest to publish it in your private market place. And on every update, inform project teams to directlly update it from marketplace. 

answered
0

One complelty different solution would be to pulish common module as API. Considering you have 60 application using it, so making it as api is not a bad choice. Could you share some details of what is included in the common module and how do you maintain compatibility between versions?

 

I would still suggest to use private marketplace what issue are you facing in publishing?

answered
0

Its an interesting and very practical issue.  One approach that works for me is to minimize common jars. Like when you import module, it shows you list of jar, try to choose none or very minimum jar  to avoid any possible conflict with latest version of common jar files. 

 

Also try to move any custom code as single repository /project like "Common Modules" for better maintenance and version control. 

answered