* @param packageIsKey if the package is to be the key for the map
* @throws BuildException if an IOException needed swallowing
*/
protected void mapFile(ProjectComponent owner, HashMap map, boolean packageIsKey) throws BuildException {
Properties props = loadMappingPropertiesFile();
Enumeration keys = props.keys();
while (keys.hasMoreElements()) {
String packageName = (String) keys.nextElement();
String namespace = props.getProperty(packageName);
map(owner, map, packageName, namespace, packageIsKey);
}