You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Durbha, Praveen (GE Healthcare)" <Pr...@ge.com> on 2008/11/25 01:19:22 UTC

Exception when running Ant task

Hi,
 
I am using the maven ant run plugin to label Clearcase files using
<ccmklbtype> and  <ccmklabel>.. Here are my ANT tasks in my POM XML file
 
 <tasks>
           <echo message="Creating label type " />
        <ccmklbtype typename="CAM_3_INT"
           ordinary="true"
           comment="Development Version 2"/>  
           
           <echo message="Label Type Created" />
        <echo message="Applying Label "/>      
        <ccmklabel viewpath="C:\dev\views\gbi_view\cbs_hlp"
                comment="Applying label "
          recurse="true"
          typename="CAM_3_INT"/>
        <echo message="Label Applied"/>
        
  </tasks>
 
The label gets applied but the build fails with the following error
 
[INFO] An Ant BuildException has occured: Failed executing: cleartool
mklabel -recurse -c "Applying label " CAM_3_INT
C:\dev\views\gbi_view\cbs_hlp
 
Any ideas?. Please advise.

Thanks!