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.
The current ModuleAutoDeps code requires that 'older' trigger deps be used with a spec version. However in case you simply want to upgrade all users of an older major release version to a new version, it doesn't make much sense. Want to simply say <trigger-dependency type="older"> <module-dependency codenamebase="stabilized" major="1"/> </trigger-dependency> That syntax currently results in a runtime error, which is not really necessary - the code actually handles this correctly already, except for the error. Adding a unit test to check the new behavior too.
committed * Up-To-Date 1.8 core/src/org/netbeans/core/modules/AutomaticDependencies.java committed * Up-To-Date 1.3 core/src/org/netbeans/core/modules/module-auto-deps-1_0.dtd committed * Up-To-Date 1.6 core/test/unit/src/org/netbeans/core/modules/AutomaticDependenciesTest.java committed * Up-To-Date 1.6 core/test/unit/src/org/netbeans/core/modules/data/auto-deps-1.xml committed * Up-To-Date 1.3 www/www/dtds/module-auto-deps-1_0.dtd
Verified.