Closed dalehenrich closed 2 years ago
Move now gets the package & project from the method itself, both before and after the move. Then those packages and projects are updated to refresh the dirty flag. https://github.com/GemTalk/RowanClientServices/commit/877a5b480295df5d05b46a543a94bce0dd9d56b6
Still need to write a test.
Added JadeiteProjectBrowserClassesTestCase>>test_moveMethodDirtiesPackage to client test suite.
... hybrid/Monticello category names are case insensitive and package names are case sensitive so a category name like 'rowan-testsv2
is a legal category name that refers to a package named
Rowan-TestsV2, but RowanClassService>>moveMethods:to: assumes that that the package name can be constructed by simply stripping the leading
$` ...Furthermore, for Rowan package convention projects, the category name is not related to any package ... If it is necessary to create a
projectService
instance when a method is moved to a different package, then we need to collaborate on a better algorithm. However, since the packageService/projectService instances are not preserved, it may not be necessary to do anything at all?