Hi
All,
My company is using
Clear Case and I am testing the script to automate the build with some Clear
Case tasks.
I tested following
two tasks:
- cccheckout
- ccupdate
I have update my
build.xml as follows:
- for cccheckout
<target
name="cccheckout"
>
<cccheckout viewpath="viewpath\filename" reserved="true"/>
<cccheckout viewpath="viewpath\filename" reserved="true"/>
</target>
Error:
BUILD
FAILED
file:build.xml: java.io.IOException: CreateProcess: cleartool checkout -reserved -nc viewpath\filename error=2
file:build.xml: java.io.IOException: CreateProcess: cleartool checkout -reserved -nc viewpath\filename error=2
I have added an
comment.
Error:
BUILD
FAILED
file:build.xml: java.io.IOException: CreateProcess: cleartool checkout -reserved -c comment viewpath\filename error=2
file:build.xml: java.io.IOException: CreateProcess: cleartool checkout -reserved -c comment viewpath\filename error=2
- for ccupdate
<target name="ccupdate"
>
<ccupdate viewpath="viewpath\viewname" graphical="false" log="log.log" overwrite="true" currenttime="true" rename="false"/>
</target>
<ccupdate viewpath="viewpath\viewname" graphical="false" log="log.log" overwrite="true" currenttime="true" rename="false"/>
</target>
Error:
BUILD
FAILED
file:build.xml: java.io.IOException: CreateProcess: cleartool update -overwrite -ctime -log log.log viewpath\viewname error=2
file:build.xml: java.io.IOException: CreateProcess: cleartool update -overwrite -ctime -log log.log viewpath\viewname error=2
I have used without
any option.
Error:
BUILD
FAILED
file:build.xml: java.io.IOException: CreateProcess: cleartool update -noverwrite viewpath\viewname error=2
file:build.xml: java.io.IOException: CreateProcess: cleartool update -noverwrite viewpath\viewname error=2
I have added
overwrite="true".
Error:
BUILD
FAILED
file:build.xml: java.io.IOException: CreateProcess: cleartool update -overwrite viewpath\viewname error=2
file:build.xml: java.io.IOException: CreateProcess: cleartool update -overwrite viewpath\viewname error=2
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have seen the
ant.dtd where I could find both. Clear Case class is also there in
ant.jar.
Please give me the
solution for these errors and also give the solution for all Clear Case command
so that in future when I use other Clear Case command I can reference
them.
I've submitted as the Bug # mentioned in Subject and I
received the following reply:
------- Additional Comments From [EMAIL PROTECTED] 2005-09-13 17:35 -------
I'm fairly certain that the ClearCase tasks require ClearCase to be on the PATH;
this is supported by "java.io.IOException: CreateProcess" in your log: it looks
like the ClearCase executables you need are not on the PATH.
Please confirm and reassign/resolve as appropriate.
But I can't understand that problem. Is there any one who can guide me about how to fix my error and crating successfull build with making Ant ClearCase task successfull ?Thanks and
Regards,
| ||||||||||||||
|