protected final int initApplicationDir(){
		this.applicationDir = this.optionAppHome.getValue();
		if(this.applicationDir==null){
			System.err.println(this.getAppName() + ": no application directory set");
			return -1;
		}

		return 0;
	}
protected final int initApplicationDir(){
		this.applicationDir = this.optionAppHome.getValue();
		if(this.applicationDir==null){
			System.err.println(this.getAppName() + ": no application directory set");
			return -1;
		}

		return 0;
	}
protected final int initApplicationDir ( ) { this . applicationDir = this . optionAppHome . getValue ( ) ; if ( this . applicationDir == null ) { System . err . println ( this . getAppName ( ) + ": no application directory set" ) ; return - 1 ; } return 0 ; }
Initializes the application directory for the generator.
There is no default set and no configuration property can be used.
The application directory has to be set using the CLI option "--application-directory".
Otherwise this method will fail.
@return 0 on success with configuration loaded, -1 on error with errors printed on standard error
Initializes the application directory for the generator . There is no default set and no configuration property can be used . The application directory has to be set using the CLI option -- application - directory . Otherwise this method will fail .