|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.util.PerDayScheduleItem
net.sourceforge.cruisecontrol.Builder
net.sourceforge.cruisecontrol.builders.NantBuilder
| Field Summary | |
protected static java.lang.String |
DEFAULT_LOGGER
|
| Fields inherited from class net.sourceforge.cruisecontrol.util.PerDayScheduleItem |
INVALID_NAME_OF_DAY, NOT_SET |
| Constructor Summary | |
NantBuilder()
|
|
| Method Summary | |
org.jdom.Element |
build(java.util.Map buildProperties,
Progress progress)
Build and return the results via xml. |
org.jdom.Element |
buildWithTarget(java.util.Map properties,
java.lang.String buildTarget,
Progress progress)
Execute a build with the given target. |
Property |
createProperty()
|
java.lang.String |
getLoggerClassName()
|
protected org.jdom.Element |
getNantLogAsElement(java.io.File file)
|
protected NantScript |
getNantScript()
|
void |
setBuildFile(java.lang.String buildFile)
Sets the name of the build file that NAnt will use. |
void |
setLoggerClassName(java.lang.String logger)
|
void |
setNantWorkingDir(java.lang.String dir)
Set the working directory where NAnt will be invoked. |
void |
setSaveLogDir(java.lang.String dir)
Set the location to which the NAnt log will be saved before Cruise Control merges the file into its log. |
void |
setTarget(java.lang.String target)
Set the Ant target(s) to invoke. |
void |
setTargetFramework(java.lang.String framework)
|
void |
setTempFile(java.lang.String tempFileName)
Set the name of the temporary file used to capture output. |
void |
setTimeout(long timeout)
|
void |
setUseDebug(boolean debug)
|
void |
setUseLogger(boolean useLogger)
Sets whether NAnt will use the custom loggers. |
void |
setUseQuiet(boolean quiet)
|
protected org.jdom.Element |
translateNantErrorElements(org.jdom.Element buildLogElement)
|
void |
validate()
|
| Methods inherited from class net.sourceforge.cruisecontrol.Builder |
compareTo, getGroup, getMultiple, getShowProgress, getTime, isValidDay, setGroup, setMultiple, setShowProgress, setTime |
| Methods inherited from class net.sourceforge.cruisecontrol.util.PerDayScheduleItem |
getDay, setDay |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.lang.String DEFAULT_LOGGER
| Constructor Detail |
public NantBuilder()
| Method Detail |
public void validate()
throws CruiseControlException
validate in class BuilderCruiseControlException
public org.jdom.Element build(java.util.Map buildProperties,
Progress progress)
throws CruiseControlException
build in class BuilderbuildProperties - build propertiesprogress - callback to provide progress updates
CruiseControlException - if something breaks
public org.jdom.Element buildWithTarget(java.util.Map properties,
java.lang.String buildTarget,
Progress progress)
throws CruiseControlException
Builder
buildWithTarget in class Builderproperties - build propertiesbuildTarget - the build target to call, overrides target defined in configprogress - callback to provide progress updates
CruiseControlException - if something breaksprotected NantScript getNantScript()
public void setSaveLogDir(java.lang.String dir)
dir - the absolute path to the directory where the NAnt log will be
saved or relative path to where you started CruiseControlpublic void setNantWorkingDir(java.lang.String dir)
dir - the directory to make the current working directory.public void setTempFile(java.lang.String tempFileName)
tempFileName - the name of the temporary file used to capture output.public void setTarget(java.lang.String target)
target - the target(s) name.public void setBuildFile(java.lang.String buildFile)
buildFile - the name of the build file.public void setUseLogger(boolean useLogger)
useLogger - whether NAnt will use the custom loggers.public Property createProperty()
protected org.jdom.Element getNantLogAsElement(java.io.File file)
throws CruiseControlException
CruiseControlExceptionpublic void setUseDebug(boolean debug)
public void setUseQuiet(boolean quiet)
public java.lang.String getLoggerClassName()
public void setLoggerClassName(java.lang.String logger)
public void setTargetFramework(java.lang.String framework)
protected org.jdom.Element translateNantErrorElements(org.jdom.Element buildLogElement)
throws CruiseControlException
CruiseControlExceptionpublic void setTimeout(long timeout)
timeout - The timeout to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||