previous next trail start tutorial home feedback openwings.org

Running Your Component

At this point, the Openwings core is running, the explorer is running, and components have been successfully installed. Before you can run executable components, they must be installed and they must be in a RESOLVED state. Components can be in a number of states. The states of components are discussed in the Dependency Resolution section of the Developing Components trail.

In the explorer, expand the tree view to list the installed components. If an asterisk appears next to a component name (it will also be yellow), it is executable. Right-click a component and select Properties to see more information about the state of each component. If Resolved appears next to "Install State:", you are good to go.

You can run your component inside a container by using the pop-up menu command "Run...". Alternatively, you can simply double-click the component in the tree view. Another option is to run your component outside a container. To do this, use owrun.bat (or owrun.csh). The owrun script takes the components InstallableComponentDescriptorPolicy as an argument. An example use of owrun is shown below:

owrun X:\my_dir\HelloWorldProvider_im-0.1\policies\InstallableComponentDescriptorPolicy.xml

Regardless which way you choose, you should be able to see your component run.

Back to Tutorial Trails

back to top

Copyright 2003, General Dynamics Decision Systems. All rights reserved.

previous next trail start tutorial home feedback openwings.org