@Override
  public void writeConfiguration(@NotNull ProjectDescriptor pd, @NotNull PrintWriter out) {
    final PathRelativizerService relativizer = pd.dataManager.getRelativizer();
    String outputPath = getArtifact().getOutputPath();
    out.println(StringUtil.isNotEmpty(outputPath) ? relativizer.toRelative(outputPath) : "");
    final BuildRootIndex rootIndex = pd.getBuildRootIndex();
    for (ArtifactRootDescriptor descriptor : rootIndex.getTargetRoots(this, null)) {
      descriptor.writeConfiguration(out, relativizer);
    }
  }
@Override
  public void writeConfiguration(@NotNull ProjectDescriptor pd, @NotNull PrintWriter out)