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.
[#200508161800] 1.Go to Tools | NetBeans Update 2.Connect to the Development Update Center 3.In panel #2 of the wizard select any module and push More button 4.The browser appears and points to nbbuild.netbeans.org instead of the module's page
No problem in AutoUpdate client, the address http://nbbuild.netbeans.org is generated by build system. Robert, could you consider if any other address should generated or not? Thanks
My suspicion: when you run ant -f foo/bar/build.xml nbm then homepage in info.xml is set correctly. But perhaps nbbuild/build.xml#build-nbms calls every module with nbm.domain set to 'nbbuild', due to inheriting this property from the master script?
I suspect code on lines 609-621 of nbbuild/antsrc/org/netbeans/nbbuild/MakeNBM.java (lines which I authored) cause this bug in present buildsystem metadata flow. I would also consider promoting the "else block" of that code to BuildException or at least warning msg at MSG_INFO level. It's now simple debug msg.
This is a noticeable problem.
I would suggest disabling the button if no link exists. The module home pages are not necessarily useful.
The problem is that the link always *does* exist and it is always wrong. Patrick - if you want to file an RFE for the autoupdate module to conditionally enable the button, please do so separately as it is independent of this build system bug. (The homepage attr is optional in the DTD, though I am not sure if the standard module build harness actually lets you omit it.)
The problem is in ParseProjectXML.java, which sets the domain nbm.domain property.
There was getProject().getProperty("basedir") instead of getProject(). getBasedir() Checking in antsrc/org/netbeans/nbbuild/ParseProjectXml.java; /cvs/nbbuild/antsrc/org/netbeans/nbbuild/ParseProjectXml.java,v <-- ParseProjectXml.java new revision: 1.31; previous revision: 1.30 done
Verified in dev build #200509181800. I just checked out the jellytools module link and it works fine.