Examples of JpsProjectExtensionSerializer


Examples of org.jetbrains.jps.model.serialization.JpsProjectExtensionSerializer

  public static final String CLOJURE_COMPILER_SETTINGS_FILE = "clojure_compiler.xml";

  @NotNull
  @Override
  public List<? extends JpsProjectExtensionSerializer> getProjectExtensionSerializers() {
    return Collections.singletonList(new JpsProjectExtensionSerializer(CLOJURE_COMPILER_SETTINGS_FILE, CLOJURE_COMPILER_SETTINGS_COMPONENT_NAME) {
      @Override
      public void loadExtension(@NotNull JpsProject jpsProject, @NotNull Element componentTag) {
        JpsClojureCompilerSettingsState state = XmlSerializer.deserialize(componentTag, JpsClojureCompilerSettingsState.class);
        if (state != null) {
          JpsClojureExtensionService.setExtension(jpsProject, new JpsClojureCompilerSettingsExtensionImpl(state));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.