Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<html lang="en">
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2006, 2009. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Bundles Tab</title>
<link href="../../book.css" rel="stylesheet" type="text/css">

<h1>Bundles Tab</h1>
<p>The <strong>Bundles Tab</strong> allows you to select the bundles and their start level, which consequently allows you to customize the <strong>osgi.bundles</strong> and <strong>osgi.bundles.defaultStartLevel</strong> system properties that the launch configuration will run with. </p>
<p><img src="../../images/launchers/launcher_equinox_plugins.png" alt="Equinox Bundles" ></p>

<h2>Default Start Level</h2>
<p>A start level is a positive integer that denotes the default OSGi start level at which a bundle will run. The <strong>default start level</strong>, which is assigned to all selected bundles, is initially set to <strong>4</strong>. This master setting can be changed directly to modify the start level of bundles <em>en masse</em>, or it can be overridden on a per-bundle basis. </p>

<h2>Default Start Status</h2>
<p>The start status indicates to the framework whether a bundle should be marked as active after it gets installed. If set to true (the default), a bundle will always be started when the framework is launched. The <strong>Default Auto-Start</strong> is a master setting that is applied to all selected bundles <em>en masse</em>, but it can be overridden on a per-bundle basis. </p>

<h2>Bundle Selection</h2>
<p>Bundles  that are to be installed by the framework upon startup must be explicitly checked on this page. By default, a bundle will be assigned the default start level and the default start status, but these values can be overridden on a per-bundle basis by selecting the bundle and editing the start level and status in-place. </p>
<p>There are several buttons available to help you select bundles including an <STRONG>Add Required Bundles</STRONG> button.  The <strong>Add Required Bundles</strong> button should be used often to ensure the subset of bundles you have selected is complete. </p>
<p>Please note that if a workspace bundle has the same ID as a target bundle, the workspace bundle overrides its target counterpart.  This behavior can be overridden by deselecting a workspace bundle and selecting its target counterpart. </p>

<h2>Validate Bundles</h2>
<p>The <STRONG>Validate Bundles</STRONG> functionality, which can be invoked   via the button located at the bottom right corner of the <STRONG>Bundles   tab</STRONG>, analyzes the selected set of bundles to find launching   startup problems. For instance, missing dependencies, unsatisfied execution environments,   incompatible platform filters are a few of the potential problems that may   prevent your bundle from running.</p>
<p>By checking the <STRONG>Validate bundles automatically prior to   launching</STRONG> option, PDE will run the <strong>Validate Bundle</strong> function prior to every launch. If problems are found, a dialog showing the error comes up for you to examine and you have the option to continue the launch without correcting the problems or canceling the launch to rectify the issues. Otherwise, if no problems are found, the launch proceeds as normal. </p>

<p><img src="../../../images/ngrelr.png" alt="Related reference"></p>
  <a href="equinox_launcher.htm">OSGi Framework Launcher</a><br>
  <a href="eclipse_application_launcher.htm">Eclipse Application Launcher</a><br>
  <a href="junit_launcher.htm">JUnit Plug-in Test Launcher</a><br>
  <a href="equinox_plugins.htm">Bundles Tab</a><br>
  <a href="equinox_args.htm">Arguments Tab</a><br>
  <a href="equinox_settings.htm">Settings Tab</a><br>
  <a href="tracing.htm">Tracing Tab</a><br>
  <a href="environment.htm">Environment Tab</a><br>
  <a href="common.htm">Common Tab</a>

New to GrepCode? Check out our FAQ X