dotPhases = computeDotPhases(commandLine.getParser(), commandLine.FLAG_dot);
// Compute SourceEntityResolver
// use the sourcePathFs so that gxp:///foo/bar is resolved in a way that
// includes both source files and genfiles
sourceEntityResolver = new FileSystemEntityResolver(sourcePathFs);
// Compute CodeGeneratorFactory (Always do this last)
codeGeneratorFactory = new DefaultCodeGeneratorFactory();
codeGeneratorFactory.setRuntimeMessageSource(commandLine.FLAG_message_source);
codeGeneratorFactory.setDynamicModeEnabled(commandLine.FLAG_dynamic);