1 11 package org.eclipse.ant.internal.ui.antsupport; 12 13 import java.util.Arrays ; 14 import java.util.Vector ; 15 16 import org.apache.tools.ant.BuildException; 17 import org.apache.tools.ant.Executor; 18 import org.apache.tools.ant.Project; 19 import org.apache.tools.ant.helper.SingleCheckExecutor; 20 21 public class EclipseSingleCheckExecutor extends SingleCheckExecutor { 22 23 26 public void executeTargets(Project project, String [] targetNames) throws BuildException { 27 Vector v= new Vector (); 28 v.addAll(Arrays.asList(targetNames)); 29 project.addReference("eclipse.ant.targetVector", v); super.executeTargets(project, targetNames); 31 } 32 33 36 public Executor getSubProjectExecutor() { 37 return this; 38 } 39 } 40 | Popular Tags |