Hello,

This aspect of the Netbeans platform application development is not
yet properly solved by the nbm plugin. You don't have fine grained
control over single module enablement. YOu can currently only disable
complete clusters (eg profiler or enterprise)

There's probably 2 options open to you.
1. physically delete the modules from the platform you are running
against and that will be used in the final product. The downside here
is that once you upgrade your platform binaries, you need to do it
again. The upside is the modules are completely gone from the final
bits.
2. You can disable single modules by placing a correct xml file in a
correct location in your own cluster I believe. The best way to figure
out what is the correct xml and location is to run your app, disable
the modules you don't want and check your app's userdir (as specifed
by netbeans.conf file or --userdir command line option). There should
be some xml files under config/Modules/*.xml. You need to persist
those files in your own cluster at the same location eg.
<cluster_name>/config/Modules
Then (with a clean userdir) these modules should be disabled. I've
done something along those lines for the Netbeans BlueJ Edition. The
downside is you still ship the modules, they are only disabled and
users can enabled them.

Regards

Milos

PS: in 6.0 the Tools/Plugins dialog doesn't let you disable single
modules. You will need to install the Module manager module (on AU I
believe) that contains the old Module Manager UI (as found in 5.5)




On 10/31/07, Roland Klein <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> playing with the archetype from here
> http://jira.codehaus.org/browse/MNBMODULE-14 , i wondered how i could
> strip down the necessary NetBeans modules, because i don't want to use
> the NetBeans modules favorites, Web Browser, logfile viewer etc.
>
> In the main pom.xml there is a reference to the enabled cluster
> (<enabledCluster>milos_cluster</enabledCluster>)  and i switched off the
> platform cluster, but there is also this element
> <netbeansInstallation>D:\Programme\Java\NetBeans-6</netbeansInstallation>
> and i suppose all this unwanted modules came from there.
>
> So where to put dependencies of NetBeans modules?
> or
> How could i strip down my platform?
>
> thanks in advance
> Roland
>
> --
> Roland Klein
> Tel: +49 40 65803 209
> Fax: +49 40 65803 392
> [EMAIL PROTECTED]
>
> MTG Marinetechnik GmbH - Wandsbeker Koenigstr. 62 - D 22041 Hamburg
>
> GF Dipl.-Ing. Ullrich Keil
> Handelsregister: Abt. B Nr. 11 500 - Amtsgericht Hamburg Abt. 66
> USt.-IdNr.: DE 1186 70571
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to