Two Problems in daily building

Source: Internet
Author: User

After downloading the newest Daily Build version of NAnt and modifying the Build file, the problem "NAnt's cvs-checkout task cannot be executed" is finally solved, I suspect this is a Bug of NAnt, but I don't know it seems that few people have encountered this problem (find a user with the same problems as me in NAnt mail archive, but he does not seem to find a solution ).

Now we are going to use CruiseControl. Net to build a continuous building environment. Before that, there are still several problems to solve for NAnt's automatic building.

1. How do I add a Build number during automatic building?
If you do not set the Build number to automatically increase, the daily Build result cannot be seen which Build is completed. When detecting a problem, it cannot correspond to the Build process;
In addition, some Log file names and CVS labels generated during each build need to be automatically generated according to the date and so on. Do you know whether NAnt has a task dedicated to such work?

2. Do you need to unify the settings of the development environment?
When compiling the build file, it is found that the absolute path must be specified for some tools used during the compilation process. In addition, the reference in the DotNet solution also seems to use the absolute path, this is troublesome. in the development process, the working environments of various developers are not completely uniform, and the installation paths of tools are also different. After the code is submitted to CVS, there will certainly be problems when checkout comes out for compilation.
If you specify the path of the Installation tool in the code specification and store the code in a uniform way, this problem will not occur, but this method seems too rigid, I think there should be a better solution.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.