# Publish Tasks

###### Identifier:

org.eclipse.wst.server.core.publishTasks

###### Since:

1.0

###### Description:

This extension point is used to provide a task that is run while publishing to a server.

###### Configuration Markup:

<!ELEMENT extension (publishTask+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT publishTask EMPTY>

<!ATTLIST publishTask

id CDATA #REQUIRED

class CDATA #REQUIRED

typeIds CDATA #REQUIRED>

- id - specifies a unique identifier for this extension point
- class - specifies the fully qualified name of the Java class that implements `org.eclipse.wst.server.core.model.PublishTaskDelegate`. Publish task instances of this type will delegate to instances of this class.
- typeIds - a comma separated list of server type ids that this task may apply to. Used for memory & performance reasons

###### Examples:

The following is an example of a publish task extension point:

Copyright (c) 2000, 2005 IBM Corporation 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