carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/gettingStarted/env_setup.htm
author timkelly
Fri, 27 Mar 2009 10:36:17 -0500
changeset 12 6b79ffb176c5
parent 2 d760517a8095
child 494 131b753eca9f
child 1704 24ac5a5cf80c
permissions -rw-r--r--
Update to describe how SFO CDK works
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
cawthron
parents:
diff changeset
     2
<html>
cawthron
parents:
diff changeset
     3
<head>
cawthron
parents:
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
cawthron
parents:
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
cawthron
parents:
diff changeset
     6
<title>Setting up your development environment</title>
cawthron
parents:
diff changeset
     7
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
cawthron
parents:
diff changeset
     8
<style type="text/css">
cawthron
parents:
diff changeset
     9
<!--
cawthron
parents:
diff changeset
    10
.style1 {font-family: "Courier New", Courier, mono}
cawthron
parents:
diff changeset
    11
-->
cawthron
parents:
diff changeset
    12
</style>
cawthron
parents:
diff changeset
    13
</head>
cawthron
parents:
diff changeset
    14
<body bgcolor="#FFFFFF">
cawthron
parents:
diff changeset
    15
<h2>Setting up your development environment</h2>
cawthron
parents:
diff changeset
    16
<p>This section will describe how to set up a basic Eclipse development environment 
cawthron
parents:
diff changeset
    17
to develop a plugin against the Carbide.c++ development environment.</p>
cawthron
parents:
diff changeset
    18
12
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    19
<h3><a name="download" id="download"></a>Download the Carbide.c++ Development Kit (CDK) </h3>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
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>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
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>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    22
<h3><a name="setup" id="setup"></a>Importing source projects </h3>
2
cawthron
parents:
diff changeset
    23
12
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
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>
2
cawthron
parents:
diff changeset
    25
<ol>
12
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    26
  <li>Switch to the <strong>Plug-in Development</strong> perspective. </li>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    27
  <li>Select the <strong>Plug-ins</strong> view. </li>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    28
  <li>Select the binary plug-in you want view the source of. Don't select the *source feature.</li>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    29
  <li>Right-click on the plug-in you want to import and select <strong>Import As &gt; Source Project</strong>. For example, the <span class="style1">com.nokia.carbide.cpp.leavescan</span> plug-in as shown below.<br>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    30
    <br>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    31
  <img src="../img/import_source_project.jpg" width="706" height="459">  </li>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    32
  <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>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    33
    <br>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    34
  <img src="../img/source_plugin.jpg" width="361" height="392"><br>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    35
  <br>
6b79ffb176c5 Update to describe how SFO CDK works
timkelly
parents: 2
diff changeset
    36
  You can now <a href="launchconfig.htm">create a launch configuration</a> and debug Carbide. </li>
2
cawthron
parents:
diff changeset
    37
</ol>
cawthron
parents:
diff changeset
    38
<div id="footer">Copyright &copy; 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>
cawthron
parents:
diff changeset
    39
</div>
cawthron
parents:
diff changeset
    40
</body>
cawthron
parents:
diff changeset
    41
</html>