This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Support loading a module from a directory, not just a JAR file | ||
---|---|---|---|
Product: | platform | Reporter: | tomwheeler <tomwheeler> |
Component: | Module System | Assignee: | Tomas Hurka <thurka> |
Status: | NEW --- | ||
Severity: | normal | CC: | jtulach |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | patch (incomplete) |
Description
tomwheeler
2011-06-09 17:16:24 UTC
I know there is JarClassLoader.DirSource, so the system is capable to load classes from a directory. Also there is a way to specify patches for each module: StandardModule.java: System.getProperty("netbeans.patches." + getCodeNameBase()) possibly this property could point not only to a JAR but also to a directory... Anyway, if you want to make classloading work, go on. Just make sure subsequent starts with caches don't touch any new files on disk. Created attachment 108851 [details]
patch (incomplete)
I am attaching a tentative patch. It's untested and contains no documentation, so it's not ready to be applied, just making sure I can pick up where I left off from another machine when I work on it again.
|