First of all sorry if this is a stupid question or easy answer but... I've trying to learn how to automate using ANT and clearantlib. I am running into issues upon building the basic script. I am in a Windows XP environment running an OLD version of ClearCase 4.2. I am just trying to get the version of ClearCase installed on my machine and get the following errors.
Thanks in advance.
Gary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ANT_HOME and JAVA_HOME are set in my environment too.
Simple Build Script
<project name="test" default="cc-lt-check" xmlns:ca="antlib:net.sourceforge.clearantlib">
<target name="cc-lt-check">
<ca:ccversion ccversionproperty="ccversion" ccltproperty="cclt"/>
<fail if="cclt">Error: Full ClearCase is required ...</fail>
<echo>Running ClearCase version ${ccversion}...</echo>
</target>
</project>
CCLsVOB.xml:3: Problem: failed to create task or type antlib:net.sourceforge.clearantlib:ccversion
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-C:\Program Files\Java\jdk1.5.0_14\tools\apache-ant-1.7.0\lib
-C:\Documents and Settings\gorlick.MCS\.ant\lib
-a directory added on the command line with the -lib argument
Total time: 0 seconds
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Make sure that you have "installed" clearantlib.jar, as described at http://clearantlib.sourceforge.net/, you can copy it to C:\Program Files\Java\jdk1.5.0_14\tools\apache-ant-1.7.0\lib in your case. Then try running the command again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
First of all sorry if this is a stupid question or easy answer but... I've trying to learn how to automate using ANT and clearantlib. I am running into issues upon building the basic script. I am in a Windows XP environment running an OLD version of ClearCase 4.2. I am just trying to get the version of ClearCase installed on my machine and get the following errors.
Thanks in advance.
Gary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ANT_HOME and JAVA_HOME are set in my environment too.
Simple Build Script
<project name="test" default="cc-lt-check" xmlns:ca="antlib:net.sourceforge.clearantlib">
<target name="cc-lt-check">
<ca:ccversion ccversionproperty="ccversion" ccltproperty="cclt"/>
<fail if="cclt">Error: Full ClearCase is required ...</fail>
<echo>Running ClearCase version ${ccversion}...</echo>
</target>
</project>
CCLsVOB.xml:3: Problem: failed to create task or type antlib:net.sourceforge.clearantlib:ccversion
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-C:\Program Files\Java\jdk1.5.0_14\tools\apache-ant-1.7.0\lib
-C:\Documents and Settings\gorlick.MCS\.ant\lib
-a directory added on the command line with the -lib argument
Total time: 0 seconds
Make sure that you have "installed" clearantlib.jar, as described at http://clearantlib.sourceforge.net/, you can copy it to C:\Program Files\Java\jdk1.5.0_14\tools\apache-ant-1.7.0\lib in your case. Then try running the command again.