Repository type StarTeam
Description ------
Project location starteam.mdch.com:49201/${Parent.Name}
User svcdevbuild
Password ************
Convert EOL? yes
Time difference threshhold 300
Use build label? yes
Use frozen label? no
Checkout using stcmd? yes
Path to stcmd executable c:\program files\borland\starteam cross-platform client 2006\stcmd.exe
Datetime format M/d/yy h:mm:ss a
Extra stcmd options -o
Delete uncontrolled files? no
Revision log base build version ${lastSuccessBuild==null?blank:lastSuccessBuild.version}
Quiet period 0
Login mapping ------
Modules
StarTeam view Source path File patterns Recursively Label Destination path
Main /300 Construction Stage ------ yes ${build.getLabel()==blank?blank:convertVersionToLabel(build.getLabel())} ------
Tree is defined as
MDC
PROJECT1
DEV
QA
PROD
PROJECT2
DEV
QA
PROD
Tried the following for the build condition- but they all seem to fail in one way or another... Am I confusing it with the OGNL definition of path, etc in repository? Works fine for checkout.
#build=getLastSuccessBuild(), build.getRepository("Generic").setCheckoutDate(build.getEndDate()), repository["Generic"].isModifiedSince(build)
Yields message:
target is null for method getRepository
repository["Generic"].isModifiedSince(lastSuccessBuild)
Yields message:
MethodFailedException: Method "isModifiedSince" failed for object com.pmease.quickbuild.repository.StarTeamRepository@5e71a42c [java.lang.NullPointerException: target is null for method getLabel]
tried a bunch of other things- but this functionality seems to elude me so far. Any assistance is appreciated.