Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

package com.erggroup.mass.ant;

import org.apache.tools.ant.*; 

/**
 * <wsinclude> And SubTask 
 * <wsdetails dir="" webDeploymentName="">
 *              <wsinclude name="filePattern" />
 *              ....
 *      </wsdetails>
 *
 */
public class WSInclude  
{
        private WSReplaceElement parent; 
        private Project project;
        private String name;
        
        public void execute(WSReplaceElement parent)
        {
                if (name == null)
                {
                        throw new BuildException(" \'name\' must be specified for <wsinclude/>");
                }               
                this.parent = parent;
                this.project = parent.getProject();
        }
        
        public void setName(String name)
        {
                this.name = name;
        }
        public String getName()
        {
                return this.name;
        }
        
}