ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hari ramasubbu <koolh...@yahoo.com>
Subject RE: ant and Clearcase checkin
Date Wed, 15 Aug 2001 16:52:18 GMT
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 <ebernard@digitalthink.com> 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:koolhari@yahoo.com]
> Sent: Tuesday, August 14, 2001 3:47 PM
> To: ant-user@jakarta.apache.org
> 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>


Mime
View raw message