ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Errors on updating a filein ClearCase.
Date Tue, 23 Aug 2005 18:40:01 GMT
This is a clearcase issue, not related to Ant.

-Rob A

> -----Original Message-----
> From: Karunakar Chatla [mailto:karunakarc@cybage.com]
> Sent: Tuesday, August 23, 2005 8:52 AM
> To: Ant Users List
> Subject: Errors on updating a filein ClearCase.
> 
> 
> 
> Hi,
> 
> I have following script in my build file. 
> 
> <!-- Update build history file -->
>  <target name="BuildHistory" ><!--depends="Build" -->
>   <echo message="Updating build history file..." />
> 
>   <!-- check out the build history file -->
>   <cccheckout 
> viewpath="D:\kchatla\testview\kchatla_view2\AdminCC\data\build
> \buildHistory"
>         reserved="true"
>         nowarn="true"
>         comment="Updating build histiory"
>   failonerr="true"/>
> 
>   <!-- Update the contents of the file -->
>   <concat 
> destfile="D:\kchatla\testview\kchatla_view2\AdminCC\data\build
> \buildHistory" force="true" eol="dos" >
>   Build.Date=${Now.Date}
>   Release.Version=${product.version}
>   Build.Number=${build.number}
>   Components=ALL
>   Description=Full build, building all the components
>   Build.Type=${build.type}
>   Configspec=${soft.labels.path}\${configspec-win}
>   Build.Label=${label.type}
>   Build.Requester=${build.requester}
>   </concat>
> 
>   <!-- Check in when done with the changes -->
>   <cccheckin 
> viewpath="D:\kchatla\testview\kchatla_view2\AdminCC\data\build
> \buildHistory"
>         comment="Build history updated"
>         nowarn="true"
>         identical="true"
>   failonerr="true"/>
>  </target>
> 
> I am able to checkout the file update it and check it in. but 
> it is giving following errors and the file is being hijacked.
> 
> cleartool: Error: size of 
> "D:\kchatla\testview\kchatla_view2\AdminCC\data\build\buildHis
> tory" is 322, expected 332.
> cleartool: Warning: This is a "msdos" text mode view.  Is the 
> VOB element's text mode information correct?
> cleartool: Error: Errors were encountered in loading 
> "\AdminCC\data\build\buildHistory".
> cleartool: Warning: VOB updated, but failure updating 
> snapshot view to reflect checkin of 
> "D:\kchatla\testview\kchatla_view2\AdminCC\data\build\buildHis
> tory": error detected by ClearCase subsystem.
> 
> Any suggestions for avoiding this situation??
> 
> Thanks,
> Karunakar Chatla
> 
> 


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


Mime
View raw message