| View previous topic :: View next topic |
| Author |
Message |
Pavel S.
Joined: 19 Oct 2010 Posts: 12
|
Posted: Thu Jun 09, 2011 11:34 pm Post subject: Creating NBM from Maven module suite |
|
|
Hi,
I have developed several NB modules recently and I want to pack all of them together into single NBM file, so they can be installed by one click. I have noticed there is Module Suite option in NetBeans, I guess it should be designed right for this purpose. However, I was not able to solve how to create NBM file from the modules. All my modules (including the module suite) are managed by maven.
Thanks for any advices or hints. |
|
| Back to top |
|
 |
Milos Kleint Posted via mailing list.
|
Posted: Fri Jun 10, 2011 5:28 am Post subject: [platform-dev] Re: Creating NBM from Maven module suite |
|
|
afaik a nbm only wraps a single module. never heard that it was
possible to create a nbm for multiple ones, even though the nbm file
is basically just a zip file (with some metadata)
Milos
On Fri, Jun 10, 2011 at 1:35 AM, Pavel S. <address-removed> wrote:
| Quote: | Hi,
I have developed several NB modules recently and I want to pack all of them together into single NBM file, so they can be installed by one click. I have noticed there is Module Suite option in NetBeans, I guess it should be designed right for this purpose. However, I was not able to solve how to create NBM file from the modules. All my modules (including the module suite) are managed by maven.
Thanks for any advices or hints.
|
|
|
| Back to top |
|
 |
Pavel S.
Joined: 19 Oct 2010 Posts: 12
|
Posted: Fri Jun 10, 2011 8:55 am Post subject: |
|
|
| Thanks for the response. So is there any possibility to install several modules "at once"? For example, I can install all PHP functionality by selecting one item in the list, I'd like to have my modules wrapped in exactly same way. |
|
| Back to top |
|
 |
Milos Kleint Posted via mailing list.
|
Posted: Sat Jun 11, 2011 4:39 am Post subject: [platform-dev] Re: Creating NBM from Maven module suite |
|
|
that's just an illusion where a module is selected as "kit" and
visible in the update center, while the other modules it depends on
(shall be all of your modules that actually do anything and you want
to be installed together) are marked as hidden.
Milos
On Fri, Jun 10, 2011 at 10:56 AM, Pavel S. <address-removed> wrote:
| Quote: | Thanks for the response. So is there any possibility to install several modules "at once"? For example, I can install all PHP functionality by selecting one item in the list, I'd like to have my modules wrapped in exactly same way.
|
|
|
| Back to top |
|
 |
Pavel S.
Joined: 19 Oct 2010 Posts: 12
|
Posted: Sat Jun 11, 2011 12:58 pm Post subject: |
|
|
| Very well, how can I hide the module(s) in the plugin manager? And will they be uninstalled (or disabled) if I uninstall (or disable) the "kit" module? |
|
| Back to top |
|
 |
libor
Joined: 03 Jun 2011 Posts: 60
|
Posted: Sun Jun 12, 2011 9:59 am Post subject: [platform-dev] Re: Creating NBM from Maven module suite |
|
|
I am still NBP newbie but if I understand correctly, I think that is little different. All the magic is done using module dependencies.
"Module Kit" is one visibible module and arbitrary number of depending hidden modules. Installing visible module will install all depending modules also. Likewise uninstalling visible module should uninstall depending and now orphan modules.
Libor
2011/6/11 Pavel S. <address-removed ([email]address-removed[/email])>
| Quote: | Very well, how can I hide the module(s) in the plugin manager? And will they be uninstalled (or disabled) if I uninstall (or disable) the "kit" module?
|
|
|
| Back to top |
|
 |
Ernie Rael Posted via mailing list.
|
Posted: Sun Jun 12, 2011 2:31 pm Post subject: [platform-dev] Re: Creating NBM from Maven module suite |
|
|
On 6/12/2011 2:20 AM, Libor Jelinek wrote: | Quote: | I am still NBP newbie but if I understand correctly, I think that is little different. All the magic is done using module dependencies.
"Module Kit" is one visibible module and arbitrary number of depending hidden modules. Installing visible module will install all depending modules also. Likewise uninstalling visible module should uninstall depending and now orphan modules.
Libor
2011/6/11 Pavel S. <address-removed ([email]address-removed[/email])>
| Quote: | Very well, how can I hide the module(s) in the plugin manager? And will they be uninstalled (or disabled) if I uninstall (or disable) the "kit" module?
|
| I believe Libor is correct. And as for
| Quote: | | how can I hide the module(s) in the plugin manager? | At module-properties>Display notice the "Show in Plugin Manager" checkbox
-ernie |
|
| Back to top |
|
 |
Monezz
Joined: 18 Feb 2009 Posts: 254
|
Posted: Tue Jun 14, 2011 4:18 am Post subject: [platform-dev] Re: Creating NBM from Maven module suite |
|
|
| Quote: |
how can I hide the module(s) in the plugin manager?
At module-properties>Display notice the "Show in Plugin Manager" checkbox
| Or use the "AutoUpdate-Show-In-Client: false" entry in the manifest.mf
file when your using maven. |
|
| Back to top |
|
 |
|