[p4] Submit via the command line (ANT)

peter mcgrath petermcgrth94 at gmail.com
Mon Oct 20 09:25:52 PDT 2008


Hi


Does anyone know how to submit a file from the command line through ANT
using the script :

<exec executable="cmd">

<arg line="/c"/>

<arg line="p4 submit -d "header files" *.h"/>
 </exec>

As the syntax for submitting a file with a description from the command line
is to have the Description in quotation marks, I will get an error if I
attempt the simple example from the perforce manual. So is there a way of
submitting a file with a description through the command line via ant?

Regards
Peter



More information about the perforce-user mailing list