ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Pravin <daniel_pra...@yahoo.com>
Subject Problem with CVS Task in the ANT tool
Date Fri, 09 Nov 2001 05:21:56 GMT
Hai,

  I have problem in the CVS Task in the ANT tool. I am
using the cvs task for getting our project files from a cvs
server which is running in LINUX operating system . we are
using .rhosts files for authentication.

 I have problem connecting the cvs server , It is
throughing IOException , Hope Someone will through some
light into this


My ANT XML file code :
----------------------

<project name="CVS_TASK" default="CVS">

  <!-- The CVS Root variable value -->	
  <property name="cvs.root"
value=":psersver:pravin@star.objectorb.com:/usr/cvsroot"/>

  <!-- The CVS Checkout Module Name -->	
  <property name="cvs.pack" value="Project1"/>

  <!-- The CVS Checkout Destination Directory -->	
  <property name="proj.dir" value="D:\Project1"/>

  
  <target name="CVS" description="cvs task">
	<record name="cvsLog.txt" append="no" action="start"
loglevel="verbose"/>
	
       	    <cvs cvsRoot="${cvs.root}"
package="${cvs.pack}" dest="${proj.dir}"
passfile="./.rhosts" command="checkout"/>
       	    
    	<record name="cvsLog.txt" append="no" action="stop"
loglevel="verbose"/>
  </target>
</project>

OUTPUT : (LOG FILE)
-------------------

CVS:  duration 16754629 minutes 58 seconds

BUILD FAILED

D:\Program Files\IBM\VisualAge for
Java\ide\tools\org-apache-tools-ant\cvsTask.xml:16:
java.io.IOException: CreateProcess: cvs -d
:psersver:pravin@star.objectorb.com:/usr/cvsroot checkout
MDLProductNov15 error=267
	at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:221)
	at org.apache.tools.ant.Task.perform(Task.java:217)
	at org.apache.tools.ant.Target.execute(Target.java:184)
	at
org.apache.tools.ant.Target.performTasks(Target.java:202)
	at
org.apache.tools.ant.Project.executeTarget(Project.java:601)
	at
org.apache.tools.ant.Project.executeTargets(Project.java:560)
	at org.apache.tools.ant.Main.runBuild(Main.java:454)
	at org.apache.tools.ant.Main.start(Main.java:153)
	at org.apache.tools.ant.Main.main(Main.java:176)
--- Nested Exception ---
java.io.IOException: CreateProcess: cvs -d
:psersver:pravin@star.objectorb.com:/usr/cvsroot checkout
MDLProductNov15 error=267
	at java.lang.Win32Process.create(Native Method)
	at java.lang.Win32Process.<init>(Win32Process.java:66)
	at java.lang.Runtime.execInternal(Native Method)
	at java.lang.Runtime.exec(Runtime.java:551)
	at java.lang.reflect.Method.invoke(Native Method)
	at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:564)
	at
org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:384)
	at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:216)
	at org.apache.tools.ant.Task.perform(Task.java:217)
	at org.apache.tools.ant.Target.execute(Target.java:184)
	at
org.apache.tools.ant.Target.performTasks(Target.java:202)
	at
org.apache.tools.ant.Project.executeTarget(Project.java:601)
	at
org.apache.tools.ant.Project.executeTargets(Project.java:560)
	at org.apache.tools.ant.Main.runBuild(Main.java:454)
	at org.apache.tools.ant.Main.start(Main.java:153)
	at org.apache.tools.ant.Main.main(Main.java:176)


Thank you
daniel


__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message