Use Ant to make you programs (6)

xiaoxiao2021-03-06  101

[Home, Previous, Next]

6 cooperation with cvs

Summary: Briefly describes how to work with CVS.

Many people use CVS as version control tools, but it has a little bit of trouble, there is no -r option when commit, can't pass the child directory data. Don't tighten, you can use Ant to make this gap, but you need to do it first. Some preparations. There is a build.xml file in the work / common / template / src / directory. This file is for CVS tasks. After the new project project, place such a build in each subdirectory of the SRC. The .xml file to operate the current directory and its subdirectory version control command, you can realize the recursive operation. What is the trouble is to create such a file per directory, and the ANT calls CVS not support wildcard, you must write a clear The name of a file. But this is more guaranteed to be safe. If a friend has a better way, I hope to tell me.

. Here is the content of this build.xml file

[Home, Previous, Next]

转载请注明原文地址:https://www.9cbs.com/read-103026.html

New Post(0)