Skip to main content
summaryrefslogtreecommitdiffstats
blob: d4f3b7dd36fb990a0fdc35f858fe3804e8df677c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*******************************************************************************
 * Copyright (c) 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
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package ws.ant.task;

import org.apache.tools.ant.Project;
import org.apache.tools.ant.Task;
import org.eclipse.wst.command.internal.env.ant.AntController;

public class WebServiceGenerationAntTask extends Task {
	
		public void execute()
		{			
			//get properties set in the Ant file
			Project proj = getProject();
            if (proj != null)
            {
                //call the AntController to kick off generation
    			new AntController(proj.getProperties());
            }           		
		}		
	}


Back to the top