Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
p4 label, sync

p4 label, sync

2003-03-26       - By Antoine Levy-Lambert
Reply:     1     2  

Dear Stacy,
there is no p4labelsync task yet.
I can put this on my agenda as a todo.
Sincerely
Antoine
----- Original Message -----
From: "Yoshimitsu, Stacy D." <SYOSHIMITSU@(protected)>
To: <user@(protected)>
Sent: Tuesday, March 25, 2003 3:59 AM
Subject: p4 label, sync


> Hello,
>
> Does anyone know how to do a p4 labelsync in Ant's build script?  Here's
> part of my Ant's build.xml file:
>
> <target name="createLabel" depends="init">
>     <p4label name="${build.name}.${version}build${build.num}"
>      desc="Label for ${build.name} ${version}build${build.num}"
>      lock ="locked"
>      view ="//depot/Source/..." />
>     <p4sync label="${build.name}.${version}build${build.num}" />
> </target>
>
>
> Now, I've created a label, but     <p4sync
> label="${build.name}.${version}build${build.num}" />     is trying to sync
> my client w/ the label.  Of course my label is now empty.  What I'm trying
> to do is to do a p4 labelsync -l <labelname> to sync what I have in the
> local directory to the label.  How do you do that in Ant's build script?
>
> Thanks,
>
> Stacy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.