ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Truesdale, Jay" <JTruesd...@erac.com>
Subject Problem Checking File Back into ClearCase
Date Fri, 14 Jun 2002 21:06:45 GMT
Running Ant 1.4.1 on NT 4 sp 6.

Build.xml files checks property file out of ClearCase and updates the file
just fine. We verified this by commenting out the Ant ClearCase checkin
step.

Partial build.xml:

----------------------------------------------------------------------------
---

      <cccheckout
            viewpath="${tmp_dir_version_file}\version.properties"
            reserved="true"
            nodata="false"
            nowarn="false"
       />

      <!-- format the current date & time -->
      <tstamp>
         <format property="time.start" pattern="HH:mm:ss EEE MMMM d, yyyy"/>
      </tstamp>

      <!-- increment the build number in the version.properties -->
      <propertyfile file="${tmp_dir_version_file}\version.properties">
         <entry key="build.date" type="string" value="${time.start}"/>
         <entry key="build.number" type="int" operation="+"
pattern="00000"/>
      </propertyfile>

       <!-- ClearCase checkin for the version.properties file -->
       <cccheckin
             viewpath="${tmp_dir_version_file}\version.properties"
             comment="Updating version number for latest build"
             identical="false"
        />

----------------------------------------------------------------------------
---

Ant -debug does not tell us anything we don't already know.

The error we get is this:

----------------------------------------------------------------------------
---

D:\Work\buildEurVeh>ant -buildfile newbuild.xml init.compile
Buildfile: newbuild.xml

init.compile:
[cccheckout] Checked out "Z:\vaacode_vob\EuroVeh\build\version.properties"
from version "\main\euroveh_1.0.0_int\euroveh_1.0.0_dev\6".
[propertyfile] Updating property file:
Z:\vaacode_vob\EuroVeh\build\version.properties
[cccheckin] Access is denied.
[cccheckin] cleartool: Error: Unable to access
"Z:\vaacode_vob\EuroVeh\build\version.properties": Permission denied.
[cccheckin] cleartool: Error: Unable to check in
"Z:\vaacode_vob\EuroVeh\build\version.properties".

BUILD FAILED

D:\Work\buildEurVeh\newbuild.xml:119: Failed executing: cleartool checkin -c
"Updating version number for latest build"
Z:\vaacode_vob\EuroVeh\build\version.properties

Total time: 47 seconds
D:\Work\buildEurVeh>

----------------------------------------------------------------------------
---

The status of the file in ClearCase after this completes is "Checked out but
removed".

I'm baffled. I've checked Google and the list archive with no luck finding
anything similar. Anyone else seen this problem??

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


Mime
View raw message