User Tools

Site Tools


start:setupproject

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
start:setupproject [2010/01/21 14:08] – created nchiapstart:setupproject [2010/03/17 10:28] (current) nchiap
Line 1: Line 1:
 ====== SetupProject ====== ====== SetupProject ======
-===== Setting up a runtime environment ===== +SetupProject is a tool that simplifies the preparation of environments for different Projects. It can create necessary directories, sets environment variables and a does lot more. 
-To set a runtime environment use:+ 
 +For a more details:  
 +[[https://twiki.cern.ch/twiki/bin/view/LHCb/SetupProject | Setup Project User Guide]] 
 + 
 +===== runtime environment ===== 
 +To prepare a runtime environment use:
 <code> <code>
 SetupProject PROJECT [VERSION] SetupProject PROJECT [VERSION]
 </code> </code>
-This will first look for the Project in **User_release_area**.+This will first look for the Project in **User_release_area**. If you have a local copy of the project (with correct version), this source will be used.
  
-If see which versions exist use:+To see which versions exist use:
 <code> <code>
 SetupProject PROJECT --list SetupProject PROJECT --list
Line 16: Line 21:
 </code> </code>
  
 +===== build environment =====
 +To prepare a build environment use:
 +<code>
 +SetupProject PROJECT --build-env [VERSION]
 +</code>
 +This will create a "user project" in **User_release_area**.
 +If the project already exists it will not be modified.
 +If no version is given, SetupProject will ask.
 +
 +=== Traps & Hints ===
 +  * Setting up a build environment is needed only once (when starting a new user project). To continue development the runtime environment is enough.
 +  * **Setting up a build environment will not set up a runtime environment.**
start/setupproject.1264079318.txt.gz · Last modified: 2010/01/21 14:08 by nchiap