Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329487

Summary: trigger bundle refresh via JMX
Product: [RT] Virgo Reporter: Kostas Kougios <kostas.kougios>
Component: unknownAssignee: Chris Frost <eclipse>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipse, glyn.normington, kostas.kougios
Version: 2.1.0.RELEASE   
Target Milestone: 3.5.0.RELEASE   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 327538    
Bug Blocks:    

Description Kostas Kougios CLA 2010-11-04 16:16:09 EDT
Build Identifier: 2.1.0

The pickup directory is a convenient way to deploy bundles during development but you can't specify the orders in which the bundles should be loaded. This results in exceptions thrown if virgo loads bundles in the wrong order from that directory.

Also it is a bit slow because it is periodically scanned: frequent scans means using resources, less frequent scans means the developer will have to wait longer for the bundle to be refreshed.

A way to ease bundle development should be provided:

1. allow plans to point to bundles anywhere in a filesystem : https://bugs.eclipse.org/bugs/show_bug.cgi?id=327538

2. virgo should have a method callable via JMX which will take 1 parameter: the full path to the bundle to be refreshed.

#1 will allow virgo to load bundles in the correct order during startup
#2 will allow tools to trigger a bundle refresh whenever required and in the desired order.



Reproducible: Didn't try
Comment 1 Kostas Kougios CLA 2010-11-04 16:17:19 EDT
please also look at this forum post:

http://www.eclipse.org/forums/index.php?t=msg&th=199016&start=0&S=28419a9e33d4e6b9f696fec4edd4dd76
Comment 2 Glyn Normington CLA 2010-11-05 11:32:10 EDT
Thanks for raising this Kostas.
Comment 3 Chris Frost CLA 2012-06-22 11:56:09 EDT
Virgo now includes Gemini Management which allows this to be done. Will be available in the next release due out in about a month.