Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
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 org.eclipse.ant.internal.ui.antsupport;
import  org.apache.tools.ant.BuildException;
import  org.apache.tools.ant.Executor;
import  org.apache.tools.ant.Project;
import  org.apache.tools.ant.helper.SingleCheckExecutor;
public class EclipseSingleCheckExecutor extends SingleCheckExecutor {
    /* (non-Javadoc)
     * @see org.apache.tools.ant.Executor#executeTargets(org.apache.tools.ant.Project, java.lang.String[])
     */
    public void executeTargets(Project projectString[] targetNamesthrows BuildException {
        Vector vnew Vector();
        v.addAll(Arrays.asList(targetNames));
        project.addReference("eclipse.ant.targetVector"v); //$NON-NLS-1$
        super.executeTargets(projecttargetNames);
    }
    
    /* (non-Javadoc)
     * @see org.apache.tools.ant.Executor#getSubProjectExecutor()
     */
    public Executor getSubProjectExecutor() {
        return this;
    }
New to GrepCode? Check out our FAQ X