Thanks Eddie .. that worked .. but i was just
wondering why if i could use other optional tasks like
mail without using taskdefs .. this check in task
requires taskdefs.

regards
hari

--- Eddie Bernard <[EMAIL PROTECTED]> wrote:
> Did you try setting up a taskdef for CCCheckin?
> 
> <taskdef name="CCCheckin"
>
classname="org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin"/>
> 
> This should work provided that the optional.jar is
> in the classpath when Ant
> is invoked.
> 
> -----Original Message-----
> From: hari ramasubbu [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 14, 2001 3:47 PM
> To: [EMAIL PROTECTED]
> Subject: ant and Clearcase checkin
> 
> 
> Hi all
> 
> I'm trying to use ant with clearcase to checkin a
> file.But i get this error inspite of me having the
> optional.jar in my lib dirctory.
> 
> BUILD FAILED
> 
> D:\quality\build\test.xml:3: Could not create task
> of
> type: CCCheckin. Common solutions are to use taskdef
> to declare your task, or, if this is an optional
> task,
> to put the optional.jar in the lib directory of your
> ant installation (ANT_HOME).
> 
> -------here is the test code.----------
> <project name="mail" default="test" basedir=".">
>       <target name="test" >   
>       <CCCheckin viewpath="D:\test\test.txt"
> comment="test">
>       </CCCheckin>    
>       </target>
> </project>

Reply via email to