My team has encountered problems where the module dependencies cannot be resolved and instead of saying so, IPM proceeds with an install action until something somewhere fails to compile due to a "missing" resource in the unresolved module.
Specifics:
- //projects/healthshare/appmodules/CMS-0057-WIP/ is our WIP branch.
- We are currently only merging the "/latest/" (unreleased) subfolders from //healthshare/appmodules into this branch.
- This includes the module HealthShare.HP.Common which we are developing.
- HealthShare.HP.Common (as of yesterday) had a dependency to healthconnect.fhirrepo ^5.4.1.
- healthconnect.fhirrepo, in turn, has a dependency on HealthConnect.FHIRServer.
- A merge from //healthshare/appmodules updated our healthconnect.fhirrepo module.xml file to version 6.1.15. This is the only copy of healthconnect.fhirrepo in our WIP branch and therefore the only one in our IPM repos.
- running IPM "install dev" commands then produces an error upon failing to compile HS.HP.Common.Utils.Installer because the INC file HS.FHIRServer.inc is not found. This resource lives in the HealthConnect.FHIRServer module.
This error is misleading and seems to indicate that the IPM code a) was unable to find a version of healthconnect.fhirrepo that satisfied the dependency requirements and then b) happily carried on trying to build everything instead of halting and reporting this.
Note that these specific conditions no longer apply in the current state of the branch, because we have altered the HealthShare.HP.Common module.xml to be compatible with the new healthconnect.fhirrepo version.
My team has encountered problems where the module dependencies cannot be resolved and instead of saying so, IPM proceeds with an install action until something somewhere fails to compile due to a "missing" resource in the unresolved module.
Specifics:
This error is misleading and seems to indicate that the IPM code a) was unable to find a version of healthconnect.fhirrepo that satisfied the dependency requirements and then b) happily carried on trying to build everything instead of halting and reporting this.
Note that these specific conditions no longer apply in the current state of the branch, because we have altered the HealthShare.HP.Common module.xml to be compatible with the new healthconnect.fhirrepo version.