ccblreport Error:ccblreport returned: 1

Help
Raghu
2007-04-16
2013-04-17
  • Raghu
    Raghu
    2007-04-16

    build file contents is as below
    <project name="test" default="bl-report"
         xmlns:ca="antlib:net.sourceforge.clearantlib">
            <target name="bl-report">
                <ca:ccblreport baselineselector="Temp_471@\Dummy_Projects"
                 contributors="true"
                 versions="false"
                 outfile="ccblreport.xml"
                 failonerror="true"/>
                <style in="ccblreport.xml"
                 out="ccblreport.html"
                 style="etc/ccblreport.xsl">
                </style>
            </target>
        </project>

    bl-report:
    parsing buildfile jar:file:/C:/ANT/apache-ant-1.6.2/lib/clearantlib-1.1.2.jar!/net/sourceforge/clearantlib/antlib.x
    ml with URI = jar:file:/C:/ANT/apache-ant-1.6.2/lib/clearantlib-1.1.2.jar!/net/sourceforge/clearantlib/antlib.xml
    [ca:ccblreport] Current OS is Windows 2000
    [ca:ccblreport] Output redirected to property: value.ccbl.output1
    [ca:ccblreport] Executing 'cleartool' with arguments:
    [ca:ccblreport] 'pwv'
    [ca:ccblreport]
    [ca:ccblreport] The ' characters around the executable and arguments are
    [ca:ccblreport] not part of the command.
    [ca:ccblreport] Current OS is Windows 2000
    [ca:ccblreport] Output redirected to C:\TEMP\clearantlib-46829.tmp\ccblreport46830.act
    [ca:ccblreport] Executing 'cleartool' with arguments:
    [ca:ccblreport] 'lsbl'
    [ca:ccblreport] '-fmt'
    [ca:ccblreport] '%Nd
    [ca:ccblreport] %u
    [ca:ccblreport] %[locked]p
    [ca:ccblreport] %[plevel]p
    [ca:ccblreport] %[activities]Xp
    [ca:ccblreport] '
    [ca:ccblreport] 'Temp_471@\Dummy_Projects'
    [ca:ccblreport]
    [ca:ccblreport] The ' characters around the executable and arguments are
    [ca:ccblreport] not part of the command.
    [ca:ccblreport] Current OS is Windows 2000
    [ca:ccblreport] Output redirected to property: value.ccbl.output2
    [ca:ccblreport] Executing 'cleartool' with arguments:
    [ca:ccblreport] 'describe'
    [ca:ccblreport] '-fmt'
    [ca:ccblreport] '%n~#~%Nd~#~%u~#~%[headline]p'
    [ca:ccblreport] 'BUILT'
    [ca:ccblreport]
    [ca:ccblreport] The ' characters around the executable and arguments are
    [ca:ccblreport] not part of the command.

    BUILD FAILED
    antlib:net.sourceforge.clearantlib:ccblreport returned: 1
            at net.sourceforge.clearantlib.CCBlReport.execute(CCBlReport.java:300)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
            at org.apache.tools.ant.Task.perform(Task.java:364)
            at org.apache.tools.ant.Target.execute(Target.java:341)
            at org.apache.tools.ant.Target.performTasks(Target.java:369)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
            at org.apache.tools.ant.Main.runBuild(Main.java:673)
            at org.apache.tools.ant.Main.startAnt(Main.java:188)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
    antlib:net.sourceforge.clearantlib:ccblreport returned: 1
            at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:579)
            at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:605)
            at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:438)
            at net.sourceforge.clearantlib.ClearToolExec.execute(ClearToolExec.java:101)
            at net.sourceforge.clearantlib.CCBlReport.execute(CCBlReport.java:234)
            ... 10 more
    --- Nested Exception ---
    antlib:net.sourceforge.clearantlib:ccblreport returned: 1
            at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:579)
            at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:605)
            at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:438)
            at net.sourceforge.clearantlib.ClearToolExec.execute(ClearToolExec.java:101)
            at net.sourceforge.clearantlib.CCBlReport.execute(CCBlReport.java:234)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
            at org.apache.tools.ant.Task.perform(Task.java:364)
            at org.apache.tools.ant.Target.execute(Target.java:341)
            at org.apache.tools.ant.Target.performTasks(Target.java:369)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
            at org.apache.tools.ant.Main.runBuild(Main.java:673)
            at org.apache.tools.ant.Main.startAnt(Main.java:188)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

     
    • buildmeister
      buildmeister
      2007-04-24

      I can't see any specific reason why this isn't working in the log file.

      What version of ClearCase are you using, 2003 or later is required for this command to work.

      The suspicious thing is that the second cleartool command seems to be missing an argument, the baseline... and using the word BUILT instead, the baseline promotion level

      Also, can you execute the cleartool commands that are shown in the log and send me the output, e.g.:

      >cleartool lsbl -fmt '%Nd %u %[locked]p %[plevel]p %[activities]Xp' Temp_471@\Dummy_Projects

       
    • Davide DB
      Davide DB
      2008-03-05

      Hi all,
      I got the same error running this task:

      antlib:net.sourceforge.clearantlib:ccblreport returned: 1

      I made different attempt and I got this error only if I set the "contributors" attribute true otherwise everything is ok. Looking source code I tried to run on the command line this command:

      cleartool lsbl -fmt \&quot;%Nd\n%u\n%[locked]p\n%[plevel]p\n%[activities]Xp\n\&quot; PROJECT_V3_21_02_2008.7810@\dummy_vob

      And everything seems to be fine. I don't know how to print contributors.

      Any suggestions?

      Thank you in advance

      --
      Davide