ModuleInfo does not seem to provide access to everything from the
manifest, especially not the path to the layer file.
P.
Am 05.10.18 um 07:10 schrieb Geertjan Wielenga:
Unless you don't mean the module info file from Jigsaw, and you mean
something different instead? The layer.xml file is registered in the
module's manifest, if that helps.
Gj
On Fri, Oct 5, 2018 at 7:06 AM Geertjan Wielenga <
[email protected]> wrote:
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
---------------------------------------------------------------------
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