ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Jia <b...@brightspark.com>
Subject RE: cvs at ant
Date Wed, 06 Mar 2002 22:23:17 GMT
parsing buildfile D:\t4\scripts\masterbuild.xml with URI =
file:D:/t4/scripts/masterbuild.xml
Setting ro project property: ant.project.name -> Tira Project
Adding reference: Tira Project -> org.apache.tools.ant.Project@29ae05
Setting project property: basedir -> D:\t4\scripts
Project base dir set to: D:\t4\scripts
   +Task: property
Setting project property: CVSROOT ->
:pserver:bjia@tira-src:/var/local/tira-cvs
   +Task: property
Setting project property: passfile -> D:/CVSClient/.cvspass
 +Target: checkout
   +Task: cvs
Build sequence for target `checkout' is [checkout]
Complete build sequence is [checkout]

checkout:
Execute:Java13CommandLauncher: cvs -d
:pserver:bjia@tira-src:/var/local/tira-cvs checkout code-injection

BUILD FAILED
this is the debug info, I have no idea where the problem is from ?
Thanks!
D:\t4\scripts\masterbuild.xml:12: java.io.IOException: CreateProcess: cvs -d
:pserver:bjia@tira-src:/var/local/tira-cvs checkout code-injection 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
:pserver:bjia@tira-src:/var/local/tira-cvs checkout code-injection 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.jav
a: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)

Total time: 4 seconds

______________________________________________	
 	Barry Jia
Brightspark
Tel:416-488-1999 ext.306
Email: bjia@brightspark.com <mailto:bjia@brightspark.com>  

 



-----Original Message-----
From: Jesse Stockall [mailto:jesse@cryptocard.com]
Sent: Wednesday, March 06, 2002 5:19 PM
To: Ant Users List
Subject: RE: cvs at ant


On Wed, 2002-03-06 at 17:17, Barry Jia wrote:
> cvs is in my path. I run ant script and manualy run the cvs check out
> command in same dos terminal, one does work, and one work.

What does ant -debug show? Does it give the reason for the IOException?

-- 
 Jesse Stockall			|	Tel: 1+ 613.599.2441 ext. 243
 CRYPTOCard Corporation		|	Fax: 1+ 613.599.2442	 	
 Suite 304, 300 March Rd.	|	email: jesse@cryptocard.com
 Ottawa, ON, Canada K2K 2E2	|	web: www.cryptocard.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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message