ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: Selecting between sync to head and sync to label with Ant "p4sync" task
Date Wed, 16 Nov 2005 09:38:08 GMT
Hello David,
try //...#head
Cheers,
Antoine

> --- Urspr√ľngliche Nachricht ---
> Von: "Karr, David" <david.karr@wamu.net>
> An: <perforce-user@perforce.com>, "Ant Users List" <user@ant.apache.org>
> Betreff: Selecting between sync to head and sync to label with Ant
> "p4sync" task
> Datum: Tue, 15 Nov 2005 15:04:16 -0800
> 
> If I have code that needs to choose between syncing to head and syncing
> to a label, is there a label value that corresponds to "head"?  My code
> currently checks a "p4.label" property to determine whether to do a sync
> or not.  I'm guessing I'm going to have to also check for "p4.label"
> being equal to "head" (by convention), and if so, execute a separate
> "p4sync" task that leaves off the "label" attribute.  From what I can
> see in the task documentation, I can't just leave an empty label value,
> as that apparently is an error case.
> 

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


Mime
View raw message