Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339608 - Is shared indexing possible through command line
Summary: Is shared indexing possible through command line
Status: RESOLVED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-indexer (show other bugs)
Version: 7.0.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 17:17 EST by Parag CLA
Modified: 2011-03-28 04:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Parag CLA 2011-03-10 17:17:56 EST
Build Identifier: Build id: 20100917-0705

I am trying to automate populating user workspace with pre built indexer.
I have 3 projects and I run headless build on 3 projects 
eclipse -data <workspace1><project> -application headlessbuild
It creates the .metadata/ directories including .pdom ( index file).

What I am trying to achive now is:
- User starts eclipse
eclipse -data <workspace1><project> -nosplash and that should result in loading of indexer information so that design can start working.

I tried the above, but EClipse CDT starts indexing as soon as project opens in Eclipse. I have managed to shut off Build Automatically option.

It almost seems like it's not able to read the Indexer information.


Only way I have been able to achieve is by doing following:
1. Open Eclipse
2. Open a Makefile project and Index it.
3. Export it using Team Shared Index
Once done, I can import the Team shared index in User workspace.

Any comments will be helpful. I read somewhere that pdom files cannot be copied. Also, there was a mention of IReadPDOMProvider plug in.

Reproducible: Always

Steps to Reproduce:
1. Build a workspace using headless build i.e. eclipse -data <ws> -s <src_dir> -p <project name>
2. eclipse -date <ws> 
3. It still builds indexer
Comment 1 Remy Suen CLA 2011-03-10 17:23:11 EST
Please open bugs and concerns over CDT with CDT.
Comment 2 Markus Schorn CLA 2011-03-28 04:36:13 EDT
This is no bug report.