This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
See JG01 from issue #170056. Neither nbbuild/templates/common.xml#fix-dependencies nor FixTestDependencies should make reference to specific modules. All substitutions should be controlled by ModuleAutoDeps.
A particular problem with the current target: say you have a module which uses GlobalPathRegistry from NB 6.8, then switch the platform to 6.9. It will still compile due to auto deps on api.java -> api.java.classpath split, but will show error marks in the editor. Fine - so you add the api.java.classpath manually (since fix-dependencies does not yet do this for you). But now if you run fix-dependencies again, it will remove the api.java.classpath dep you just added, since it is not "necessary" to compile!
Probably not that urgent.