ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Perforce Tasks P4Integrate fails for "nocopytargetfiles"
Date Thu, 25 Mar 2010 12:57:29 GMT

Thanks for quick reply, but when I use 


I am getting the following error:

error: Usage: integrate [ -c changelist# -d -D<flag> -f -h -i -o -n -r -s from -t
 ] [ -b branch to... | from to ]
error: Invalid option: --v.

Any idea what going wrong with my target.

-----Original Message-----
From: Antoine Levy Lambert <>
To: Ant Users List <>
Sent: Thu, Mar 25, 2010 5:51 pm
Subject: Re: Perforce Tasks P4Integrate fails for "nocopytargetfiles"

it looks like the real attribute name to use is "nocopynewtargetfiles" and not "nocopytargetfiles".
This is a bug in the documentation of the p4integrate task. 
Antoine wrote: 
> Hi All, 
> I am trying to use “P4Integrate” task in ant from Perforce task, so I am using “nocopytargetfiles”
attribute in this task like this: 
> > <target name="inte-new"> 
> <p4integrate 
> fromfile="//depot/projects/projectfoo/main/src/..." 
> tofile="//depot/projects/projectfoo/release/src/..." 
> enablebaselessmerges="true" 
> nocopytargetfiles="true"/> 
> </target> 
> > But when I execute this “inte-new” target I am getting following error: 
> > p4integrate doesn't support the "nocopytargetfiles" attribute 
> > Can anyone help me out in this regard, does I am doing anything wrong in making
call to this attribute? 
> I will be thankful to you. 
To unsubscribe, e-mail: 
For additional commands, e-mail: 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message