org.apache.ws.util.platform.axis.tool
Class WsddUpdater

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.MatchingTask
              extended byorg.apache.ws.util.platform.axis.tool.WsddUpdater
All Implemented Interfaces:
org.apache.tools.ant.types.selectors.SelectorContainer

public class WsddUpdater
extends org.apache.tools.ant.taskdefs.MatchingTask

Utility class that allows for easy deployment of new entries (e.g. deploy.wsdd) to an Axis WSDD. This class can be executed in any of the following ways:

Author:
Ian P. Springer

Field Summary
static java.lang.String SYSPROP_WSDD
          Below default can be overridden by setting the below sysprop.
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
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
WsddUpdater()
          Creates a new WsddUpdater object.
WsddUpdater(java.io.File configWsdd)
          Creates a new WsddUpdater object for updating the specified WSDD file.
WsddUpdater(java.lang.String configWsdd)
          Creates a new WsddUpdater object for updating the specified WSDD, which may be a a file path or a location in the classpath.
 
Method Summary
 void addConfiguredWsddPaths(org.apache.tools.ant.types.FileSet wsddPaths)
          DOCUMENT_ME
 void deploy(java.io.File deployWsdd)
          DOCUMENT_ME
 void execute()
          DOCUMENT_ME
static void main(java.lang.String[] args)
          Command-line invocation entry point.
 void setConfigWsdd(java.lang.String configWsdd)
          Sets the WSDD to be updated.
 void setDeployWsdd(java.io.File deployWsdd)
          Sets the WSDD (un)deployment fragment to be added to the WSDD.
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYSPROP_WSDD

public static final java.lang.String SYSPROP_WSDD
Below default can be overridden by setting the below sysprop.

See Also:
Constant Field Values
Constructor Detail

WsddUpdater

public WsddUpdater()
Creates a new WsddUpdater object.


WsddUpdater

public WsddUpdater(java.io.File configWsdd)
Creates a new WsddUpdater object for updating the specified WSDD file.

Parameters:
configWsdd - DOCUMENT_ME

WsddUpdater

public WsddUpdater(java.lang.String configWsdd)
Creates a new WsddUpdater object for updating the specified WSDD, which may be a a file path or a location in the classpath.

Parameters:
configWsdd - DOCUMENT_ME
Method Detail

setConfigWsdd

public void setConfigWsdd(java.lang.String configWsdd)
Sets the WSDD to be updated.

Parameters:
configWsdd - the WSDD to be updated

setDeployWsdd

public void setDeployWsdd(java.io.File deployWsdd)
Sets the WSDD (un)deployment fragment to be added to the WSDD.

Parameters:
deployWsdd - the WSDD (un)deployment fragment to be added to the WSDD

addConfiguredWsddPaths

public void addConfiguredWsddPaths(org.apache.tools.ant.types.FileSet wsddPaths)
DOCUMENT_ME

Parameters:
wsddPaths - DOCUMENT_ME

deploy

public void deploy(java.io.File deployWsdd)
            throws java.lang.Exception
DOCUMENT_ME

Parameters:
deployWsdd - DOCUMENT_ME
Throws:
java.lang.Exception - DOCUMENT_ME

execute

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

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

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Command-line invocation entry point.

Parameters:
args - command-line arguments
Throws:
java.lang.Exception - on fatal error


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