# Fetch Script Factory

###### Identifier:

org.eclipse.pde.build.fetchFactories

###### Since:

3.2

###### Description:

This extension point provides factories for constructing repository specific fetch script during the PDE Build fetch process (eclipse.fetch Ant task).

###### Configuration Markup:

<!ELEMENT extension (factory+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT factory EMPTY>

<!ATTLIST factory

id CDATA #REQUIRED

class CDATA #REQUIRED

>

Defines a fetch factory being used in the eclipse.fetch Ant task.

- id - The id identifying the repository. This value is used in the map files.
- class - The factory implementation. It must implements `org.eclipse.pde.build.IFetchFactory`.

###### Examples:

    <extension point="org.eclipse.pde.build.fetchFactories">
        <factory
            class="org.eclipse.pde.internal.build.fetch.CVSFetchTaskFactory"
            id="CVS"/>
        <factory
            class="org.eclipse.pde.internal.build.fetch.COPYFetchTasksFactory"
            id="COPY"/>
    </extension>

###### API Information:

See the `org.eclipse.pde.build.IFetchFactory` interface.

###### Supplied Implementation:

The following fetch task factories are provided by PDE Build.

- a CVS fetch task factroy for fetching features and plug-ins from CVS repositories.
- a COPY fetch task factory for copying features and plug-ins from arbitrary file system locations.

Copyright (c) 2004, 2006 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: Gunnar Wagenknecht - Initial API and implementation IBM Corporation - Initial API and implementation