NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Explanation Server - The Explanation server is also an open-source application developed by the Clark & Parsia group in the Washington D.C. area. The server makes a connection to a specified Protege database, and classifies all concepts. The server will then allow users to pull up and view any concept's super-concepts as well as sub-concepts.
  • Protégé Client (Editor) - The Protégé Client is the editing tool which the editors utilize to create, update, or view the various concept and concept property data. Data can be accessed from the database via the Protégé Server.   The editors have the client running on their Windows workstations.

...

  • Connect with the database project on the server.   The database project should have the following naming convention: <PROTEGE INSTANCE>-YYMMDD-DB.pprj.

...

  • To run from the Windows GUI: Create the following folder structure: gforge<YYMMDD><VERSION>/protegegui/. From this location, right click, select 'SVN Checkout'. A window will appear asking for the source and target of files. Protégé files are located in GForge, and can be checked out from:
    Code Block
    https://gforge.nci.nih.gov/svnroot/protegegui
  • To run from command prompt on the server, navigate to /app/protégé/repo, and create the following directory gforge<YYMMDD><VERSION>/protegegui/, and run:
    Code Block
    svn co [https://gforge.nci.nih.gov/svnroot/protegegui

...

  • There may be instances where you will need to modify a few targets within the branches tag to reflect changes in other projects. In this case, you must verify that the proper 'svn-url.properties file is being referenced in the build.xml file. Each build will hold 2 separate svn-url.properties files.   One is usually the default, which builds from the trunk folder. There is also a customized file that will build from the branches folders. Example code snippets are below for each file:
    Code Block
    svn-url-trunk.properties (default)
    
    'ncitab.url=$nci.base.url/protegegui/*trunk*'
     ncitab.project=$projects/ncitab
    
    nciconcepthistory.url=$nci.base.url/protegehistory/NCIConceptHistory/*trunk*
    nciconcepthistory.project=$projects/nciprojecthistory
    
    ncievshistory.url=$nci.base.url/protegehistory/NCIEVSHistory/*trunk*
    ncievshistory.project=$projects/ncievshistory
    
    classification.url=$nci.base.url/classification/*trunk*
    classification.project=$projects/classification
    
    *svn-url-1.4.properties (customized)*
    
    ncitab.url=$nci.base.url/*nci-branches/1.4*/protegegui
    ncitab.project=$projects/ncitab
    
    nciconcepthistory.url=$nci.base.url/*nci-branches/1.4*/NCIConceptHistory
     nciconcepthistory.project=$projects/nciconcepthistory
    
    ncievshistory.url=$nci.base.url*/nci-branches/1.4*/NCIEVSHistory
    ncievshistory.project=$projects/ncievshistory
    
    classification.url=$nci.base.url/*nci-branches/1.4*/classification
    classification.project=$projects/classification

...

  • Within the same directory, open the 'vesrionversion.info' file and modify the current version to the latest version (if necessary)   following the same steps as above.   By default, the version number will display as 1.1.0.   Save changes following the instructions above. 

Protege Server Build Ant Commands

...

  • Run 'ant archive' to create zip files for each of the Protégé packages. The process will also create an ncibuilder.zip file. This file contains all files for the entire project. The file will be created at <PATH> /trunk/build/archive. 
  • Transfer the folders to usr/local/protégé/Protégé_x.x/<PROTÉGÉ INSTANCE> on the server machine. A copy of the client folder should also be saved on your local machine, to test a successful connection to the server after the build.

...