Page History
...
- To run from the Windows GUI: Create the following folder structure: nciscn<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 NCI SVN, and can be checked out from: https://ncisvn.nci.nih.gov/svn/protegegui
To run from command prompt on the server, navigate to /app/protégé/repo, and create the following directory ncisvn<YYMMDD><VERSION>/protegegui/
,and run
:Code Block the svn checkout:
Note | ||
---|---|---|
| ||
The above target will check out the entire Protege project. This can take up a good deal of space. If you wish to only To checkout the Protege source code, you can use the following target:
|
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
...
- Navigate to <PATH>/trunk and open the 'localbuild.properties' file and modify the 'PromptNCIPlugins.properties settings' section within the file. This info represents the tier's database connection information, and will need to be set before running the ant build commands. To edit the file using a Unix VI editor within the server console, type 'vi local.properties'. The file should now be displayed in the console. ype 'Shift + I (eye)' to enable editing, and utilize the arrow keys to navigate to the PromptNCIPlugins.properties section, and fill in the default database connection values with tier-specific values. Upon completion, type 'esc' to move out of editing mode, and type ':wq' to overwrite, save changes, and exit the file back to the console prompt.
...