author | fturovic <frank.turovich@nokia.com> |
Mon, 05 Oct 2009 15:41:25 -0500 | |
branch | RCL_2_2 |
changeset 519 | 4c2933c6ac77 |
parent 494 | 131b753eca9f |
permissions | -rw-r--r-- |
494
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
2 |
<html> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
3 |
<head> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
5 |
<meta http-equiv="Content-Style-Type" content="text/css" /> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
6 |
<title>Setting up your development environment</title> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
7 |
<link rel="StyleSheet" href="../../book.css" type="text/css"/> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
8 |
<style type="text/css"> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
9 |
<!-- |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
10 |
.style1 {font-family: "Courier New", Courier, mono} |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
11 |
--> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
12 |
</style> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
13 |
</head> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
14 |
<body bgcolor="#FFFFFF"> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
15 |
<h2>Setting up your development environment</h2> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
16 |
<p>This section will describe how to set up a basic Eclipse development environment |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
17 |
to develop a plugin against the Carbide.c++ development environment.</p> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
18 |
|
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
19 |
<h3><a name="download" id="download"></a>Download the Carbide.c++ Development Kit (CDK) </h3> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
20 |
<p>Carbide.c++ is developed against the Eclipse 3.4 release build which includes the Java Development Tools (JDT) and Plug-in Development Environment (PDE). You will need these items as well as the Carbide.c++/CDT source code to develop Eclipse/Carbide.c++ plug-ins. If you want to install the CDK you will need to run the Software Updates under the Help menu to update your installation to include the CDK. </p> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
21 |
<p>For more information on running the Software Updater please see the page <a href="PLUGINS_ROOT/com.nokia.carbide.cpp.doc.user/html/tasks/start/carbide_updating.htm">Updating Carbide.c++</a>. </p> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
22 |
<h3><a name="setup" id="setup"></a>Importing source projects </h3> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
23 |
|
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
24 |
<p>Once you have your Carbide environment updated to include the CDK, you can create new Eclipse plug-in projects and debug the Carbide.c++ sources. How to create eclipse plug-ins is beyond the scope of this demonstration. If you want to debug any of the Carbide.c++ or Ecilpse platform source follow these steps to verify your CDK isntallation: </p> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
25 |
<ol> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
26 |
<li>Switch to the <strong>Plug-in Development</strong> perspective. </li> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
27 |
<li>Select the <strong>Plug-ins</strong> view. </li> |
519
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
28 |
<li>Right-click on the plug-in you want to import and select <strong>Import As > Binary Project with Linked Content</strong>. For example, the <span class="style1">com.nokia.carbide.cpp.leavescan</span> plug-in as shown below.<br> |
494
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
29 |
<br> |
519
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
30 |
<img src="../img/import_source_project.jpg" width="650" height="428"> </li> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
31 |
<li>Now you can return to the <b>Package Explorer</b> and locate the <span class="code">.source</span> reference in the project. In this example that would be the <span class="style1">com.nokia.carbide.cpp.leavescan.source</span> file.</li> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
32 |
<li>Right-click the<span class="code"> .source</span> file (<span class="style1">com.nokia.carbide.cpp.leavescan.source</span>) and select <b>Import</b>.<br> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
33 |
<br> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
34 |
<img src="../img/import_project_sources.png" width="406" height="198"><br> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
35 |
</li> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
36 |
<li>In the <b>Select</b> page, select <b>General > Archive File</b>, then click <b>Next</b>.<br> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
37 |
<br> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
38 |
<img src="../img/import_general_archive_file.png" width="470" height="244"><br> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
39 |
</li> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
40 |
<li>Navigate to the <span class="style1">com.nokia.carbide.cpp.leavescan.source</span> plug-in file, then click <b>Open</b>. Note that the source plug-ins are located in the same directory where you imported the Carbide Development Kit. By default, this is the <span class="code">/plugins</span> directory of the Carbide installation.</li> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
41 |
<li>In the <b>Archive file</b> page, select click <b>Finish</b>.<br> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
42 |
<br> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
43 |
<img src="../img/import_archive_file_project.png" width="543" height="550"></li> |
494
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
44 |
<li>Now you can return to the <strong>Package Explorer</strong> view and navigate the source files for the imported plug-in. It should look like a normal plug-in project:<br> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
45 |
<br> |
519
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
46 |
<img src="../img/source_plugin.jpg" width="406" height="486"><br> |
4c2933c6ac77
BUG 9887 - revised CDK docs with improved import binary project with linked content steps with additional images
fturovic <frank.turovich@nokia.com>
parents:
494
diff
changeset
|
47 |
<br> |
494
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
48 |
You can now <a href="launchconfig.htm">create a launch configuration</a> and debug Carbide. </li> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
49 |
</ol> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
50 |
<div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
51 |
|
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
52 |
</body> |
131b753eca9f
BUG #9797 - updated setup instructions to import using Binary Project with Linked Content versus Source Project
fturovic <frank.turovich@nokia.com>
parents:
12
diff
changeset
|
53 |
</html> |