[p4] Ant and p4.change property not getting set

Branko Peteh branko at sidestep.com
Mon Jul 24 17:17:01 PDT 2006


I'm running into the same problem, as posted few years ago:


According to the ant manual for perforce tasks, the p4change command for
requesting new changelists is supposed to set ${p4.change} property, which is
to be used in subsequent perforce tasks (p4edit, and p4submit). The problem
is that the property is not getting set and the subsequent p4 command, p4edit
in my case fails with:

[p4edit] error: Invalid changelist number '${p4.change}'.

Does anyone know what is wrong and what to do about it?

Many thanks,

More information about the perforce-user mailing list