ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: p4 sync error
Date Sun, 19 May 2002 17:39:53 GMT
Yeah, that's logical. I had the same problem with CVS. Had an 'update' ANT
target that ran 'cvs update', and since the ANT I was using to run that
target was itself under CVS control, and needed update, it failed as well. I
turned around the issue on Windows by using xcopy to copy the ANT install
under CVS control to another folder not under CVS control. Xcopy is smart
enough (with the right options) to not copy files that didn't change. This
all happens (fast) in the build.bat used to start the ANT build.

Probably the best solution is to check in ANT into a different 'buildtools'
module (updated/synced separately, not from ANT), so that you never run into
this problem.

--DD

-----Original Message-----
From: Duncan McNaught [mailto:mcnaught@bea.com]
Sent: Friday, May 17, 2002 1:55 PM
To: Ant Users List
Subject: Re: p4 sync error


I think I narrowed down the problem - it happens when you try to sync
ant, that you are using.
This doesn't happen with a p4 sync, even if you are using the ant, only
with the ant p4 sync task.

Duncan McNaught wrote:

> I get this error when sync'ing to a clientspec:
> It sync's half the view and then fails.
>
> BUILD FAILED
>
> D:\monkey\internal\monkey\build\perforce.xml:20: Problem exec'ing P4
> command: er
> ror: Fatal client error; disconnecting.
>         at
> org.apache.tools.ant.taskdefs.optional.perforce.P4Base.execP4Command(
> P4Base.java:180)
>         at
> org.apache.tools.ant.taskdefs.optional.perforce.P4Sync.execute(P4Sync
> .java:115)
>
> The line is
> <p4sync force="yes" view="${monk.home}/...@${p4.have}"/>
>
> When I sync this through DOS it works fine, it also seems to work on
> Solaris.
>
> p4 sync d:/base/...@356644
>
> Does anyone have more information on this Fatal Client error?
> Is there a problem with the p4 sync task?
> --Duncan


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

--
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