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

Bug 322947

Summary: Complete list of RTSC platforms do not showup
Product: [Technology] RTSC Reporter: Amit Mookerjee <amitm>
Component: CoreAssignee: Amit Mookerjee <amitm>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: d-russo, rowlands
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: target:3.20.03

Description Amit Mookerjee CLA 2010-08-17 15:46:29 EDT
At times the complete list of platforms shipping with XDCtools do not showup in the new project wizard. This problem has been intermittently observed on both Linux and Windows versions of CCSv5
Comment 1 Amit Mookerjee CLA 2010-08-18 01:40:40 EDT
Fixed in xdceclipse-h01,g30 and xdctools-d43

The 'product.ui' plugin generated by the 'plugingen' tool was erroneously contributing to 'org.eclipse.rtsc.xdctools.ui.productInfo' extension point. 
The product information registered with XDCtools depended on the order in which the plugins were loaded. To make matters worse 'product.ui' did not define any platforms while 'product' did. So when the 'product.ui' plugin registered second the XDCtools registry did not associate any platforms with the product.This led to the observed behavior where platforms shipped with XDCtools were not showing up in the IDE. The problem is seen intermittently since it depends on the order in which the plugins are loaded. This problem is not specific to CCSv5 and can impact CCSv4 as well.

The solution has two aspects to it. The plugingen tool has been fixed so that 'product.ui' does not contribute to the 'org.eclipse.rtsc.xdctools.ui.productInfo' extension point. Also the XDCtools registry has been beefed up to handle multiple
contributions to this extension point from the same product. This will allow existing products to be handled correctly by XDCtools.

The fix to this problem is expected to go in XDCtools 3.20.03.
Comment 2 Jon Rowlands CLA 2010-08-23 16:46:47 EDT
Verified fixed using XDCtools 3.20.03.61-eng / xdcprod-m61

The original problem exists in XDCtools 3.20.02.59. Removed
3.20.03.61-eng while reproducing.

Provoked bug by installing 3.20.02.59 and forcing product.ui product
to register second, per the bug description. Forced by removing
product.ui plugin from the eclipse/plugins folder, and starting CCS,
so that only product plugin could initially register.

After starting CCS (4.2M9), verified that platforms were available by
inspecting a test project's project RTSC properties, platform dropdown
menu. Also verified that XDCtools help was *not* available, consistent
with product.ui plugin having been removed.

Shut down CCS, and restored product.ui plugin. Started CCS, and
verified that platforms were now *not* available in project properties
dropdown, consistent with bug description.

Restored XDCtools 3.20.03.61-eng, and restarted CCS. Verified that in
the RTSC properties of the test project, 3.20.02.59 was still selected,
but now platforms *were* available in the platform dropdown menu,
consistent with the fix description.

Also verified that 3.20.03.61-eng product.ui plugin does not implement
productInfo extension point, consistent with the fix description.
Comment 3 Dave Russo CLA 2011-06-20 14:41:16 EDT
Shipped in XDCtools 3.20.03