Search in sources :

Example 1 with ArtifactPointerManager

use of com.intellij.packaging.artifacts.ArtifactPointerManager in project intellij-community by JetBrains.

the class BuildArtifactsBeforeRunTaskBase method readExternal.

@Override
public void readExternal(Element element) {
    super.readExternal(element);
    final List<Element> children = element.getChildren(myElementName);
    final ArtifactPointerManager pointerManager = ArtifactPointerManager.getInstance(myProject);
    for (Element child : children) {
        myArtifactPointers.add(pointerManager.createPointer(child.getAttributeValue(NAME_ATTRIBUTE)));
    }
}
Also used : Element(org.jdom.Element) ArtifactPointerManager(com.intellij.packaging.artifacts.ArtifactPointerManager)

Aggregations

ArtifactPointerManager (com.intellij.packaging.artifacts.ArtifactPointerManager)1 Element (org.jdom.Element)1