Rev 243 | Blame | Compare with Previous | Last modification | View Log | RSS feed
IndexJATS Installation ProcessHost-specific Installation OperationCreating the JATS package for Release (Automated Release)Creating the JATS package for Release (Manual Release)Notes on directory layout================================================================================================================================================================JATS Installation Process-------------------------1) Place the JATS package in a suitable directory2) Perform the host-specific installation operationSOLARIS: run the script PostInstall.shWINDOWS: do nothing3) Tailor the JATS startup scriptSOLARIS: tailor TOOLS/jats.shLINUX: tailor TOOLS/jats.shWINDOWS: tailor TOOLS/jats.batThe JATS startup script may be copied to a directory within the usersPATH and the various values within the script may be alterred to suitethe users environment.The JATS startup script may be modified in-situ and the users PATHextended to include the TOOLS directory.The JATS startup script is designed to need no changes from JATSrelease to JATS release. Its sole purpose is to startup anotherJATS script that is contained within the release.JATS Requirements-----------------1) Perl 5.6.1 or better2) Compilers and tools as required by the targets being built========================================================================Host-specific Installation Operation-----------------------------------SOLARIS and LINUX (Done by PostInstall.sh)1) Make the scripts in TOOLS executable2) Make the binaries in BIN.xxx executable as required3) Untar the links.tar file in BIN.xxx as requiredWINDOWSNothing================================================================================================================================================Creating the JATS package for Release (Automated Release)---------------------------------------------------------1) Create a New automated version in Release ManagerUse: HOME > TECHNOLOGY GROUP > Build Environment TOOLSThe package is 'core_devl'2) Make changes to the JATS filesClearcase config Spec:element /MASS_Dev_Infra/... .../mass_dev/LATESTelement /MASS_Dev_Infra/... /main/LATESTload /MASS_Dev_Infra/core_devl3) Update the ChangeLog.txt fileLeave the 'VERSION' as current.Update the Release Date.4) Label ALL files in the core_devl view with the CORE_DEVL.XXXX.CR.WIP label5) Use Release Manager to Release and build the packageThe Build Demons should build and install the package6) On "auperaunx26", locate the released package and run the PostInstall script.cd core_devl/XX.XX.XX.cr./PostInstall.sh7)Update the softlink to the latest version of JATSOn "auperaunx26", in the directory /devl/dpkg_archive/core_devlrm jats2_currentln -s dpkg_archive/core_devl/XX.XX.XX.cr jats2_current8) Email the last release note entry to allCreating the JATS package for Release (Manual Release)------------------------------------------------------1) Make changes to the JATS filesClearcase config Spec:element /MASS_Dev_Infra/... .../mass_dev/LATESTelement /MASS_Dev_Infra/... /main/LATESTload /MASS_Dev_Infra/core_devl2) Update the ChangeLog.txt file3) Label ALL files in the core_devl view with the JATS_XX.XX.XX.cr label4) Use the jats command:jats release JATS_XX.XX.XX.crto release the package.5) On "auperaunx26", locate the released package and run the PostInstall script.cd core_devl/XX.XX.XX.cr./PostInstall.sh6)Update the softlink to the latest version of JATSOn "auperaunx26", in the directory /devl/dpkg_archive/core_devlrm jats2_currentln -s dpkg_archive/core_devl/XX.XX.XX.cr jats2_current7) Maintain the Release Manager Entry8) Email the last release note entry to all================================================================================================================================================================Notes on directory layoutThe current directory structure is given by the picture below:/MASS_Dev_Infra/core_devl/:|-BIN.linux_i386/:|-BIN.solaris10_sparc32/:|-BIN.solaris10_x86/:|-BIN.sparc/:|-BIN.win32/:|-BUILD/:|-CFG/:| |-PLATFORM/:| |-SH/:| |-TOOLSET/:|-TEMPLATES/:|-TEST/:| `-version1/:|-TOOLS/:| |-DEPLOY/:| |-LIB/:| | |-Clearcase/:| | |-DeployUtils/:| |-LOCAL/:|-UTILS/:Details:/MASS_Dev_Infra/core_devlThe root of the core_devl view in the ClearCase VOBThe only files in the directory should be readme's and the build.pl fileBIN.linux_i386BIN.solaris10_sparc32BIN.solaris10_x86BIN.sparcBIN.win32These directories contain machine-specific binaries used by JATS at runtime.There is one directory for each machine-type supported by JATSThe Unix machine directories contain machine-specific binaries anda file that will be used to create symbolic links when the package isinstalled.The win32 directory contains a great number of Unix-like utilities.These are not cygwin.BUILDThis directory contains build files used when the package is built.Building core_devel is really a process of creating an install image.No binaries are compiled by the 'build' process.CFG|-PLATFORM|-SH|-TOOLSETThe files in the CFG subdirectory tree are used by JATS in the process ofcreating makefiles.CFG/PLATFORM: Contains files for each 'platform' known to JATSCFG/TOOLSET: Contains files for each 'toolset' known to JATSCFG/SH: Unknown. May be complete rubbish and may not be required anymoreTEMPLATESExample build and makefiles for various aspects of JATSThere are no build.pl files in the example. They all use the alternatefile name of build_test.plCould do to be expandedTESTTest buildsVery under representedWould be nice to have a 'test' build that did something simplefor each platform currently supported. Would provide a nice test ofthe installation of the required compilers.TOOLS|-DEPLOY|-LIB|-Clearcase|-DeployUtilsThe TOOLS directory contains the jats front-end and utilities that canbe run with the 'jats etool' command.The TOOLS/DEPLOY directory contains 'old' deployment utilities that nowrun under JATS. Some useful stuff. Also run with 'jats etool'The TOOLS/LIB directory contains (mostly) perl modules that are usedextensively by JATS.TOOLS/LIB/DeployUtils and TOOLS/LIB/Clearcase contain Perl modules used bythe TOOLS/DEPLOYutilities. Mostly legacy stuff. Still used, but not activelymaintained.UTILSThis directory contains sources for binary utilities used by jats.The utilities are (mostly) NOT JATS buildableThey are built by hand and only need to be built when a new machinetype is added to JATS.