| java.lang.Object org.netbeans.nbbuild.ModuleListParser
ModuleListParser | final class ModuleListParser (Code) | | Scans for known modules.
Precise algorithm summarized in issue #42681 and issue #58966.
author: Jesse Glick |
Inner Class :final public static class Entry implements Serializable | |
ModuleListParser | public ModuleListParser(Hashtable<String, String> properties, int type, Project project) throws IOException(Code) | | Initiates scan if not already parsed.
Properties interpreted:
- ${nb_all} - location of NB sources (used only for netbeans.org modules)
- ${netbeans.dest.dir} - location of NB build
- ${basedir} - directory of this project (used only for standalone modules)
- ${suite.dir} - directory of the suite (used only for suite modules)
- ${nb.cluster.TOKEN} - list of module paths included in cluster TOKEN (comma-separated) (used only for netbeans.org modules)
- ${nb.cluster.TOKEN.dir} - directory in ${netbeans.dest.dir} where cluster TOKEN is built (used only for netbeans.org modules)
- ${project} - basedir for standalone modules
Parameters: properties - some properties to be used (see above) Parameters: type - the type of project Parameters: project - a project ref, only for logging (may be null with no loss of semantics) |
findAll | public Set<Entry> findAll()(Code) | | Find all entries in this list.
a set of all known entries |
findByCodeNameBase | public Entry findByCodeNameBase(String cnb)(Code) | | Find one entry by code name base.
Parameters: cnb - the desired code name base the matching entry or null |
resetCaches | public static void resetCaches()(Code) | | Clear caches. Cf. #71130.
|
|
|