src/main/java/de/vandermeer/execs/Gen_RunScripts.java
protected final int initClassmap(){
		this.optionClassMapFile.setPropertyValue(this.configuration);
		String fileName = this.optionClassMapFile.getValue();

		if(fileName==null){
			System.err.println(this.getAppName() + ": no classmap file name given");
			return -2;
		}

		this.classMap = this.loadProperties(fileName);
		if(this.classMap==null){
			System.err.println(this.getAppName() + ": could not load classmap, exiting");
			return -1;
		}

		System.out.println(this.getAppName() + ": generating scripts for:");
		for(Object key : this.classMap.keySet()){
			System.out.println("  - " + key + " --> " + this.classMap.getProperty(key.toString()));
		}
		System.out.println();

		return 0;
	}
protected final int initClassmap(){
		this.optionClassMapFile.setPropertyValue(this.configuration);
		String fileName = this.optionClassMapFile.getValue();

		if(fileName==null){
			System.err.println(this.getAppName() + ": no classmap file name given");
			return -2;
		}

		this.classMap = this.loadProperties(fileName);
		if(this.classMap==null){
			System.err.println(this.getAppName() + ": could not load classmap, exiting");
			return -1;
		}

		System.out.println(this.getAppName() + ": generating scripts for:");
		for(Object key : this.classMap.keySet()){
			System.out.println("  - " + key + " --> " + this.classMap.getProperty(key.toString()));
		}
		System.out.println();

		return 0;
	}
Loads a classmap from a property file.
A classmap maps class names to script names.
A class name must be an implementation of the executable application interface {@link ExecS_Application}.
No default map is used.
This default can be overwritten using the property "execs.classmap" in the configuration properties file.
The default and the property file name can be overwritten using the "--classmap-file" CLI option.
@return 0 on success with configuration loaded, -1 on error with errors printed on standard error