class WriteProjectTarget extends AbstractCommand {

  @Override
  public void execute() throws Exception {
    final String buildTarget = project.getProjectFile().getTarget();
    final Path buildTargetPath = project.getPath().resolve(buildTarget);

    final FileWriter fileWriter = new FileWriter(buildTargetPath);
    fileWriter.accept(contents.get());
  }

}