Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1974 jgill 1
package com.erggroup.mass.ant;
2
 
3
import org.apache.tools.ant.*; 
4
 
5
/**
6
 * <wsinclude> And SubTask 
7
 * <wsdetails dir="" webDeploymentName="">
8
 * 		<wsinclude name="filePattern" />
9
 * 		....
10
 * 	</wsdetails>
11
 *
12
 */
13
public class WSInclude  
14
{
15
	private WSReplaceElement parent; 
16
	private Project project;
17
	private String name;
18
 
19
	public void execute(WSReplaceElement parent)
20
	{
21
		if (name == null)
22
		{
23
			throw new BuildException(" \'name\' must be specified for <wsinclude/>");
24
		}		
25
		this.parent = parent;
26
		this.project = parent.getProject();
27
	}
28
 
29
	public void setName(String name)
30
	{
31
		this.name = name;
32
	}
33
	public String getName()
34
	{
35
		return this.name;
36
	}
37
 
38
}