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 issue 211741. It's needed a way how to set content-description element to UC catalog in build time.
Petre, we would like that our next 7.3 beta2 build would contain this. Keep in touch with Jirka R. Thanks.
Created attachment 127190 [details] proposed patch Petr, please review the patch and apply in trunk and release73_beta2 as well. In job configuration of 7.3 Beta2 just add: CONTENT_DESCRIPTION="NetBeans 7.3 Beta 2" CONTENT_DESCRIPTION_URL=http://netbeans.org/community/releases/73/ export CONTENT_DESCRIPTION CONTENT_DESCRIPTION_URL Thanks
(In reply to comment #2) > Petr, please review the patch and apply in trunk and release73_beta2 as well. It seems, setter and getter methods names in custom ant tasks are not case sensitive so the change in /nbbuild/antsrc/org/netbeans/nbbuild/MakeUpdateDesc.java is not needed. Al least the original source code worked for me yesterday. Since all necessary changes in the source code of /nbbuild/antsrc/org/netbeans/nbbuild/MakeUpdateDesc.java were already in place, I committed my own change in /nbbuild/build.xml yesterday ( please see http://hg.netbeans.org/web-main/rev/1f486eadd2be ) > In job configuration of 7.3 Beta2 just add: > CONTENT_DESCRIPTION="NetBeans 7.3 Beta 2" > CONTENT_DESCRIPTION_URL=http://netbeans.org/community/releases/73/ > export CONTENT_DESCRIPTION CONTENT_DESCRIPTION_URL IMHO it doesn't make sense to change 7.3 beta2 job configuration because catalogs for real 73 beta2 AUCs are generated in a separate process. Or do you need for some reason to have the content description in catalogs from the regular build? I don't know any meaningful utilization for them.
(In reply to comment #3) > (In reply to comment #2) > > Petr, please review the patch and apply in trunk and release73_beta2 as well. > > It seems, setter and getter methods names in custom ant tasks are not case > sensitive so the change in > /nbbuild/antsrc/org/netbeans/nbbuild/MakeUpdateDesc.java is not needed. Al Right, not needed to changing it. > least the original source code worked for me yesterday. > > Since all necessary changes in the source code of > /nbbuild/antsrc/org/netbeans/nbbuild/MakeUpdateDesc.java were already in place, > I committed my own change in /nbbuild/build.xml yesterday ( please see > http://hg.netbeans.org/web-main/rev/1f486eadd2be ) Okay, I'll close it as fixed. > > In job configuration of 7.3 Beta2 just add: > > CONTENT_DESCRIPTION="NetBeans 7.3 Beta 2" > > CONTENT_DESCRIPTION_URL=http://netbeans.org/community/releases/73/ > > export CONTENT_DESCRIPTION CONTENT_DESCRIPTION_URL > > IMHO it doesn't make sense to change 7.3 beta2 job configuration because > catalogs for real 73 beta2 AUCs are generated in a separate process. Or do you > need for some reason to have the content description in catalogs from the > regular build? I don't know any meaningful utilization for them.
Integrated into 'main-golden', will be available in build *201211070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1f486eadd2be User: PGebauer <pgebauer@netbeans.org> Log: #219064 Provide a way how to add 'content-description' to UC catalog