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

ClearCase Update task does not allow usage of the -force flag when invoked

           Summary: ClearCase Update task does not allow usage of the -force
                    flag when invoked
           Product: Ant
           Version: 1.6.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


ClearCase Update task does not allow usage of the -force flag when invoked.

The force flag is need when (for example) an update operation is performed 
after a stream (in UCM speak) has been rebased. An other example of needing 
the -force flag is when an update is performed when clearcase thinks (at times 
wrongly) that there is already an update in process. Usage of -force aborts 
the in-progress update and starts a new one.

I would like to see this fixed on the 1.6 series.

Here is the diff (both doc and code, taken on 12/24/2003):

Index: docs/manual/OptionalTasks/clearcase.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/OptionalTasks/clearcase.html,v
retrieving revision 1.8
diff -r1.8 clearcase.html
251a252,256
>     <td>force</td>
>     <td>Specifies that confirmation prompts should be suppressed.</td>
>     <td>No</td>
>   </tr>
>   <tr>
Index: src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCUpdate.java
===================================================================
RCS 
file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/optional/clear
case/CCUpdate.java,v
retrieving revision 1.12
diff -r1.12 CCUpdate.java
119a120
>     private boolean m_Force = false;
188a190,193
>                       if (getForce()) {
>                               cmd.createArgument().setValue(FLAG_FORCE);
>                       }
> 
289a295,312
>      * If true, update is done without asking for conformation
>      *
>      * @param f the status to set the flag to
>      */
>     public void setForce(boolean f) {
>         m_Force = f;
>     }
> 
>     /**
>      * Get force status
>      *
>      * @return boolean containing status of force flag
>      */
>     public boolean getForce() {
>         return m_Force;
>     }
> 
>     /**
355a379,382
>     /**
>      * -force flag -- no questions, just do it
>      */
>     public static final String FLAG_FORCE = "-force";

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to