ccblreport errors

Help
javadevguy
2006-10-12
2013-04-17
  • javadevguy

    javadevguy - 2006-10-12

    I can't seem to get ccblreport to work on version 1.0 or 1.1.  ccdiffblreport works fine, but I can't figure out why ccblreport doesn't.

    <target name="bl-report">
    <ca:ccblreport baselineselector="MyBaseline@\MyPVOB"
                 contributors="false"
                 versions="true"
                 outfile="ccblreport.xml"
                 failonerror="true"/>
    </target>

    [ca:ccblreport] Current OS is Windows 2003
    [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 2003
    [ca:ccblreport] Output redirected to c:\winnt\temp\2\clearantlib-34006.tmp\ccblreport34007.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] 'MyBaseline@\MyPVOB"'
    [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 2003
    [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~#~%[versions]p'
    [ca:ccblreport] 'INITIAL'
    [ca:ccblreport]
    [ca:ccblreport] The ' characters around the executable and arguments are
    [ca:ccblreport] not part of the command.

    BUILD FAILED
    D:\build.xml:251:
    D:\\build.xml:251: antlib:net.sourceforge.clearantlib:ccblreport returned: 1
        at net.sourceforge.clearantlib.CCBlReport.execute(Unknown Source)
        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.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by:
    D:build.xml:251: antlib:net.sourceforge.clearantlib:ccblreport returned: 1
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:591)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
        at net.sourceforge.clearantlib.ClearToolExec.execute(Unknown Source)
        ... 13 more
    --- Nested Exception ---
    D:\build.xml:251: antlib:net.sourceforge.clearantlib:ccblreport returned: 1
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:591)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
        at net.sourceforge.clearantlib.ClearToolExec.execute(Unknown Source)
        at net.sourceforge.clearantlib.CCBlReport.execute(Unknown Source)
        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.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

     
    • buildmeister

      buildmeister - 2006-10-12

      Hi,

      What version of ClearCase are you running? The parameters required to execute the "describe" command required 2003.06 or later.

      Also it seems to be trying to find information on the INITIAL baseline - i.e. the first UCM baseline you created. What happens if you do it with two baselines after the INITIAL baseline? Does this work?

      Cheers,

      Kevin

       

Log in to post a comment.