previous next trail start tutorial home feedback openwings.org

Rebuild and Reinstall

If you're going to re-install your component, you'll want to make sure that you rebuild your component image containing your security policy. Rebuilding and re-installing is of course a good idea whenever you make source code changes.

It can be a bit tiresome if you have to continually rebuild and reinstall your component image, especially if you're just changing the policy. One thing that can streamline multiple iterations is to re-resolve your component in-place. You can do this using the Openwings explorer. Right-click on the installed component (under your platform) and select "Open Descriptor". Make whatever changes you wish and hit the save button. This will cause the Openwings Installer to apply your changes and re-resolve your component, including re-resolving the component security policy. Note that any changes you make to the security policy will not apply to running processes.

If you want to experiment with small changes to your component's security policy, you can try to edit the resolved security policy directly. Warning: the installer re-resolves most components each time Openwings starts up (or the installer is restarted), updating both the security policies and component descriptors. If you attempt to directly update the policy or component descriptor stored in the ${openwings.property.net.openwings.dataDir}, the modified information will be lost!

Next: Debug

back to top

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

previous next trail start tutorial home feedback openwings.org