You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Anthony Rodriguez <An...@WeddingChannel.com> on 2001/08/17 19:43:16 UTC

Optional Task - CCCheckout

My company uses clearcase and I'm trying to use the CCCheckout task that's
included in the 1.4 beta release of ant.  Here is the part of my build.xml
that defines the task:

  <target name="checkout">
    <cccheckout nowarn="true" reserved="true" comment="Test"/>
  </target>

Here is what happens when I run "ant -v init checkout" at the command line:

Ant version 1.4Beta1 compiled on August 9 2001
Buildfile: build.xml
Detected Java version: 1.3 in: c:\jdk1.3.1\jre
Detected OS: Windows 2000
parsing buildfile C:\views\ant_sview\build.xml with URI =
file:C:/views/ant_sview/build.xml
Project base dir set to: C:\ccviews\ant_sview\
Property ${classpath} has not been set
Property ${home} has not been set
Build sequence for target `init' is [init]
Complete build sequence is [init, checkout]

init:
 [property] Loading C:\Documents and Settings\ant\build.properties
 [property] Unable to find property file: C:\Documents and
Settings\ant\build.properties
Build sequence for target `checkout' is [checkout]
Complete build sequence is [checkout, init]

checkout:

Total time: 1 second
BUILD FAILED

C:\ccviews\ant_sview\build.xml:68: The <cccheckout> task doesn't support the
"nowarn" attribute.
        at
org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHe
lper.java:273)
        at
org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:656)
        at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfig
urable.java:143)
        at org.apache.tools.ant.Task.maybeConfigure(Task.java:178)
        at org.apache.tools.ant.Task.perform(Task.java:216)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:599)
        at org.apache.tools.ant.Project.executeTargets(Project.java:558)
        at org.apache.tools.ant.Main.runBuild(Main.java:453)
        at org.apache.tools.ant.Main.start(Main.java:154)
        at org.apache.tools.ant.Main.main(Main.java:177)

The "init" part is just where I define a whole bunch of properties.  But I
keep getting this Message saying that <cccheckout> doesn't support the "x"
attribute.  Whatever I put as the first attribute in the task, I get this
error message saying it's not supported.  I had the viewpath attribute in
there before and got the same error.  Any help to get this checkout working
would be appreciated.  (I have already written an exec task that checks out
but I am more interested in getting this cccheckout task working.)

-Anthony