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.
Currently the tasklist modules have complex impl interdependencies based on build number, which makes it effectively impossible to update daily builds of these NBMs from the Alpha update center - the dependencies generally fail. They should switch to using OpenIDE-Module-Build-Version (see URL) for the actual build version, and a special token of your choice for the impl version. For example, there could be a file tasklist/build.properties containing just the line impl.version=22dec03 and every submodule using impl deps could substitute e.g. @IMPL_VERSION@ in manifest.mf (whether in OpenIDE-Module-Implementation-Version, or OpenIDE-Module-Module-Dependencies, or both) with ${impl.version}. Then all you need to do is change ${impl.version} whenever you make a potentially incompatible change in private APIs. When you do this, be sure to also increment the spec version in all submodules making use of this version, so that AU will get the new NBMs.
Possible enhancement: for {impl.version} one can use a number (and increment it), then declare dependent modules spec versions ala 1.x.@IMPL_VERSION@. Incrementing {impl.version} also increments spec version of dependent modules (those aware of the property).
Yes, I like that idea.
Done.
Looks good, except you forgot to add OpenIDE-Module-Build-Version: @BUILD_NUMBER_SUBST@ to each manifest. Also in the build scripts, probably the second filter in e.g. <filter filtersfile="../version.properties"/> <filter token="tl.suggestions.spec" value="${tl.suggestions.spec}"/> is redundant: version.properties already defines ${tl.suggestions.spec}. Then you can also delete <property file="../version.properties"/> if nothing else in the build script is using these properties. BTW using the standalone <filter/> task is not a good idea - best to embed it in the task that will use the filter, e.g. <copy file="manifest.mf" tofile="manifest-subst.mf"> <filterset> <filtersfile file="../version.properties"/> <filter token="BUILD_NUMBER_SUBST" value="${buildnumber}"/> </filterset> </copy> Some day we will update all build scripts to use the preferred style.
*** Issue 38345 has been marked as a duplicate of this issue. ***
*** Issue 38487 has been marked as a duplicate of this issue. ***
the build version attribute added
Please, reporter, could you verify fixed issues. Thanks a lot.