Getting Started with CTE

From BUG Wiki

Jump to: navigation, search

Creating a Project:

  • To create a new project, simply invoke the "Concierge OSGi Project" wizard from the New Wizards dialog:

Image:CG_NewProjectMenu.jpg


  • Select the Concierge OSGi Project item from the New Wizards Dialog and press Next:

Image:CG_NewProjectDialog.jpg


  • Enter a name for the project and press Next:

Image:CG_NewProjectWizard_MainPage.jpg


  • Edit the properties for the bundle or accept the defaults and press Finish:

Image:CG_NewProjectWizard_PropertiesPage.jpg


  • Your newly created project is displayed in the Package Explorer view:

Image:CG_NewProjectPackageExplorer.jpg


Launching a Concierge OSGi application:

  • To create a new Concierge OSGi Launch Configuration, simply invoke the "Debug" from the Launch Configuration dialog:

Image:CG_Launch_Debug.jpg


  • Double click on Concierge OSGi Framework item (1). Set the name for the Launch Configuration (2). Determine which core bundles you want to use. If you are unsure, select all (3). Select your workspace bundles to execute (4). Press Debug to launch Concierge (5).

Image:CG_Launch_Dialog.jpg


  • The Concierge OSGi Shell is displayed in the console view:

Image:CG_Launch_Console.jpg


Exporting a Concierge OSGi application:

  • Right-click on a Concierge OSGi project and select "Export...":

Image:CG_Export.jpg


  • Select Concierge OSGi -> OSGi Bundle and press Next.

Image:CG_ExportBundles_Dialog.jpg


  • Select a location to place the compiled bundles by selecting Browse and press Finish.

Image:CG_ExportWizard_MainPage.jpg