Changeset 192 in josm for src/org/openstreetmap/josm/plugins
- Timestamp:
- 2007-01-10T04:55:36+01:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/plugins/PluginInformation.java
r169 r192 21 21 */ 22 22 public class PluginInformation { 23 24 /** 25 * Whether to use the standard classloader to load the plugins or 26 * an seperate class loader. Note that in case of the standard classloader, 27 * all plugin files has to be included in the main josm.jar classpath 28 * 29 * Set via command line parameter to true. 30 * 31 * This switch is intended for debugging JOSM (or prepackaging plugins 32 * together with JOSM). 33 */ 34 public static boolean useJosmClassloader = false; 35 23 36 public final File file; 24 37 public final String name; … … 89 102 public Class<?> loadClass() { 90 103 try { 104 if (useJosmClassloader) 105 return Class.forName(className); 106 91 107 URL[] urls = new URL[libraries.size()]; 92 108 urls = libraries.toArray(urls);
Note:
See TracChangeset
for help on using the changeset viewer.