[Esbox-commits] r1093 - branches/work_Jeff/org.maemo.esbox.help/html/gettingstarted

jeffc at garage.maemo.org jeffc at garage.maemo.org
Thu Dec 18 04:31:50 EET 2008


Author: jeffc
Date: 2008-12-18 04:31:49 +0200 (Thu, 18 Dec 2008)
New Revision: 1093

Modified:
   branches/work_Jeff/org.maemo.esbox.help/html/gettingstarted/RunningPythonProject.html
Log:
added info for creating launch configs

Modified: branches/work_Jeff/org.maemo.esbox.help/html/gettingstarted/RunningPythonProject.html
===================================================================
--- branches/work_Jeff/org.maemo.esbox.help/html/gettingstarted/RunningPythonProject.html	2008-12-18 02:30:27 UTC (rev 1092)
+++ branches/work_Jeff/org.maemo.esbox.help/html/gettingstarted/RunningPythonProject.html	2008-12-18 02:31:49 UTC (rev 1093)
@@ -44,6 +44,35 @@
 <p>&nbsp;</p>
 <p><span style="font-weight: bold;">NOTE</span>: You can only run files that are in your project.</p>
 <p>After the first run, if you select Ctrl+F11, the last file ran is re-run.</p>
+<p>&nbsp;</p>
+<h3><a name="main"></a>Creating a Launch Configuration</h3>
+<p>To create a local or remote launch configuration:</p>
+<ol>
+  <li> In the Pydev Package Explorer or Project Explorer view, select a Python project.</li>
+  <li>Select <strong>Run > Run Configurations</strong>...</li>
+  <li>In the list of Configurations in the column along the leftside, select Python Maemo Local Application or Python Maemo Remote Application, as desired.</li>
+  <li><img src="../images/pref_images/new.png" alt="New configuration" width="18" height="18">Click the New launch configuration button. The name of the project is displayed in the Configurations box. The default name is the name of the project.</li>
+  <li>Select the Main tab.</li>
+  <li>Do the following:</li>
+  <ul>
+    <li>In the Name box, accept the default name or type a descriptive name for this new launch configuration.</li>
+    <li>In the Project box, accept the default name or type the name of the project containing the module that you want to run.</li>
+    <li>In the Main Module box, type the name of the module that you want to run or click Browse to locate module.</li>
+    <li>Select Run.</li>
+  </ul>
+</ol>
+<p align="center"><img src="../images/pref_images/python_run_configuration.png" alt="local application configuration" width="960" height="640"></p>
+<p align="center">&nbsp;</p>
+<h3 align="center"><img src="../images/pref_images/python_run_configuration1.png" width="414" height="451"></h3>
+<p align="center"><strong>Browse for Module </strong></p>
+<p align="center"></p>
+<p><img src="../images/pref_images/python_run_configuration2.png" width="960" height="640"></p>
+<p>&nbsp;</p>
+<p><span class="notetitle">Note:</span> If Maemo is not running you will be prompted to launch it. If the Python interpreter and Python paths to system libraries are not detected, you will be prompted to select the appropriate paths and files to run Python. These settings are defined in <strong>Windows &gt; Preferences &gt; Pydev &gt; Interpreter - Python</strong>.</p>
+<h3><a name="args"></a>Python Maemo Launch Configuration - Arguments Tab</h3>
+<p>Select the Arguments tab to define Python Interpreter settings.</p>
+<p><img src="../images/pref_images/python_run_configuration3.png" width="898" height="556"></p>
+<p>&nbsp; </p>
 <h3>Related Topics</h3>
 <ul>
   <li><a href="SettingsSbrshConfiguration.html">Setting Sbrsh Preferences</a></li>



More information about the Esbox-commits mailing list