carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_run_com.htm
changeset 5 684bf18fdedf
equal deleted inserted replaced
4:4764c8c88759 5:684bf18fdedf
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
       
     2 <html lang="en">
       
     3 
       
     4 <head>
       
     5 <meta http-equiv="Content-Language" content="en-us">
       
     6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
     7 <title>Specifying the location of the run configuration</title>
       
     8 <link rel="stylesheet" type="text/css" href="../help.css">
       
     9 </head>
       
    10 
       
    11 <body>
       
    12 
       
    13 <h1>Specifying the location of the run configuration</h1>
       
    14 
       
    15 <p>When you create a run configuration, it is saved with the extension <samp>.launch</samp> in <samp>org.eclipse.debug.core</samp>. 
       
    16 You can specify an alternate location in which to store your run configuration. You can 
       
    17 also specify how you access it and what 
       
    18 perspective to open when running an application.</p>
       
    19 <p>To specify the location of a run configuration:</p>
       
    20 
       
    21 <ol>
       
    22   <li>In  the C/C++ Projects view, select a project.</li>
       
    23   <li>Click <b>Run &gt; Run</b> or <b>Run &gt; Debug</b>.</li>
       
    24   <li>In the <b>Configurations</b> box, expand <b>C/C++ Local</b>.</li>    
       
    25   <li>Click the <b>Common</b> tab.<br>
       
    26   	  <img src="../images/run_common.png"  alt="Run Common window">
       
    27   </li>
       
    28   <li>To save <samp> .launch</samp> to a project in your workspace, and to be able 
       
    29   to commit it to CVS, click <b>Shared</b>.</li>
       
    30   <li>In the <b>Folder Selection</b> window, select a project, and click <b>OK</b>.<br>
       
    31   	  <img src="../images/run_common_folder.png"  alt="Run Common Folder Selection window">
       
    32   </li>
       
    33     <li>To specify which perspective opens when you run, select a perspective 
       
    34     from the <b>Run mode</b> list.</li>
       
    35     <li>To specify which perspective opens when you run, select a perspective 
       
    36     from the <b>Debug mode</b> list.</li>  
       
    37   <li>Click <b>Run</b>, or do the following, as required:<ul><li>To set the environment variables 
       
    38     and values to use when an application runs, see <a href="cdt_t_run_env.htm">
       
    39     Setting environment variables</a>.</li>
       
    40   <li>To select a debugger to use when debugging an application, see
       
    41   <a href="cdt_t_run_dbg.htm">Defining debug settings</a>.</li>
       
    42   <li>To specify the location of source files used when debugging a C or C++ 
       
    43   application, see <a href="cdt_t_run_source.htm">Specifying the location of 
       
    44   source files</a>.</li>
       
    45   <li>To specify where the run configuration is stored, how you access it, and 
       
    46   the perspective to open when running an application, see
       
    47   <a href="cdt_t_run_config.htm">Selecting a run/debug configuration</a>.</li></ul>
       
    48     
       
    49   </ol>
       
    50 
       
    51 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
       
    52 <br>
       
    53 <a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
       
    54 <a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
       
    55 <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
       
    56 <br>
       
    57 <a href="cdt_o_run_config.htm">Creating or editing a run configuration</a></p>
       
    58 <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
       
    59 <br>
       
    60 <a href="../reference/cdt_o_run_dbg_pages.htm">Run and Debug dialog box</a></p>
       
    61 <img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
       
    62 
       
    63 </body>
       
    64 
       
    65 </html>