org.apache.ws.util.j2ee
Class WebservicesDDMergeTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.ws.util.j2ee.WebservicesDDMergeTask

public class WebservicesDDMergeTask
extends org.apache.tools.ant.Task

An Ant task that merges one or more source J2EE webservices.xml's into a target webservices.xml.


Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
WebservicesDDMergeTask()
          Creates a new WebservicesDDMergeTask object.
 
Method Summary
 void addConfiguredSourceFiles(org.apache.tools.ant.types.FileSet fileSet)
          Adds the files in the specified fileset to the list of source web.xml's.
 void execute()
          DOCUMENT_ME
 void setSourceFile(java.io.File srcFile)
          Adds the specified file to the list of source web.xml's.
 void setTargetFile(java.io.File targetFile)
          Sets the target web.xml (i.e.
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebservicesDDMergeTask

public WebservicesDDMergeTask()
Creates a new WebservicesDDMergeTask object.

Method Detail

setSourceFile

public void setSourceFile(java.io.File srcFile)
Adds the specified file to the list of source web.xml's.

Parameters:
srcFile -

setTargetFile

public void setTargetFile(java.io.File targetFile)
Sets the target web.xml (i.e. the web.xml to be merged into).

Parameters:
targetFile -

addConfiguredSourceFiles

public void addConfiguredSourceFiles(org.apache.tools.ant.types.FileSet fileSet)
Adds the files in the specified fileset to the list of source web.xml's.

Parameters:
fileSet - DOCUMENT_ME

execute

public void execute()
             throws org.apache.tools.ant.BuildException
DOCUMENT_ME

Throws:
org.apache.tools.ant.BuildException - DOCUMENT_ME


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.