On Fri, 5 Oct 2018 at 10:32, Peter Nabbefeld wrote:
> It just was a guess. I just wanted to work around my other question
> (getting the url from a file reference).
There's not even necessarily one layer file either. What exactly is
the problem you're trying to solve? What's wrong with
Exactly.
Gj
On Friday, October 5, 2018, Peter Nabbefeld wrote:
> It just was a guess. I just wanted to work around my other question
> (getting the url from a file reference).
>
> But, thinking about it, this it isn't expected to be possible, as the
> layer file becomes part of the XML
It just was a guess. I just wanted to work around my other question
(getting the url from a file reference).
But, thinking about it, this it isn't expected to be possible, as the
layer file becomes part of the XML filesystem after installation, it
doesn't have a "personality" of its own which
I still don’t understand why it is that you are trying to do this, if you
explain the context, that would help. You should never need to access the
layer.xml file itself. There are method calls in FileUtil for getting hold
of folders and files in the layer. Can you explain what it is you’re trying
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
Good Morning Geertjan,
I asked for "from ModuleInfo (or sth. else in global lookup)?" - so it's
about the ModuleInfo objects which are placed in the global lookup of
NetBeans. ;-)
I'll not (yet) try to mix NetBeans modules with Jigsaw, as NetBeans
modules do not yet support that yet,
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 <
geertjan.wiele...@googlemail.com> wrote:
> Whatever it is you're
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
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: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands,