Equinox Resource Monitoring Demo
Revision as of 13:36, 2 March 2007 by Dj houghton.ca.ibm.com
- Install the server zip file into an Eclipse SDK (tested with build I0228-0930).
- Note you can set port and protocol via System properties (but we won't).
- Start the SDK.
- The server will start automatically.
- Create resources in the workspace.
- File -> Import -> Plug-ins and Fragments -> Import As Projects with source folders
org.eclipse.equinox.*in the filter to get all the Equinox projects selected and choose Add
- Note: The Equinox projects appear in the workspace
- Look at a preference value.
- Window -> Preferences -> General -> Workspace -> Build Automatically
- Note: the auto-build preference is set to be true.
- Close the Preferences window.
- Install the client zip file into an Eclipse SDK (tested with build I0228-0930).
- Start the SDK.
- Switch perspectives and create a connection to the server.
- Window -> Open Perspective -> Other -> JMX Resource Management
- JMX Server -> Open Connection
- Choose proper host, port and protocol. (default is localhost, 8118, and rmi)
- Note: The Contributions View will be populated with the available contributions from the server.
- In the Contributions View, expand the Bundles element.
- Note: These are all the bundles that are installed on the server.
- Note: The imported packages and required bundles are listed as well as the services.
- Expand the imported packages to show what it requires.
- Expand the required bundles to show what it requires.
org.eclipse.equinox.commonto show it is recursive.
- Expand Services.
- Note: there are 3 different icons, one each for providing, using, and both.
- In the Contributions View expand the Extension Points element.
- Note: All the extension points are listed.
- Navigate to the
- Note: All of the available applications should be there, including the JMX server application and the IDE application.
- TODO: Can we hook in Tom's demos here? click on an extension and start it remotely?
- Future work: add extensions, namespaces, better grouping, and more methods.
- In the Contributions View expand the Preferences element.
- Expand to Preferences -> instance -> org.eclipse.core.resources.
- Select the
- In the Operations part of the editor, select the
- In Invocation View, set the parameters to be the key
description.autobuildingand the value
- Select the Invoke button.
- Look at the preference on the server.
- On the server choose: Window -> Preferences -> General -> Workspace.
- Note: The Build Automatically preference is now unchecked.
- In the Contributions View expand the Services element.
- Expand the
- Expand the Bundles element and see who is importing the service, exporting the service, and both.
- In the Contributions View expand the Sleak element.
- TODO: This is currently broken and needs to be fixed.
- In the Contributions View expand the VM Stats element.
- Note: All the VM info is for the VM currently running the server.
- In the Contributions View expand the Workspace Resources element.
- Note: The Equinox projects that you previously imported into the server's workspace should be in the list.
- Select the
- In the editor, in the Operations part of the form, select the
- Make the Navigator View from the server instance visible to the user.
- In the Invocation View select the Delete button.
- Note: The launcher fragment project was deleted from the server's workspace.