44 | | * '''FileEntryManager.getRoRoots()''' currently searches for a "modules" dir from the current working directory to the root of the filesystem tree which is not cool because with JWS no such directory exists and the initial current working directory can be unpredictable. '''FileEntryManager''' needs this dir to find all .jars which correspond to Sophie modules and be able to look up inside them for resources, such as icons etc. |
45 | | In order to fix it, '''FileEntryManager''' will access the new '''ListProp<ModuleInfo>startedModules()''' of the running '''ModuleRegistry'''. |
| 44 | * '''FileEntryManager.getRoRoots()''' currently searches for a "modules" dir from the current working directory to the root of the filesystem tree which is not cool because with JWS no such directory exists and the initial current working directory can be unpredictable. '''FileEntryManager''' needs this dir to find all .jars which correspond to Sophie modules and be able to look up inside them for resources, such as icons etc. [[BR]] |
| 45 | In order to fix it, '''FileEntryManager''' will access the new '''ListProp<ModuleInfo>startedModules()''' of the running '''ModuleRegistry'''. [[BR]] |
| 46 | Thus, '''FileEntryManager.findModulesDir()''' will be deleted because '''FileEntryManager.getRoRoots()''' won't use it anymore. Hellyeah! |