ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17646] New: - Starteam Checkout Not Handling Deleted Labels
Date Tue, 04 Mar 2003 20:04:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17646>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17646

Starteam Checkout Not Handling Deleted Labels

           Summary: Starteam Checkout Not Handling Deleted Labels
           Product: Ant
           Version: 1.5.2
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: brian.brooks@metavante.com


Our Starteam project has some labels that were deleted.  Then readded with the 
same label name.  Starteam must hold on to the old label, just marking it with 
a deleted flag.  TreeBasedTask.findLabel() needs to query with 
com.starbase.starteam.Label.isDeleted(), otherwise the labelInUse can get set 
to a deleted label.  

Partial "ant -debug" below...
Setting project property: c1ps.stProjectname -> ps
Setting project property: c1ps.stViewname -> c1_prod-02-branch_maint
Setting project property: c1ps.stUrl -> thor:49201/ps/c1_prod-02-branch_maint
Setting project property: c1ps.stServerRootFolder.base -> /charterone
Setting project property: c1ps.stLocalRootFolder -> ./s1
[stcheckout] StarTeam version: StarGate SDK 5.1.2, Build 264
[stcheckout] checking label TR0000006
[stcheckout] checking label TR0000003
[stcheckout] using label TR0000003
[stcheckout] Ignoring createworkingdirs while using a revision label.  Folders 
will be created only as needed.
[stcheckout] Recursive Checkout from: ps\charterone\com\brokatfs\charterone\
[stcheckout]   Checking out to: O:\c1\ant-scripts\src2\.\s1
\com\brokatfs\charterone
[stcheckout]   Using revision label TR0000003
[stcheckout]   Items will be checked out with no change in lock status.
[stcheckout]   Items will be checked out with the current timestamp.
[stcheckout]   Items will be checked out in accordance with repository status.
[stcheckout]   Local items not found in the repository will be deleted.
[stcheckout]   Directories will be created only where needed to check out files.

BUILD FAILED
file:O:/c1/ant-scripts/src2/build.xml:223: The attempted operation was not 
completed. The specified label has been deleted.
        at org.apache.tools.ant.taskdefs.optional.starteam.TreeBasedTask.execute
(TreeBasedTask.java:560)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
--- Nested Exception ---
The attempted operation was not completed. The specified label has been deleted.
        at com.starbase.starteam.vts.comm.BinaryCommand.popException
(BinaryCommand.java:643)
        at com.starbase.starteam.vts.comm.Command.pop(Command.java:303)
        at com.starbase.starteam.vts.comm.BinaryCommand.readInt
(BinaryCommand.java:183)
        at com.starbase.starteam.vts.comm.BinaryCommand.readIntArray
(BinaryCommand.java:318)
        at com.starbase.starteam.CmdGetLabelItemIDs.pop
(CmdGetLabelItemIDs.java:51)
        at com.starbase.starteam.vts.comm.CommandMacro.execute
(CommandMacro.java:107)
        at com.starbase.starteam.Label.getLabeledItemIDs(Label.java:533)
        at 
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout.visit
(StarTeamCheckout.java:350)
        at org.apache.tools.ant.taskdefs.optional.starteam.TreeBasedTask.execute
(TreeBasedTask.java:557)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 7 seconds
O:\c1\ant-scripts\src2>


Full "ant -debug"...
Apache Ant version 1.5.2 compiled on February 28 2003
Buildfile: build.xml
Detected Java version: 1.3 in: j:\jre
Detected OS: Windows 2000
 +User task: propertyfile     
org.apache.tools.ant.taskdefs.optional.PropertyFile
 +User task: vsscheckin     
org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
 +User task: sql     org.apache.tools.ant.taskdefs.SQLExec
 +User task: cvspass     org.apache.tools.ant.taskdefs.CVSPass
 +User task: p4reopen     
org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen
 +User task: csc     org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
 +User task: dirname     org.apache.tools.ant.taskdefs.Dirname
 +User task: wlrun     org.apache.tools.ant.taskdefs.optional.ejb.WLRun
 +User task: p4label     org.apache.tools.ant.taskdefs.optional.perforce.P4Label
 +User task: p4revert     
org.apache.tools.ant.taskdefs.optional.perforce.P4Revert
 +User task: replaceregexp     
org.apache.tools.ant.taskdefs.optional.ReplaceRegExp
 +User task: get     org.apache.tools.ant.taskdefs.Get
 +User task: jjtree     org.apache.tools.ant.taskdefs.optional.javacc.JJTree
 +User task: sleep     org.apache.tools.ant.taskdefs.Sleep
 +User task: jarlib-display     
org.apache.tools.ant.taskdefs.optional.extension.JarLibDisplayTask
 +User task: dependset     org.apache.tools.ant.taskdefs.DependSet
 +User task: zip     org.apache.tools.ant.taskdefs.Zip
 +User task: patch     org.apache.tools.ant.taskdefs.Patch
 +User task: jspc     org.apache.tools.ant.taskdefs.optional.jsp.JspC
 +User task: style     org.apache.tools.ant.taskdefs.XSLTProcess
 +User task: test     org.apache.tools.ant.taskdefs.optional.Test
 +User task: tstamp     org.apache.tools.ant.taskdefs.Tstamp
 +User task: unwar     org.apache.tools.ant.taskdefs.Expand
 +User task: vsshistory     
org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY
 +User task: icontract     org.apache.tools.ant.taskdefs.optional.IContract
 +User task: cvschangelog     org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask
 +User task: p4submit     
org.apache.tools.ant.taskdefs.optional.perforce.P4Submit
 +User task: ccmcheckin     
org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin
 +User task: p4change     
org.apache.tools.ant.taskdefs.optional.perforce.P4Change
 +User task: bzip2     org.apache.tools.ant.taskdefs.BZip2
 +User task: p4delete     
org.apache.tools.ant.taskdefs.optional.perforce.P4Delete
 +User task: vssadd     org.apache.tools.ant.taskdefs.optional.vss.MSVSSADD
 +User task: javadoc     org.apache.tools.ant.taskdefs.Javadoc
 +User task: translate     org.apache.tools.ant.taskdefs.optional.i18n.Translate
 +User task: signjar     org.apache.tools.ant.taskdefs.SignJar
 +User task: vajload     
org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects
 +User task: jarlib-available     
org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask
 +User task: WsdlToDotnet     
org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
 +User task: buildnumber     org.apache.tools.ant.taskdefs.BuildNumber
 +User task: jpcovmerge     
org.apache.tools.ant.taskdefs.optional.sitraka.CovMerge
 +User task: ejbjar     org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
 +User task: war     org.apache.tools.ant.taskdefs.War
 +User task: stlist     
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamList
 +User task: rename     org.apache.tools.ant.taskdefs.Rename
 +User task: sequential     org.apache.tools.ant.taskdefs.Sequential
 +User task: serverdeploy     
org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy
 +User task: property     org.apache.tools.ant.taskdefs.Property
 +User task: move     org.apache.tools.ant.taskdefs.Move
 +User task: copydir     org.apache.tools.ant.taskdefs.Copydir
 +User task: cccheckin     
org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin
 +User task: wljspc     org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
 +User task: fixcrlf     org.apache.tools.ant.taskdefs.FixCRLF
 +User task: telnet     org.apache.tools.ant.taskdefs.optional.net.TelnetTask
 +User task: sosget     org.apache.tools.ant.taskdefs.optional.sos.SOSGet
 +User task: pathconvert     org.apache.tools.ant.taskdefs.PathConvert
 +User task: record     org.apache.tools.ant.taskdefs.Recorder
 +User task: p4sync     org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
 +User task: exec     org.apache.tools.ant.taskdefs.ExecTask
 +User task: p4edit     org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
 +User task: manifest     org.apache.tools.ant.taskdefs.ManifestTask
 +User task: maudit     org.apache.tools.ant.taskdefs.optional.metamata.MAudit
 +User task: antlr     org.apache.tools.ant.taskdefs.optional.ANTLR
 +User task: netrexxc     org.apache.tools.ant.taskdefs.optional.NetRexxC
 +User task: ftp     org.apache.tools.ant.taskdefs.optional.net.FTP
 +User task: jpcovreport     
org.apache.tools.ant.taskdefs.optional.sitraka.CovReport
 +User task: execon     org.apache.tools.ant.taskdefs.ExecuteOn
 +User task: ccmcheckout     
org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckout
 +User task: ant     org.apache.tools.ant.taskdefs.Ant
 +User task: xmlvalidate     
org.apache.tools.ant.taskdefs.optional.XMLValidateTask
 +User task: xslt     org.apache.tools.ant.taskdefs.XSLTProcess
 +User task: iplanet-ejbc     
org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbcTask
 +User task: ccmcheckintask     
org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckinDefault
 +User task: gzip     org.apache.tools.ant.taskdefs.GZip
 +User task: native2ascii     
org.apache.tools.ant.taskdefs.optional.Native2Ascii
 +User task: starteam     
org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut
 +User task: ear     org.apache.tools.ant.taskdefs.Ear
 +User task: input     org.apache.tools.ant.taskdefs.Input
 +User task: rmic     org.apache.tools.ant.taskdefs.Rmic
 +User task: checksum     org.apache.tools.ant.taskdefs.Checksum
 +User task: mail     org.apache.tools.ant.taskdefs.email.EmailTask
 +User task: loadfile     org.apache.tools.ant.taskdefs.LoadFile
 +User task: vsscheckout     
org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKOUT
 +User task: stylebook     org.apache.tools.ant.taskdefs.optional.StyleBook
 +User task: soscheckin     
org.apache.tools.ant.taskdefs.optional.sos.SOSCheckin
 +User task: mimemail     org.apache.tools.ant.taskdefs.optional.net.MimeMail
 +User task: stlabel     
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel
 +User task: gunzip     org.apache.tools.ant.taskdefs.GUnzip
 +User task: concat     org.apache.tools.ant.taskdefs.Concat
 +User task: cab     org.apache.tools.ant.taskdefs.optional.Cab
 +User task: touch     org.apache.tools.ant.taskdefs.Touch
 +User task: parallel     org.apache.tools.ant.taskdefs.Parallel
 +User task: splash     org.apache.tools.ant.taskdefs.optional.splash.SplashTask
 +User task: antcall     org.apache.tools.ant.taskdefs.CallTarget
 +User task: cccheckout     
org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout
 +User task: typedef     org.apache.tools.ant.taskdefs.Typedef
 +User task: p4have     org.apache.tools.ant.taskdefs.optional.perforce.P4Have
 +User task: filter     org.apache.tools.ant.taskdefs.Filter
 +User task: xmlproperty     org.apache.tools.ant.taskdefs.XmlProperty
Could not load a dependent class (jdepend/xmlui/JDepend) for task jdepend
 +User task: copy     org.apache.tools.ant.taskdefs.Copy
 +User task: antstructure     org.apache.tools.ant.taskdefs.AntStructure
Could not load a dependent class (com/ibm/bsf/BSFException) for task script
 +User task: ccmcreatetask     
org.apache.tools.ant.taskdefs.optional.ccm.CCMCreateTask
 +User task: rpm     org.apache.tools.ant.taskdefs.optional.Rpm
 +User task: delete     org.apache.tools.ant.taskdefs.Delete
 +User task: replace     org.apache.tools.ant.taskdefs.Replace
 +User task: mmetrics     
org.apache.tools.ant.taskdefs.optional.metamata.MMetrics
 +User task: waitfor     org.apache.tools.ant.taskdefs.WaitFor
 +User task: untar     org.apache.tools.ant.taskdefs.Untar
 +User task: loadproperties     org.apache.tools.ant.taskdefs.LoadProperties
 +User task: available     org.apache.tools.ant.taskdefs.Available
 +User task: echoproperties     
org.apache.tools.ant.taskdefs.optional.EchoProperties
Could not load a dependent class (junit/framework/TestListener) for task junit
 +User task: stcheckin     
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckin
 +User task: vajexport     org.apache.tools.ant.taskdefs.optional.ide.VAJExport
 +User task: stcheckout     
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout
 +User task: bunzip2     org.apache.tools.ant.taskdefs.BUnzip2
 +User task: copyfile     org.apache.tools.ant.taskdefs.Copyfile
 +User task: vsscreate     
org.apache.tools.ant.taskdefs.optional.vss.MSVSSCREATE
 +User task: ejbc     org.apache.tools.ant.taskdefs.optional.ejb.Ejbc
 +User task: unjar     org.apache.tools.ant.taskdefs.Expand
 +User task: wsdltodotnet     
org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
 +User task: mkdir     org.apache.tools.ant.taskdefs.Mkdir
 +User task: condition     org.apache.tools.ant.taskdefs.ConditionTask
 +User task: cvs     org.apache.tools.ant.taskdefs.Cvs
 +User task: tempfile     org.apache.tools.ant.taskdefs.TempFile
 +User task: junitreport     
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator
 +User task: taskdef     org.apache.tools.ant.taskdefs.Taskdef
 +User task: echo     org.apache.tools.ant.taskdefs.Echo
 +User task: ccupdate     
org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate
 +User task: java     org.apache.tools.ant.taskdefs.Java
 +User task: renameext     
org.apache.tools.ant.taskdefs.optional.RenameExtensions
 +User task: vsslabel     org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
 +User task: basename     org.apache.tools.ant.taskdefs.Basename
 +User task: javadoc2     org.apache.tools.ant.taskdefs.Javadoc
 +User task: vsscp     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCP
 +User task: tar     org.apache.tools.ant.taskdefs.Tar
 +User task: vajimport     org.apache.tools.ant.taskdefs.optional.ide.VAJImport
 +User task: setproxy     org.apache.tools.ant.taskdefs.optional.net.SetProxy
 +User task: wlstop     org.apache.tools.ant.taskdefs.optional.ejb.WLStop
 +User task: p4counter     
org.apache.tools.ant.taskdefs.optional.perforce.P4Counter
 +User task: ilasm     org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
 +User task: soscheckout     
org.apache.tools.ant.taskdefs.optional.sos.SOSCheckout
 +User task: apply     org.apache.tools.ant.taskdefs.Transform
 +User task: ccuncheckout     
org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckout
 +User task: jarlib-resolve     
org.apache.tools.ant.taskdefs.optional.extension.JarLibResolveTask
 +User task: jlink     org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
 +User task: cvstagdiff     org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
 +User task: javacc     org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
 +User task: chmod     org.apache.tools.ant.taskdefs.Chmod
 +User task: pvcs     org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs
 +User task: jarlib-manifest     
org.apache.tools.ant.taskdefs.optional.extension.JarLibManifestTask
 +User task: jar     org.apache.tools.ant.taskdefs.Jar
 +User task: sound     org.apache.tools.ant.taskdefs.optional.sound.SoundTask
 +User task: mparse     org.apache.tools.ant.taskdefs.optional.metamata.MParse
 +User task: blgenclient     
org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient
 +User task: uptodate     org.apache.tools.ant.taskdefs.UpToDate
 +User task: genkey     org.apache.tools.ant.taskdefs.GenerateKey
 +User task: javah     org.apache.tools.ant.taskdefs.optional.Javah
 +User task: ccmreconfigure     
org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure
 +User task: fail     org.apache.tools.ant.taskdefs.Exit
 +User task: unzip     org.apache.tools.ant.taskdefs.Expand
 +User task: javac     org.apache.tools.ant.taskdefs.Javac
 +User task: p4add     org.apache.tools.ant.taskdefs.optional.perforce.P4Add
 +User task: jpcoverage     
org.apache.tools.ant.taskdefs.optional.sitraka.Coverage
 +User task: soslabel     org.apache.tools.ant.taskdefs.optional.sos.SOSLabel
 +User task: depend     org.apache.tools.ant.taskdefs.optional.depend.Depend
 +User task: vssget     org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
 +User task: deltree     org.apache.tools.ant.taskdefs.Deltree
 +User task: ddcreator     org.apache.tools.ant.taskdefs.optional.ejb.DDCreator
 +User datatype: patternset     org.apache.tools.ant.types.PatternSet
 +User datatype: filterset     org.apache.tools.ant.types.FilterSet
 +User datatype: libfileset     
org.apache.tools.ant.taskdefs.optional.extension.LibFileSet
 +User datatype: filterreader     org.apache.tools.ant.types.AntFilterReader
 +User datatype: extension     
org.apache.tools.ant.taskdefs.optional.extension.ExtensionAdapter
 +User datatype: fileset     org.apache.tools.ant.types.FileSet
 +User datatype: dirset     org.apache.tools.ant.types.DirSet
 +User datatype: filelist     org.apache.tools.ant.types.FileList
 +User datatype: filterchain     org.apache.tools.ant.types.FilterChain
 +User datatype: path     org.apache.tools.ant.types.Path
 +User datatype: classfileset     
org.apache.tools.ant.types.optional.depend.ClassfileSet
 +User datatype: description     org.apache.tools.ant.types.Description
 +User datatype: xmlcatalog     org.apache.tools.ant.types.XMLCatalog
 +User datatype: selector     
org.apache.tools.ant.types.selectors.SelectSelector
 +User datatype: mapper     org.apache.tools.ant.types.Mapper
 +User datatype: substitution     org.apache.tools.ant.types.Substitution
 +User datatype: extensionSet     
org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet
 +User datatype: regexp     org.apache.tools.ant.types.RegularExpression
Setting ro project property: ant.version -> Apache Ant version 1.5.2 compiled 
on February 28 2003
Setting ro project property: ant.file -> O:\c1\ant-scripts\src2\build.xml
parsing buildfile build.xml with URI = file:O:/c1/ant-scripts/src2/build.xml
Setting ro project property: ant.project.name -> c1-starteam-ant
Adding reference: c1-starteam-ant -> org.apache.tools.ant.Project@431340
Project base dir set to: O:\c1\ant-scripts\src2
   +Task: property
Setting project property: build.dir -> classes
   +Task: property
Setting project property: src.dir -> src
   +Task: property
Setting project property: c1.src.dir -> src\ps\charterone\
   +Task: property
Setting project property: typhoon.src.dir -> src\brokatfs\typhoon\src\
   +Task: property
Setting project property: ofx.src.dir -> src\brokatfs\typhoon\src\
   +Task: property
Setting project property: dbapi.src.dir -> src\brokatfs\typhoon\src\
   +Task: property
Setting project property: typhoon.pkg -> com.brokatfs.typhoon
   +Task: property
Setting project property: ofx.pkg -> com.brokatfs.ofx
   +Task: property
Setting project property: typhoon.path -> com/brokatfs/typhoon
   +Task: property
Setting project property: dbapi.pkg -> com.brokatfs.typhoon.inf.be.dbapi
   +Task: property
Setting project property: dbapi.path -> com/brokatfs/typhoon/inf/be/dbapi
   +Task: property
Setting project property: starteam.folder -> src
   +Task: property
Setting project property: starteam.server -> thor
   +Task: property
Setting project property: starteam.port -> 49201
   +Task: property
Setting project property: starteam.project -> 
   +Task: property
Setting project property: starteam.view -> /brokatfs/c1_prod-02-
branch_maint/typhoon/src/com/brokatfs/charterone
   +Task: property
Setting project property: starteam.url -> thor:49201///brokatfs/c1_prod-02-
branch_maint/typhoon/src/com/brokatfs/charterone
   +Task: property
Setting project property: starteam.user -> ******
   +Task: property
Setting project property: starteam.passwd -> *****
   +Task: property
Setting project property: jaxb_home -> jaxb-1.0-ea
   +Task: property
Setting project property: lib.dir -> lib
   +DataType: path
Adding reference: twisterlibs.path -> 
   +DataType: path
Adding reference: checkfreelibs.path -> 
   +DataType: path
Adding reference: project.class.path -> 
   +Task: property
Override ignored for property build.dir
   +Task: property
Override ignored for property src.dir
   +Task: property
Setting project property: properties.files.dir -> runtime
 +Target: init
 +Target: testSwing
   +Task: ant
 +Target: compile
   +Task: ant
 +Target: deploy
 +Target: deploy-nocompile-smallbiz
   +Task: ftp
   +Task: ftp
 +Target: deploy-nocompile-retail
   +Task: ftp
 +Target: test-sched
   +Task: java
 +Target: test-gen
   +Task: property
   +Task: property
   +Task: property
   +Task: property
   +Task: property
   +Task: stcheckout
 +Target: prj-save
   +Task: tstamp
   +Task: property
   +Task: echo
   +Task: zip
Build sequence for target `test-gen' is [init, test-gen]
Complete build sequence is [init, test-gen, compile, deploy-nocompile-smallbiz, 
deploy-nocompile-retail, deploy, test-sched, testSwing, prj-save]

init:

test-gen:
Setting project property: c1ps.stProjectname -> ps
Setting project property: c1ps.stViewname -> c1_prod-02-branch_maint
Setting project property: c1ps.stUrl -> thor:49201/ps/c1_prod-02-branch_maint
Setting project property: c1ps.stServerRootFolder.base -> /charterone
Setting project property: c1ps.stLocalRootFolder -> ./s1
[stcheckout] StarTeam version: StarGate SDK 5.1.2, Build 264
[stcheckout] checking label TR0000006
[stcheckout] checking label TR0000003
[stcheckout] using label TR0000003
[stcheckout] Ignoring createworkingdirs while using a revision label.  Folders 
will be created only as needed.
[stcheckout] Recursive Checkout from: ps\charterone\com\brokatfs\charterone\
[stcheckout]   Checking out to: O:\c1\ant-scripts\src2\.\s1
\com\brokatfs\charterone
[stcheckout]   Using revision label TR0000003
[stcheckout]   Items will be checked out with no change in lock status.
[stcheckout]   Items will be checked out with the current timestamp.
[stcheckout]   Items will be checked out in accordance with repository status.
[stcheckout]   Local items not found in the repository will be deleted.
[stcheckout]   Directories will be created only where needed to check out files.

Some commands used to find defect using tool http://www.beanshell.org ...
addClassPath("C:\\apache-ant-1.5.2\\lib\\ant.jar");
addClassPath("C:\\apache-ant-1.5.2\\lib\\optional.jar");
addClassPath("C:\\apache-ant-1.5.2\\lib\\starteam-sdk.jar");
import org.apache.tools.ant.taskdefs.optional.starteam.*;
import com.starbase.starteam.*;

String url = "thor" + ":" + 49201 + "/" + "ps" + "/" + "c1_prod-02-
branch_maint" ;
String viewUrl = "*****" + ":" + "*****" + "@" + url ;
View v = null;
try
{
    v = StarTeamFinder.openView(viewUrl);
}
catch(Exception e)
{
    throw new RuntimeException("Failed to connect to " + url, e);
}
String label = "";
Label labelInUse = null;
Label[] allLabels = v.getLabels();
for (int i = 0; i < allLabels.length; i++) {
    print("loop iteration #" + i);
    Label stLabel = allLabels[i];
    print("checking label " + stLabel.getName());
    print("[stLabel="+stLabel.getName()+ ", stLabel.isRevisionLabel()
="+stLabel.isRevisionLabel() +", stLabel.isViewLabel()="+stLabel.isViewLabel() 
+"]" );
/*    
    if (stLabel.getName().equals(label)) 
    {
        if (!stLabel.isRevisionLabel() && !stLabel.isViewLabel()) 
        {
            throw new RuntimeException("Unexpected label type.");
        }
        print("using label " + stLabel.getName());
        labelInUse = stLabel;
        break;        
    }
*/    
}
print("labelInUse="+labelInUse);
print("done.");

Label[] ls = new Label[2];
ls[0] = allLabels[0];
ls[1] = allLabels[4];
print(ls);
ls

l = ls[0];
print("debugString="+l.toDebugString());
print("Time="+l.getTime());
print("Description="+l.getDescription());
print("View="+l.getView());
print("RevisionTime="+l.getRevisionTime());
print("isDeleted="+l.isDeleted());
print("Modified="+l.isModified());
print("isBuildLabel="+l.isBuildLabel());
print("isViewLabel="+l.isViewLabel());
print("isLocked="+l.isLocked());

l = ls[1];
print("debugString="+l.toDebugString());
print("Time="+l.getTime());
print("Description="+l.getDescription());
print("View="+l.getView());
print("RevisionTime="+l.getRevisionTime());
print("isDeleted="+l.isDeleted());
print("Modified="+l.isModified());
print("isBuildLabel="+l.isBuildLabel());
print("isViewLabel="+l.isViewLabel());
print("isLocked="+l.isLocked());

loop iteration #0
checking label TR0000006
[stLabel=TR0000006, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()=false]
loop iteration #1
checking label TR0000003
[stLabel=TR0000003, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()=false]
loop iteration #2
checking label c1_01_001
[stLabel=c1_01_001, stLabel.isRevisionLabel()=false, stLabel.isViewLabel()=true]
loop iteration #3
checking label TR0000003
[stLabel=TR0000003, stLabel.isRevisionLabel()=false, stLabel.isViewLabel()=true]
loop iteration #4
checking label TR0000006
[stLabel=TR0000006, stLabel.isRevisionLabel()=false, stLabel.isViewLabel()=true]
loop iteration #5
checking label TR0000003
[stLabel=TR0000003, stLabel.isRevisionLabel()=false, stLabel.isViewLabel()=true]
loop iteration #6
checking label c1ret_01_001
[stLabel=c1ret_01_001, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()
=false]
loop iteration #7
checking label c1ret_01_001
[stLabel=c1ret_01_001, stLabel.isRevisionLabel()=false, stLabel.isViewLabel()
=true]
loop iteration #8
checking label TR0000001
[stLabel=TR0000001, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()=false]
loop iteration #9
checking label R20030126-pcr8
[stLabel=R20030126-pcr8, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()
=false]
loop iteration #10
checking label R20030126-pcr7
[stLabel=R20030126-pcr7, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()
=false]
loop iteration #11
checking label Test Release Label
[stLabel=Test Release Label, stLabel.isRevisionLabel()=false, 
stLabel.isViewLabel()=true]
loop iteration #12
checking label R021006
[stLabel=R021006, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()=false]
loop iteration #13
checking label bbr-t2
[stLabel=bbr-t2, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()=false]
loop iteration #14
checking label bbr-t1
[stLabel=bbr-t1, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()=false]
loop iteration #15
checking label September_Release_02
[stLabel=September_Release_02, stLabel.isRevisionLabel()=true, 
stLabel.isViewLabel()=false]
loop iteration #16
checking label Alerts_R20020804
[stLabel=Alerts_R20020804, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()
=false]
loop iteration #17
checking label 1.0
[stLabel=1.0, stLabel.isRevisionLabel()=true, stLabel.isViewLabel()=false]
loop iteration #18
checking label
[stLabel=, stLabel.isRevisionLabel()=false, stLabel.isViewLabel()=true]
bsh %

Mime
View raw message