Rev 5730 | 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 - with installer------------------------------------------Use the lastest installer from the 'jats-installer' package to installa version of jats that can be run from a central server. The installer willinstall files to allow access to a centarlly deployed version of JATS.Only available for Windows, Ubuntu and RedHad.Not available for Solaris; Symlinks must be manually setup.JATS Installation Process - manual process------------------------------------------This process is not nomally used. Its historic.Today the JATS is run from dpkg_archive or a replica of dpkg_archive.New releases of JATS will be auto installed into dpkg_archive.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 no later than 5.8.82) 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 files3) Update the ChangeLog.txt fileUpdate the VersionUpdate the Release Date.Describe changes4) Label ALL files in the core_devl view with the CORE_DEVL.XXXX.CR.WIP labelor the label provided by Release Manager.5) Use Release Manager to Release and build the packageThe Build Demons should build and install the packageThe PostInstall processing will be runAt 3:00 AM Perth Time, the new version of JATS will become thecurrent version.6) (Optional) Inform users via the Google++ group called: JATS Build System================================================================================================================================================================Notes on directory layoutThe current directory structure is given by the picture below:/.../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:/.../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.