use of org.jetbrains.jps.model.java.compiler.EclipseCompilerOptions in project intellij-community by JetBrains.
the class JpsEclipseCompilerOptionsSerializer method loadExtension.
@Override
public void loadExtension(@NotNull JpsProject project, @NotNull Element componentTag) {
JpsJavaCompilerConfiguration configuration = JpsJavaExtensionService.getInstance().getOrCreateCompilerConfiguration(project);
EclipseCompilerOptions options = XmlSerializer.deserialize(componentTag, EclipseCompilerOptions.class);
configuration.setCompilerOptions(myCompilerId, options);
}
use of org.jetbrains.jps.model.java.compiler.EclipseCompilerOptions in project intellij-community by JetBrains.
the class JpsEclipseCompilerOptionsSerializer method loadExtensionWithDefaultSettings.
@Override
public void loadExtensionWithDefaultSettings(@NotNull JpsProject project) {
JpsJavaCompilerConfiguration configuration = JpsJavaExtensionService.getInstance().getOrCreateCompilerConfiguration(project);
configuration.setCompilerOptions(myCompilerId, new EclipseCompilerOptions());
}
Aggregations