@@ -0,0 +1,1828 @@
+package atg.tools.ant.util;%0A%0Aimport java.util.Iterator;%0Aimport java.util.jar.Attributes;%0Aimport java.util.jar.Manifest;%0A%0Aimport static org.apache.tools.ant.taskdefs.Manifest.Attribute;%0A%0A/**%0A * Manifest file attributes specific to ATG.%0A *%0A * @author msicker%0A * @version 2.0%0A */%0Apublic enum AtgAttribute %7B%0A    ATG_REQUIRED(%22ATG-Required%22), ATG_CLASS_PATH(%22ATG-Class-Path%22), ATG_CONFIG_PATH(%22ATG-Config-Path%22);%0A%0A    private final Attributes.Name name;%0A%0A    AtgAttribute(final String name) %7B%0A        this.name = new Attributes.Name(name);%0A    %7D%0A%0A    public Attributes.Name getName() %7B%0A        return name;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return name.toString();%0A    %7D%0A%0A    /**%0A     * Gets the value of this manifest attribute from a given manifest instance.%0A     *%0A     * @param manifest instance of manifest to get attribute value from.%0A     *%0A     * @return value of attribute if existing, or %7B@code null%7D if the attribute isn't defined.%0A     *%0A     * @throws java.lang.NullPointerException if %7B@code manifest%7D is %7B@code null%7D.%0A     */%0A    public String extractValueFrom(final Manifest manifest) %7B%0A        if (manifest == null) %7B%0A            throw new NullPointerException(%22Provided manifest was null.%22);%0A        %7D%0A        return manifest.getMainAttributes().getValue(getName());%0A    %7D%0A%0A    /**%0A     * Creates a new manifest attribute for use with ant's manifest task.%0A     *%0A     * @param value value to use for attribute named by this.%0A     *%0A     * @return an attribute name/value pair for use with ant.%0A     */%0A    public Attribute create(final String value) %7B%0A        return new Attribute(toString(), value);%0A    %7D%0A%0A    public %3CT%3E Attribute using(final Iterator%3CT%3E iterator, final FeatureExtractor%3CT, String%3E extractor) %7B%0A        return create(StringUtils.join(' ', iterator, extractor));%0A    %7D%0A%7D%0A

Add ATG attribute enum.