init();
try {
AjBuildConfig buildConfig = genBuildConfig(configFile);
+ buildConfig.setGenerateModelMode(true);
currNotifier = new BuildNotifierAdapter(
AjBuildManager.DEFAULT_PROJECT,
progressMonitor,
return false;
}
- //XXX disabling structure building until Mik can make it optional
- if (buildConfig.isEmacsSymMode()) bcelWorld.setModel(StructureModelManager.INSTANCE.getStructureModel());
+ if (buildConfig.isEmacsSymMode() || buildConfig.isGenerateModelMode()) {
+ bcelWorld.setModel(StructureModelManager.INSTANCE.getStructureModel());
+ }
BatchBuilder builder = new BatchBuilder(javaBuilder, counter);
State newState = builder.run();
if (buildConfig.isEmacsSymMode()) {