ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bateman, Patrick eMEDIA" <Patrick.Bate...@mytravel.com>
Subject RE: cvs task
Date Mon, 03 Feb 2003 08:54:10 GMT
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:jerome.paul@ephox.com]
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: ant-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-user-help@jakarta.apache.org
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.

Mime
View raw message