Hi, Looks to me this is bug in optional task of Perforce in ANT, is there way so that I can log a bug in ant so that this issue gets resolved in next ANT release.
Thanks -----Original Message----- From: Antoine Levy Lambert <[email protected]> To: Ant Users List <[email protected]> Sent: Thu, Mar 25, 2010 11:26 pm Subject: Re: Perforce Tasks P4Integrate fails for "nocopytargetfiles" Hi, can you check the line 304 of p4integrate.java it reads P4CmdOpts = P4CmdOpts + "-v"; I guess it should be P4CmdOpts = P4CmdOpts + " -v"; with a space before the " -v". If you are able to rebuild ant from source, could you try this and see whether this addresses your concern ? Regards, Antoine [email protected] wrote: > Thanks for quick reply, but when I use > > nocopynewtargetfiles="true" > > 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 <[email protected]> > To: Ant Users List <[email protected]> > Sent: Thu, Mar 25, 2010 5:51 pm > Subject: Re: Perforce Tasks P4Integrate fails for "nocopytargetfiles" > > > Hi, > > 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. > > Regards, > Antoine > > > [email protected] 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: [email protected] For additional commands, e-mail: [email protected]
