Re: Netbeans Maven Lexer Fontscolors

Jean-Marc Borer <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CADAUzb=cizBwATTdfkE1U6a1tPrjGHZvuG3rSGr0nEA=0Q1PNw@mail.gmail.com>
Hi Klaus,

A few years ago, I asked a question about the generated-layer.xml content
and how it is handled.

So the location of generated-layer.xml is hard coded in NB and the module
manager tries to load it for every module if found. Hence there is no point
to declare it in the module descriptor.

You can define your own layer.xml (don't forget to declare that one!) which
will live in parallel of the generated one. They will be merged at runtime.
The only thing I don't remember is the priority of the merge. There are
many chances that your layer.xml has priority over the generated file.

Cheers,

JMB

On Wed, Feb 22, 2017 at 7:49 AM, Klaus Martinschitz <
[email protected]> wrote:

> Hello,
>
> I have tried a lot and found out finally, that Netbeans Maven seems to
> merge the layer.xml somehow but not to the generated-layer.xml file. The
> files  generated-layer.xml and layer.xml seem to stay separated but are
> merged internally during runtime. So, there seems to be no problem anymore.
> Just define everything you want in the layer.xml file.
>
> Regards,
> Klaus
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.