Jerome,

Use the -m option of the commit task :-

    <target name="cvs-commit"
            description="Commit Changes to CVS">

        <cvs command="commit -m&#8220;build:${build.number}&#8221;"
             cvsRoot="${cvsroot}"/>

    </target>

You have to use an XML escape to the begin and end quotes of the commit
message.

Thanks

Pat


-----Original Message-----
From: Jerome Paul [mailto:[EMAIL PROTECTED]]
Sent: 03 February 2003 05:23
To: 'Ant Users List'
Subject: cvs task


Hi, 
  As part of my build I want to commit some files.  Is there anyway to
suppress the user user input requirement of the commit task.  (it displays a
a log file in notepad that you have to close and then requires confirmation
to proceed)

any help would be appreciated

cheers
Jerome

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
CONFIDENTIAL AND PRIVILEGED - The information in this e-mail and in any
attachment is confidential and privileged and intended solely for the use of
the named addressee(s).  This information may be subject to legal,
professional or other privilege or may otherwise be protected by work
product immunity or other legal rules.  It must not be disclosed to any
person without authority.   If you are not the intended recipient or a
person responsible for delivering it to the intended recipient please
contact me immediately by e-mail, telephone or fax on the numbers above.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to