Use Ant to make you programs (6)

xiaoxiao2021-03-06  106

Summary: Together with CVS

Many people use CVS as version control tools, but it has a little bit of trouble, it is when commit

There is no -r option, you can't pass the child directory data. Don't close, you can use Ant to put this gap

Buy, just need to do some preparations first.

There is a build.xml file in the work / common / template / src / directory, this file

It is a CVS task.

After the new establishment of a project project, put this build.xml in each subdirectory of the SRC.

This file is used to operate the current directory and its subdirectory version control command, which can be recursive.

Trouble is to create such files each directory, and the wildcard is not supported when the ANT calls CVS.

The name of each file must be written. But this is also more secure.

If a friend has a better way, I hope to tell me.

. Here is the content of this build.xml file

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

New Post(0)