|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.bootstrappers.CVSBootstrapper
Since we rely on our build.xml to handle updating our source code, there has always been a problem with what happens when the build.xml file itself changes. Previous workarounds have included writing a wrapper build.xml that will check out the "real" build.xml. This class is a substitute for that practice. The CVSBootstrapper will handle updating a single file from CVS before the build begins. Usage: <cvsbootstrapper cvsroot="" file=""/>
Constructor Summary | |
CVSBootstrapper()
|
Method Summary | |
void |
bootstrap()
Update the specified file. |
protected Commandline |
buildUpdateCommand()
|
void |
setCvsroot(java.lang.String cvsroot)
|
void |
setFile(java.lang.String filename)
|
void |
setLocalWorkingCopy(java.lang.String local)
Sets the local working copy to use when making calls to CVS. |
void |
setOverwriteChanges(boolean overwrite)
|
void |
setResetStickyTags(boolean reset)
|
void |
validate()
Called after the configuration is read to make sure that all the mandatory parameters were specified.. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CVSBootstrapper()
Method Detail |
public void setCvsroot(java.lang.String cvsroot)
public void setFile(java.lang.String filename)
public void setLocalWorkingCopy(java.lang.String local)
local
- String relative or absolute path to the local
working copy of the CVS module which contains the target file.public void bootstrap() throws CruiseControlException
bootstrap
in interface Bootstrapper
CruiseControlException
public void validate() throws CruiseControlException
Bootstrapper
validate
in interface Bootstrapper
CruiseControlException
- if there was a configuration error.protected Commandline buildUpdateCommand() throws CruiseControlException
CruiseControlException
public void setResetStickyTags(boolean reset)
public void setOverwriteChanges(boolean overwrite)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |