intersystems / ipm

InterSystems ObjectScript Package Manager
MIT License
28 stars 19 forks source link

preload doesn't compile anything in 0.7.x #467

Closed isc-tleavitt closed 2 months ago

isc-tleavitt commented 2 months ago

Currently, %ZPM.PackageManager.Developer.Utils:LoadNewModule calls: $system.OBJ.LoadDir(tPath,,$Select(tVerbose:"d",1:"-d")_"/compile"_$Select($TLevel:"/multicompile=0",1:""),,1)

Should be: $system.OBJ.ImportDir(tPath,,$Select(tVerbose:"d",1:"-d")_"/compile"_$Select($TLevel:"/multicompile=0",1:""),,1)

This is already fixed in the v1 branch but needs to be fixed in a new 0.7.x release to support upgrade to 0.9.x