MSS Code Factory 2.11: Mark Stephen Sobkow's Code Factory   

Prev Documentation Home Next

Preparing the Manufacturing Directory for Builds

In order to build projects manufactured by MSS Code Factory 2.11, you need to have the source trees for the dependent 2.12 projects installed and built. The CFSec project is always referenced by a manufactured project, as all of the database scripts and core objects rely on that code being present. Either or both of CFInt (internet) and CFCrm (Customer Resource Management) are also common to many projects.

To prepare the core projects, you'll need to clone the git source trees for them:

cd ${mymfgdir}
git clone http://github.com/msobkow/cflib_2_12
mkdir cflib_2_11/installer
git clone http://github.com/msobkow/cfcore_2_12
mkdir cfcore_2_11/installer
git clone http://github.com/msobkow/cfsec_2_12
mkdir cfsec_2_11/installer
git clone http://github.com/msobkow/cfint_2_12
mkdir cfint_2_11/installer
git clone http://github.com/msobkow/cfcrm_2_12
mkdir cfcrm_2_11/installer

If updates to those projects are released by the MSS Code Factory website, you should do a "git pull" on them, an "ant clean" in their Java directory, and rebuild them with "ant", in the order of dependency (CFSec, CFInt, and finally CFCrm.)

Try building the projects now to make sure your build environment is correct:

cd ${mymfgdir}/cfsec_2_12/java
ant

If CFSec built correctly, you are in good shape to proceed with building the rest of the projects using scripts instead.