Source Control Tasks


Source Control Tasks

Ants source control tasks enable you to manage Java source and related development files using systems like CVS.

Cvs Task

The cvs task name is based on the acronym for Concurent Versioning System. (CVS is a source control system; you can learn more about it at www.cvshome.org.) This task allows for the handling of CVS modules that contain source files.

Parameters

  • command: CVS command to be executed, and parameters provided with that command.

  • cvsRoot: Root directory of the remote CVS server.

  • dest: Directory other than the projects root directory, where files are checked out locally.

  • package: CVS module to check out.

  • tag: Tag of the CVS module to check out.

  • date: Date which the most recent version of the CVS module to be checked out must be equal to or earlier than.

  • quiet: Boolean value of true or false. When set to true, prevents CVS information from printing out on the terminal. Defaults to false.

  • noexec: Boolean value of true or false. When set to true, only reports will be generatedno files will be modified. Defaults to false.

  • output: File to which the commands standard output should be output. Defaults to Ants log MSG_INFO.

  • error: File to which the commands standard error should be output. Defaults to Ants log MSG_WARN.

Get Task

The get task downloads a file from a URL.

Parameters

  • src*: URL from which to download a file.

  • dest*: File name and location to write the file to.

  • verbose: Boolean value of on or off. When set to on, messages will be suppressed. Defaults to off.

  • ignoreerrors: Boolean value of true or false. When set to true, the build will not fail when errors occur. Defaults to false.

  • usetimestamp: Boolean value of true or false. When set to true, the file time and date are compared. If the file is newer than a file specified in the dest parameter, it will be downloaded.




Professional Java Tools for Extreme Programming
Professional Java Tools for Extreme Programming: Ant, XDoclet, JUnit, Cactus, and Maven (Programmer to Programmer)
ISBN: 0764556177
EAN: 2147483647
Year: 2003
Pages: 228

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net