code: private void setActiveProjectProperty(final String propertyName, final String propertyValue) {
          final Project activeProject = getProject();
          if (activeProject != null) {
              activeProject.setProperty(propertyName, propertyValue);
          }
      }
docs: Sets property in active ant project with name specified inpropertyName,
  and value specified in propertyValue parameter