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 following warning is issued by the build system while building schema/completion module: jar: Warning: in org.netbeans.modules.xml.schema.completion, not using spec.version.base, yet declaring implementation dependencies; may lead to problems with Auto Update Ideally module dependencies should be specified via spec numbers so that when the dependent module is updated, the depending module can still work with it. If the dependency is specified with respect to a specific implementation value, then when the dependent module's implementation version is updated, the depending module will not work. From schema/completion/nbprojct/project.xml: <dependency> <code-name-base>org.netbeans.modules.xml.text</code-name-base> <build-prerequisite/> <compile-dependency/> <run-dependency> <release-version>2</release-version> <implementation-version/> </run-dependency> </dependency>
We have two choices: - have text-edit declare this module as friend (http://www.netbeans.org/issues/show_bug.cgi?id=87244) - make xml/schema/completion and text-edit be part of one cluster. None of this is possible at this time, that is, it cannot be fixed at this time.
Marking this as enhancement, since this cannot be fixed at this point for release55. We can take care of this in 6.0.
Depends on 87244.
Fix integrated: Checking in friend-packages.txt; /cvs/ide/golden/friend-packages.txt,v <-- friend-packages.txt new revision: 1.15.4.1.2.134.6.8; previous revision: 1.15.4.1.2.134.6.7 Checking in impl-deps.txt; /cvs/ide/golden/impl-deps.txt,v <-- impl-deps.txt new revision: 1.30.2.4.2.8.14.1; previous revision: 1.30.2.4.2.8 Checking in project.xml; /cvs/xml/xdm/nbproject/project.xml,v <-- project.xml new revision: 1.1.2.17.14.3; previous revision: 1.1.2.17.14.2 Checking in project.xml; /cvs/xml/text-edit/nbproject/project.xml,v <-- project.xml new revision: 1.5.2.1.2.3.28.1; previous revision: 1.5.2.1.2.3 Checking in project.xml; /cvs/xml/schema/completion/nbproject/project.xml,v <-- project.xml new revision: 1.1.2.6.26.1; previous revision: 1.1.2.6
Here is the new project.xml snippet from completion module: <dependency> <code-name-base>org.netbeans.modules.xml.text</code-name-base> <build-prerequisite/> <compile-dependency/> <run-dependency> <release-version>2</release-version> <specification-version>1.12.21.4.4</specification-version> </run-dependency> </dependency> This explains.
Verified in NB551 build. There is no warning in the build log; furthermore, the new project.xml from completion module does show : dependencies is specified via spec numbers