4 integrated environment
In order to build an intermediate workpiece such as source code, a building generated by the link, a corresponding compilation tool must be used; and the build is implemented, it is necessary to support the build tools such as Make; implement the continuous integration and dedicated tools of CruiseControl In addition, software configuration management tools will act as important roles due to integration usually in the environments of team collaboration.
Recommended installation order is: Clone Host -> Installation Configuration Management Tool Client -> Create User View -> Prepare User Private Build Places -> Configure Compile Environment -> Configuration Environment -> Perform initial construction
4.1 Integrated Network Deployment
4.2 Compile the environment
1.2.1 MSVC6
The primary IDE of this project is used by MS Visual Studio 98, and the compiler uses MSVC6.
The full set of MSVC6's base libraries and MFC libraries (including Unicode components are used when installing) is used.
In order to use MSVC6 normally, pay attention to properly set environment variables such as PATH, although the installer can automatically set them, but passes through clones may be lost.
Environment variable example:
Path = C: / Winnt / System32; C: / Winnt; C: /Development_tools/building-utils/apache-ant-1.6.0/bin; c: / wevelopment_tools / microsoft visual studio / common / tools / winnt; C: / Development_Tools / Microsoft Visual Studio / Common / MSDev98 / bin; C: / Development_Tools / Microsoft Visual Studio / Common / Tools; C: / Development_Tools / Microsoft Visual Studio / VC98 / bin; C: / Development_Tools / Microsoft Visual Studio / Common / MSDEV98 / BIN
You can also run the next column batch command from the output (only valid for the cloning machine):
D: /Development_home/toLs.configs/path.bat
1.2.2 BCC55
To support third parties using Borland IDE, you need to configure the BCC55 compiler.
4.3 Building Tools
Common build tools, C / C has make, bjam, cpptasks for ant; java has Ant, C # has NANT. Considering that Ant has easy access, comprehensive, XML format is readable, it is easy to master, and this project uses Ant as a primary build tool.
The configuration of the typical build tool environment is:
JSDK1.4.x - Java operating environment
Apache-Ant-1.6.0 - Ant Tool
Installation path example:
C: /development_tools/building-utils/apache-ant-1.6.0
CPPTASKS1.0Beta - Support Ant for C / C build-up extensions
Installation path example:
C: /development_tools/building-utils/apache-ant-1.6.0/lib/ cpptasks.jar
ANT-Contrib-0.6 - Extension of ANT Using Control Logic
Installation path example:
C: /Development_tools/building-utils/apache-ant-1.6.0/lib/ Ant-Contrib-0.6.jar
ENVSET - a WINNT Environment Variable Settings of Project Groups Sets Example:
C: /Development_tools/building-utils/apache-ant-1.6.0/bin/ envset.exe
note:
In order to support the use of cpptasks, Ant-Contrib, you must add the following declarations in the ANT build script:
4.4 Continuous Integration Tools
The mainstream continuous integration tool has CruiseControl, providing two versions of Java with dot.net. We have the continuous integration of the C / C project by configuring the Java version.
An example of the installation path on the integrated server:
C: /development_tools/building-utils/cruiseControl-2.1.5
In order to support C / C projects, you need to add CPPTasks, Ant-Contrib, which can be implemented by modifying the CruiseControl.bat file, as follows:
SET EXTLIBDIR =% ANT_HOME% / LIB
% EXTLIBDIR% / ANT-Contrib-0.6.jar;% EXTLIBDIR% / cpptasks.jar;
1.5 Software Configuration Management Client
This item uses ClearCase as a tool for software configuration management. Develop workstations, test workstations and integration servers will install ClearCase clients, and its installation configuration see other ClearCase related documents.
View path example:
D: / shared_views / pchl_v1_dev
1.6 users private build places
Directory similar to the D: / Development_Home / by the build host, as a private development site privately, developers can generate this / debl_supports / environments / development / development_home.zip (can be found from ClearCase's PCHL_WORKING) Directory set, where D: /Development_home/building.workspace subdirectory will be used to automatically build. The development_home.zip package also contains CruiseControl's continuous integration related profiles.
1.7 host clone
In order to improve productivity, the development of the project team can be quickly installed by cloning. Environmental engineers have made a complete system disk (C main partition) image, including development tools, Case tools, other common tools, etc. of the project group, including development tools, Case tools, other common tools, and the like.
Image has two versions of Windows2000Professional and Windows2000Server, Source Route:
//back1-svr/ghost_imgs/w2ksrv_x/w2ksrv.gho
The user can use a boot CD boot system that supports a network connection, perform GHOST, and then cloned.