Trying to understand a little about how NB finds source files (e.g.
"go to declaration") I came across class
"org.openide.filesystems.Repository" which seems to be used widely,
even though all (?) its public methods are deprecated. The deprecation
notice says to use the ClassPath API instead but can't see practically
how that would work.
For example in "org.netbeans.core.startup.layers.ArchiveURLMapper",
function "private static JarFileSystem
findJarFileSystemInRepository(File jarFile)", there is the line
Enumeration<? extends FileSystem> en =
Repository.getDefault().getFileSystems();
How could one get FileSystems from the classpath API?
Is there any guidance on this?
Thanks
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