ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Rhodes <>
Subject RE: [p4label] Label in sync
Date Mon, 12 Feb 2001 20:47:45 GMT
Hi Les,
fyi: I installed ant 1.3, that eliminated both issues.

Thanks again, and yes...I had different client specs!  ;)


-----Original Message-----
From: Les Hughes []
Sent: Friday, February 09, 2001 2:22 AM
To: 'Dave Rhodes'
Cc: Ant-Dev@Jakarta. Apache. Org (E-mail)
Subject: RE: [p4label] Label in sync

Hi Dave,

Hmm, I haven't seen the Zip exception during dev - and since the P4 tasks
don't use ZipInputStreams I have no idea why your getting this error. It
could be something to do with the underlying exec classes - one for the dev
list I guess. Any ideas chaps? I'm offline on dialup today so have been
unable to check the bug database as to whether this is a known issue.

The empty label will be caused by the p4 labelsync command failing. P4Label
is a two step process, create the label with p4 label -i then sync filelists
to the label with p4 labelsync -l <name> (but I guess you already know this

The [p4label] Execing [Ljava.lang.String;@61d36b  is suspect. P4Base echos
this debug using

	log("Execing "+commandline.getCommandline(), Project.MSG_VERBOSE);
	Execute exe = new Execute(handler, null);

If the log is showing and object ref instead of the actual command, it
points again to a problem with the Exec classes?

I think the Label in sync message is Perforce informing you that as far as
it's concerned, the label is, erm, in sync with the client view. You're not
using the same client spec from different boxes are you? This is a common p4

Anyway, could you post your working and non-working OS/JVM details along
with your build.xml and we'll have a look.



> -----Original Message-----
> From: Dave Rhodes []
> Sent: 09 February 2001 00:05
> To: ''
> Subject: [p4label] Label in sync
> Hi Les,
> I was able to get ant to make perfect labels on my test box 
> (thanks for your
> help!).
> However, now that I've transferred the process over to the 
> build box, it
> creates a label with zero files associated with it.
> Running in verbose mode I find out the following:
> [p4label] Execing [Ljava.lang.String;@61d36b
> [p4label] Label in sync
> It creates a valid label, with the correct view, but with no 
> files.  Using
> the perforce GUI, I can replace the files in the label with 
> the files from
> the client with no problem.  So the label is definitely not 
> in sync.  Any
> idea what I've missed, or any way I can force it?  
> Also, I do get the following error running p4label:
> error in opening zip file
> I was getting this on my test box also, but it was creating the label
> correctly, so I ignored it.
> thanks for any assistance!
> dave

View raw message