diff -r f330c1e8a4f3 -r 6b79ffb176c5 carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/gettingStarted/env_setup.htm --- a/carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/gettingStarted/env_setup.htm Wed Mar 25 11:55:19 2009 -0500 +++ b/carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/gettingStarted/env_setup.htm Fri Mar 27 10:36:17 2009 -0500 @@ -16,26 +16,25 @@

This section will describe how to set up a basic Eclipse development environment to develop a plugin against the Carbide.c++ development environment.

-

Download the Eclipse 3.4 SDK

-

Carbide.c++ is developed against the Eclipse 3.4 release build. You can download the build -here. Carbide.c++ is only tested and supported on the Windows platform.

-

You can extract the Eclipse platform anywhere you like.

-

NOTE When you launch eclipse, choose a workspace location without spaces. This will help to prevent build issues later on with Symbian SDKs.

-

Set-up the Target Platform

+

Download the Carbide.c++ Development Kit (CDK)

+

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.

+

For more information on running the Software Updater please see the page Updating Carbide.c++.

+

Importing source projects

-

Once you have your Eclipse environment extracted and launched, you can set up your Target Platform to have your fresh installation reference all the Carbide.c++/CDT/Eclipse plugins.

-

The Eclipse Target Platform feature allows you to compile and run against a different Eclipse installation than the -one you're using for development. In this case you'll be targeting the Carbide.c++ installation. The Target Platform is a workspace-wide setting, so you may want to dedicate a separate workspace for your Carbide.c++ plugin development.

- +

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:

    -
  1. Choose Window > Preferences > Plug-in Development > Target Platform.
  2. -
  3. Browse for the Location of your Carbide.c++ installation. This is the location that contains the Carbide.c++.exe and plugins folder. When you have chosen the new location eclipse will load the plugins found in Carbide.c++ installation you will work against. Your Target Platform preference should look something like this:
    -
    -
  4. -
  5. Select OK.
  6. +
  7. Switch to the Plug-in Development perspective.
  8. +
  9. Select the Plug-ins view.
  10. +
  11. Select the binary plug-in you want view the source of. Don't select the *source feature.
  12. +
  13. Right-click on the plug-in you want to import and select Import As > Source Project. For example, the com.nokia.carbide.cpp.leavescan plug-in as shown below.
    +
    +
  14. +
  15. Now you can return to the Package Explorer view and navigate the source files for the imported plug-in. It should look like a normal plug-in project:
    +
    +
    +
    + You can now create a launch configuration and debug Carbide.
-

You are now ready to import or create new projects into your Eclipse workspace.

-