[p4] Submit via the command line (ANT)

David Weintraub qazwart at gmail.com
Mon Oct 20 10:06:45 PDT 2008


Use " instead of quotation marks. Or, use single quotes (which is
also allowed).

--
David Weintraub
qazwart at gmail.com



On Mon, Oct 20, 2008 at 12:25 PM, peter mcgrath <petermcgrth94 at gmail.com> wrote:
> 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
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>



More information about the perforce-user mailing list