You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Jerome Lelasseux <le...@yahoo.com.INVALID> on 2022/04/27 21:26:04 UTC

Netbeans API to install plugin from local .nbm file ?

Is there a Netbeans API to install a plugin from a local .nbm file ?    I know that the feature is supported (eg autoupdate), but I can't find the appropriate API...

The scenario is that a user bought and downloaded a plugin (.nbm file from a 3rd-party web site), and in my NB platform app he would select an "upgrade" menu entry, then select the .nbm file and voila.








Re: Netbeans API to install plugin from local .nbm file ?

Posted by Jerome Lelasseux <le...@yahoo.com.INVALID>.
 I think I found the doc I was looking for: https://bits.netbeans.org/dev/javadoc/org-netbeans-modules-autoupdate-services/overview-summary.html#install-new-functionality and https://bits.netbeans.org/dev/javadoc/org-netbeans-modules-autoupdate-services/org/netbeans/api/autoupdate/OperationContainer.html
 Now I need to test it...




    Le jeudi 28 avril 2022, 13:35:18 UTC+2, Jerome Lelasseux <le...@yahoo.com> a écrit :  
 
  Yes, but without using the Plugins dialog.


    Le jeudi 28 avril 2022, 01:00:39 UTC+2, Laszlo Kishalmi <la...@gmail.com> a écrit :  
 
  
You mean: Tools > Plugins > Downloaded > Add Plugins... ?
 
 On 4/27/22 14:26, Jerome Lelasseux wrote:
  
 
 Is there a Netbeans API to install a plugin from a local .nbm file ?    I know that the feature is supported (eg autoupdate), but I can't find the appropriate API...
  
  The scenario is that a user bought and downloaded a plugin (.nbm file from a 3rd-party web site), and in my NB platform app he would select an "upgrade" menu entry, then select the .nbm file and voila. 
  
  
  
  
  
  
  
       

Re: Netbeans API to install plugin from local .nbm file ?

Posted by Jerome Lelasseux <le...@yahoo.com.INVALID>.
 Yes, but without using the Plugins dialog.


    Le jeudi 28 avril 2022, 01:00:39 UTC+2, Laszlo Kishalmi <la...@gmail.com> a écrit :  
 
  
You mean: Tools > Plugins > Downloaded > Add Plugins... ?
 
 On 4/27/22 14:26, Jerome Lelasseux wrote:
  
 
 Is there a Netbeans API to install a plugin from a local .nbm file ?    I know that the feature is supported (eg autoupdate), but I can't find the appropriate API...
  
  The scenario is that a user bought and downloaded a plugin (.nbm file from a 3rd-party web site), and in my NB platform app he would select an "upgrade" menu entry, then select the .nbm file and voila. 
  
  
  
  
  
  
  
     

Re: Netbeans API to install plugin from local .nbm file ?

Posted by Laszlo Kishalmi <la...@gmail.com>.
You mean: Tools > Plugins > Downloaded > Add Plugins... ?

On 4/27/22 14:26, Jerome Lelasseux wrote:
> Is there a Netbeans API to install a plugin from a local .nbm file 
> ?    I know that the feature is supported (eg autoupdate), but I can't 
> find the appropriate API...
>
> The scenario is that a user bought and downloaded a plugin (.nbm file 
> from a 3rd-party web site), and in my NB platform app he would select 
> an "upgrade" menu entry, then select the .nbm file and voila.
>
>
>
>
>
>
>
>