NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconsfalse

Page info
title
title

In addition to performing manual Protégé builds, automated build scripts have also been developed to facilitate the build process.   The manual process is shown for the sake of better understanding vital scripts and configuration files, and the workflow of the build.   The automated process takes care of creating the build folder directory, checking out all SVN files, and running the proper ant targets to create the folders, and finally, deploying the newly created folders to a specific location on the server.

...

In Dev, QA, and Stage tiers, you will notice in /app/protégé/repo/x.x(Protégé version number)/bin a script named build.tier.csh.  

The script consolidates all tier-specific info into this one script.   In order to determine which tier will get built,   an argument must be passed in as a paramter parameter with the build script in the command line before executing:

./build.tier.csh -tier dev
./build.tier.csh -tier qa
./build.tier.csh -tier stage
./build.tier.csh -tier prod

Running any of the above commands will pass in all tier specific info needed for the build. This script will then invoke the master build.csh script.   The reason for this is that sensitive data such as username and passwords do not want to get stored in the code repository.   Thus, the tier-specific info will get passed into the master build script when executed.

build.csh

The master build.csh script will then be called to invoke the build.xml file within the trunk folder, as well as perform a number of automated steps. If comparing the automated process to the manual process, the automated process will complete everything from Steps 8 - 17:

build.properties

This file contains the location of your build directory.   It also allows the option to manually set a specific build number to be tagged to your Protégé version number. For example:

...

These parameters will result in the build directory residing in /app/protégé/repo/1.4/<build folder> with the Protégé admin, client, server, and explanation folders appended with '-1.4.06'.

svn.log.csh

This script can be run to provide a record of all files that were checked in prior to the build.

...

  • Navigate to /usr/local/protégé/ to verify that the Protégé Folders have been deployed properly.
Scrollbar
iconsfalse