Thank You, but this method returns a FileObject (implementation is MultiFileObject, which isn't publicly accessible) within the XML filesystem, with the url attribute not being accessible, just as described below.

P.


Am 05.10.18 um 07:09 schrieb Geertjan Wielenga:
Maybe this helps:

http://bits.netbeans.org/dev/javadoc/org-openide-filesystems/org/openide/filesystems/FileUtil.html#getConfigFile-java.lang.String-

Gj

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

Hello,

when I put something like the following into my module's layer:
      <file name="my-module-base.xml" url="my-physical-location.xml">

I can read the file, but its path is always
"parent/folders/my-module-base.xml", I cannot get the url value.

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



Reply via email to