brandingToken is used when assembling the app (eg. to rename the
bin/*.exe executables etc.)
http://mojo.codehaus.org/nbm-maven/nbm-maven-plugin/cluster-app-mojo.html#brandingToken

So let's say you create 2 profiles in nbm-application project with
the branding module in
<dependencies>
and <brandingToken> configuration setup.

then you jut activate the appropriate profile and things should just build.

Milos



On Fri, Oct 11, 2013 at 3:47 PM, Damian O'Neill <done...@btisystems.com> wrote:
> Thanks Milos, if I create a nbm for each branding (with the same structure
> as the branding module) and associate each with the application module,
> how/where does the brandingToken name get defined?
>
> Regards,
> Damian.
>
>
>
>
>
> On 11/10/2013 13:43, "Milos Kleint" <mkle...@gmail.com> wrote:
>
> you will need to create a module project per branding and include them
> all into your application.
>
> Milos
>
> On Fri, Oct 11, 2013 at 2:17 PM, Damian O'Neill <done...@btisystems.com>
> wrote:
>> Hi Guys, I was looking for an example of multibranding using the plugin.
>> Specifically I would like to create multiple brands for a netbeans
>>platform
>> application and based on the brandingToken build one or the other.
>>
>> Using Netbeans 7.3.1 I created a sample project, this created a branding
>> module which contains directories in src/main called; nbm, nbm-branding
>>and
>> resources.  I copied the nbm-branding directory (contains branding
>>content)
>> and renamed to new brand name and then supplied this as the
>>brandingToken on
>> the command line.
>>
>> Unfortunately this wasn¹t picked up.
>>
>> Could any provide instructions on how to do this or point me at a repo
>>that
>> contains an example.
>>
>> Thanks in advance.
>>
>> Regards,
>> Damian.
>>
>>
>
> ---------------------------------------------------------------------
> 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
>
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to