org.apache.maven.continuum.execution.ant
Class AntBuildExecutor

java.lang.Object
  extended by org.apache.maven.continuum.execution.AbstractBuildExecutor
      extended by org.apache.maven.continuum.execution.ant.AntBuildExecutor
All Implemented Interfaces:
ContinuumBuildExecutor, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

public class AntBuildExecutor
extends AbstractBuildExecutor
implements ContinuumBuildExecutor

Version:
$Id: AntBuildExecutor.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Trygve Laugstøl

Field Summary
static String CONFIGURATION_EXECUTABLE
           
static String CONFIGURATION_TARGETS
           
static String ID
           
 
Fields inherited from class org.apache.maven.continuum.execution.AbstractBuildExecutor
log
 
Fields inherited from interface org.apache.maven.continuum.execution.ContinuumBuildExecutor
ROLE
 
Constructor Summary
AntBuildExecutor()
           
 
Method Summary
 ContinuumBuildExecutionResult build(Project project, BuildDefinition buildDefinition, File buildOutput, List<Project> projectsWithCommonScmRoot, String projectScmRootUrl)
           
protected  Map<String,String> getEnvironments(BuildDefinition buildDefinition)
           
 void updateProjectFromCheckOut(File workingDirectory, Project p, BuildDefinition buildDefinition, ScmResult scmResult)
           
 
Methods inherited from class org.apache.maven.continuum.execution.AbstractBuildExecutor
backupTestFiles, executeShellCommand, findExecutable, getBuildFileForProject, getChrootJailDirectory, getContinuumSystemProperties, getDefaultExecutable, getDeployableArtifacts, getEnvironmentVariables, getExecutableResolver, getInstallationService, getJavaHomeValue, getShellCommandHelper, getWorkingDirectory, getWorkingDirectoryService, initialize, isBuilding, isDescriptionUpdated, isResolveExecutable, killProcess, setChrootJailDirectory, setDefaultExecutable, setExecutableResolver, setInstallationService, setResolveExecutable, setShellCommandHelper, setWorkingDirectoryService, shouldBuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.continuum.execution.ContinuumBuildExecutor
backupTestFiles, getDeployableArtifacts, isBuilding, killProcess, shouldBuild
 

Field Detail

CONFIGURATION_EXECUTABLE

public static final String CONFIGURATION_EXECUTABLE
See Also:
Constant Field Values

CONFIGURATION_TARGETS

public static final String CONFIGURATION_TARGETS
See Also:
Constant Field Values

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

AntBuildExecutor

public AntBuildExecutor()
Method Detail

build

public ContinuumBuildExecutionResult build(Project project,
                                           BuildDefinition buildDefinition,
                                           File buildOutput,
                                           List<Project> projectsWithCommonScmRoot,
                                           String projectScmRootUrl)
                                    throws ContinuumBuildExecutorException
Specified by:
build in interface ContinuumBuildExecutor
Throws:
ContinuumBuildExecutorException

getEnvironments

protected Map<String,String> getEnvironments(BuildDefinition buildDefinition)
Specified by:
getEnvironments in class AbstractBuildExecutor

updateProjectFromCheckOut

public void updateProjectFromCheckOut(File workingDirectory,
                                      Project p,
                                      BuildDefinition buildDefinition,
                                      ScmResult scmResult)
                               throws ContinuumBuildExecutorException
Specified by:
updateProjectFromCheckOut in interface ContinuumBuildExecutor
Throws:
ContinuumBuildExecutorException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.