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 35295] New: - Starteam checkout major fix
Date Thu, 09 Jun 2005 19:27:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35295>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35295

           Summary: Starteam checkout major fix
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Optional SCM tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: BBurgess@tiaa-cref.org
                CC: BBurgess@tiaa-cref.org


Currently the StarTeam Checkout Ant task has an attribute named "forced" with
the description: 

If true, checkouts will occur regardless of the status that StarTeam is
maintaining for the file. If false, status will be used to determine which files
to check out. Defaults to "false".

When false, the task uses status to determine which files should be checked out.
 This is currently implemented so that OUTOFDATE and MISSING are the only
statuses where a checkout does occur.  If it is MERGE, UNKNOWN, MODIFIED, or of
course CURRENT, it does not checkout the file.

This is not optimal behavior for an automated process such as part of a
continual build process (which I believe is where this target is mostly used). 
For automated processes, what is intended is that the checkout will leave the
local folder exactly as the repository (checkouts would occur for MERGE,
UNKNOWN, and MODIFIED as well as OUTOFDATE and MISSING).  Because the current
task is not implemented like this, I wonder if most script users are left using
forced="true" which causes CURRENT files to be checked out needlessly, 
significantly increasing the build time.

What is the best way to fix this problem?  Change the behavior of checkout when
forced="false" to perform checkouts on the above mentioned statuses?  Change the
behavior of forced="true" to skip CURRENT files (as I think this may always be
unnecessary)?  Or perhaps add a new attribute called sync (or whatever) that
overrides the forced attribute and performs the checkout as described above?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message