You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/09/21 13:46:38 UTC

DO NOT REPLY [Bug 43443] New: - STCHECKIN ignores the Include arg when AddUncontrolled is true

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=43443>.
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=43443

           Summary: STCHECKIN ignores the Include arg when AddUncontrolled
                    is true
           Product: Ant
           Version: 1.7.0
          Platform: All
               URL: http://ant.apache.org/manual/OptionalTasks/starteam.html
                    #stcheckin
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional SCM tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: eric.smith@mckesson.com


STCHECKIN is adding all uncontrolled files when addUncontrolled is true and an 
Includes argument has been specified.  

There is a specific example from the manual saying that Includes will function 
(only 1 file will be checked in):
--> begin clip from doc <--
  <stcheckin URL="STARTEAM:49201/Aproject/AView"
             username="auser"
             password="secret"
             rootlocalfolder="C:\dev\buildtest\co"
             rootstarteamfolder="src/java"
             includes="version.java"
             forced="true"
             recursive="false"
             addUncontrolled="true"
             comment="Fix Bug #667"
  />

This example is like the previous one, but will only check only in one file, 
C:\dev\buildtest\co\version.java to the StarTeam folder src/java. Because the 
addUncontrolled attribute has been set, if StarTeam does not already control 
this file in this location, it will be added to the repository. Also, it will 
write a comment to the repository for this version of the file. 

--> end clip from doc <--

As you can see from this output "Includes specified:" lists one file, yet the 
output shows stcheckin adds all uncontrolled.

--> begin output paste <--
[stcheckin] Non-recursive Checkin from: /u/ideric/dev/dsw_utils
[stcheckin] Checking in to: Training/HPM/Source/dsw_utils/
[stcheckin]   Includes specified: dsw_ut_misc.c
[stcheckin]   Items will be checked in unlocked.
[stcheckin]   Items will be checked in in accordance with repository status 
and regardless of lock status.
[stcheckin] Excluding Training/HPM/Source/dsw_utils/dsw_es.c
[stcheckin] Excluding Training/HPM/Source/dsw_utils/src.lis
[stcheckin] Added uncontrolled file Training/HPM/Source/dsw_utils/aputnew~ 
from /u/ideric/dev/dsw_utils/aputnew~
[stcheckin] Added uncontrolled file Training/HPM/Source/dsw_utils/aget 
from /u/ideric/dev/dsw_utils/aget
[stcheckin] Added uncontrolled file Training/HPM/Source/dsw_utils/aputforce 
from /u/ideric/dev/dsw_utils/aputforce
[stcheckin] Added uncontrolled file Training/HPM/Source/dsw_utils/aputforce~ 
from /u/ideric/dev/dsw_utils/aputforce~
[stcheckin] Added uncontrolled file Training/HPM/Source/dsw_utils/build.xml 
from /u/ideric/dev/dsw_utils/build.xml
[stcheckin] Added uncontrolled file Training/HPM/Source/dsw_utils/build.xml~ 
from /u/ideric/dev/dsw_utils/build.xml~
[stcheckin] Added uncontrolled file 
Training/HPM/Source/dsw_utils/dsw_ut_misc.c 
from /u/ideric/dev/dsw_utils/dsw_ut_misc.c
[stcheckin] Added uncontrolled file Training/HPM/Source/dsw_utils/aputnew 
from /u/ideric/dev/dsw_utils/aputnew
[stcheckin] Added uncontrolled file Training/HPM/Source/dsw_utils/aput 
from /u/ideric/dev/dsw_utils/aput
[stcheckin] Added uncontrolled file Training/HPM/Source/dsw_utils/alist 
from /u/ideric/dev/dsw_utils/alist
--> end output paste <--

It happens under ANT 1.7.0 using starteam80.jar (STARTEAM 2005 release 2).

-- 
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