org.apache.continuum.buildagent.build.execution.ant
Class AntBuildExecutor

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

public class AntBuildExecutor
extends AbstractBuildExecutor
implements ContinuumAgentBuildExecutor


Field Summary
static String CONFIGURATION_EXECUTABLE
           
static String CONFIGURATION_TARGETS
           
static String ID
           
 
Fields inherited from class org.apache.continuum.buildagent.build.execution.AbstractBuildExecutor
log
 
Fields inherited from interface org.apache.continuum.buildagent.build.execution.ContinuumAgentBuildExecutor
ROLE
 
Constructor Summary
protected AntBuildExecutor()
           
 
Method Summary
 ContinuumAgentBuildExecutionResult build(Project project, BuildDefinition buildDefinition, File buildOutput, Map<String,String> environments, String localRepository)
           
 void updateProjectFromWorkingDirectory(File workingDirectory, Project project, BuildDefinition buildDefinition)
           
 
Methods inherited from class org.apache.continuum.buildagent.build.execution.AbstractBuildExecutor
executeShellCommand, findExecutable, getBuildAgentConfigurationService, getBuildAgentInstallationService, getBuildAgentManager, getBuildFileForProject, getContinuumSystemProperties, getDefaultExecutable, getDeployableArtifacts, getExecutableResolver, getMavenProject, getProjectDependencies, getProjectDevelopers, getProjectNotifiers, getProjectParent, getShellCommandHelper, getWorkingDirectory, initialize, isBuilding, isResolveExecutable, killProcess, setBuildAgentConfigurationService, setBuildAgentInstallationService, setBuildAgentManager, setDefaultExecutable, setExecutableResolver, setResolveExecutable, setShellCommandHelper, updateProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.continuum.buildagent.build.execution.ContinuumAgentBuildExecutor
getDeployableArtifacts, getMavenProject, isBuilding, killProcess
 

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

protected AntBuildExecutor()
Method Detail

build

public ContinuumAgentBuildExecutionResult build(Project project,
                                                BuildDefinition buildDefinition,
                                                File buildOutput,
                                                Map<String,String> environments,
                                                String localRepository)
                                         throws ContinuumAgentBuildExecutorException,
                                                ContinuumAgentBuildCancelledException
Specified by:
build in interface ContinuumAgentBuildExecutor
Throws:
ContinuumAgentBuildExecutorException
ContinuumAgentBuildCancelledException

updateProjectFromWorkingDirectory

public void updateProjectFromWorkingDirectory(File workingDirectory,
                                              Project project,
                                              BuildDefinition buildDefinition)
                                       throws ContinuumAgentBuildExecutorException
Specified by:
updateProjectFromWorkingDirectory in interface ContinuumAgentBuildExecutor
Throws:
ContinuumAgentBuildExecutorException


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