Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316687 - UPC dependencies not quite right
Summary: UPC dependencies not quite right
Status: CLOSED WONTFIX
Alias: None
Product: PTP
Classification: Tools
Component: PLDT (show other bugs)
Version: 4.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Beth Tibbitts CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-12 16:54 EDT by Beth Tibbitts CLA
Modified: 2014-05-30 15:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Tibbitts CLA 2010-06-12 16:54:12 EDT
If I *just* install the PTP End-user runtime from helios/staging,
and then install PLDT UPC, it should pull in CDT's UPC feature.
Hmm the CDT editor doesn't recognize upc syntax.
no upc features or LR parser installed. 
(Note: started eclipse on existing ws that had a C project and a upc project already in it)

HMM no CDT *features are installed.* Several CDT plugins are, though.
And org.eclipse.cdt.core.parser.upc and org.eclipse.cdt.core.lrparser are there.

So there is something else missing.

If I go and install the CDT Unified Parallel C feature now, it shows up in the list
of installed features, but i can't get the editor syntax highlighting to work.
Even if I add language mappings in manually.

So I uninstalled CDT Unified Parallel C feature and PLDT UPC feature. Restarted eclipse.
And re-installed them. 
Still no UPC editor!!!

new clean install (on existing ws) CDT, CDT UPC, PTP EUruntime, PLDT UPC

Still no worky!! No UPC recognition in editor of .upc file

Restart same eclipse install on clean ws.
upc syntax highlighting works.
Probably something cached in the ws prevented this. I should look into this later.

new clean install (on existing ws) CDT, CDT UPC, PTP EUruntime, PLDT UPC
UPC editor works.
Comment 1 Greg Watson CLA 2010-06-12 16:58:57 EDT
You basically can't rely on the dependencies. If you install PTP and RDT you only get parts of CDT and RSE, so this is not restricted to UPC.
Comment 2 Beth Tibbitts CLA 2010-06-12 17:05:41 EDT
Yes i was basically trying to capture some installation experience data...

So what's the answer? Make features dependent on other features?
I could add org.eclipse.cdt.core.parser.upc.feature as a pre-req FEATURE to the pldt upc FEATURE.
Now it's only got the core.parser.upc plugin as a dependency. 

For now we will have to recommend that users install the pre-req features themselves.

Fortunately it's not complicated for UPC:
CDT, CDT UPC,  PTP, PLDT UPC - four things.
Filtering helps.  Search for "Parallel" and you find the last three.

But note that https://bugs.eclipse.org/bugs/show_bug.cgi?id=316686
If you  use filtering to find things, turn it off before you proceed to installation
or you lose previous selections.
Comment 3 Greg Watson CLA 2014-05-30 15:47:32 EDT
Assuming this has been resolved.