Whatever it is you're trying to do here, please stop. :-) The NetBeans
module system and the Jigsaw module system are two totally different things
and know nothing about each other. On the other hand, you're going to
ignore this advice and go on ahead with whatever this is anyway, so bear in
mind that the module info file is always found in exactly the same place,
so you can simply provide a hard coded path to it, just like is done here
for example, look for 'META-INF':

https://github.com/apache/incubator-netbeans/blob/master/java/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingFileManager.java

Gj



On Fri, Oct 5, 2018 at 6:55 AM Peter Nabbefeld <[email protected]>
wrote:

>
> Hello,
>
> is there any way to read a module's layer.xml from ModuleInfo (or sth.
> else in global lookup)?
>
> Kind regards
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Reply via email to