How to add NetBeans update center to my NetBeans application updater
"Yann Dameron" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Maybe adding somethink like that in your layer.xml. I don't know if we can do the same with an annotation...
Code:
<folder name="Services">
<folder name="AutoupdateType">
<file name="your_compagny_update_center.instance">
<attr name="displayName" stringvalue="Netbeans 8.0.2 Update Center"/>
<attr name="url" stringvalue="http://updates.netbeans.org/netbeans/updates/8.0.2/uc/final/certified/catalog.xml.gz"/>
<attr name="enabled" boolvalue="true"/>
<attr name="instanceCreate" methodvalue="org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogFactory.createUpdateProvider"/>
<attr name="instanceOf" stringvalue="org.netbeans.spi.autoupdate.UpdateProvider"/>
</file>
</folder>
</folder>
Regards,
Yann
Todd Stevenson wrote:
> I have deployed a NetBeans platform application using the update center, which works very well. It is based on NetBeans 8.0.2. I have noticed that I’ve received updates to my NetBeans IDE from the NetBeans update center (such as git) but these updates are not appearing in my deployed NetBeans app.
>
> I assume that I need to add a reference to the NetBeans Update Center to my layer.xml that describes the Services/AutoupdateType, but I can’t see documentation on how to do that? I see general discussion about adding multiple update center descriptions but not specifics about how to point to the NetBeans site.
>
> Can you point me to the documentation or give me an example of how to do this?
>
> Thank you very much.
>
> Todd Stevenson