Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363102 - How do Project Set Files work?
Summary: How do Project Set Files work?
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.2-M1   Edit
Assignee: Robin Stocker CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 355912
  Show dependency tree
 
Reported: 2011-11-07 16:36 EST by Ed Willink CLA
Modified: 2012-11-07 11:58 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-11-07 16:36:09 EST
Googling for PSFs find the old format with ||

Downloading the egit.psf works, but it is not clear how to use a PSF for a hierarchical GIT in which plugins are in plugins/* etc.

Where is the documentation?
Comment 1 Tomasz Zarna CLA 2012-01-02 08:09:07 EST
(In reply to comment #0)
> plugins are in plugins/* etc.

AFAIK GitProjectSetCapabilty should handle these just fine. Robin, please correct me if I'm wrong.

Ed, is this bugzilla about not being able to import such PSFs or missing doc?
Comment 2 Robin Stocker CLA 2012-01-02 08:29:05 EST
(In reply to comment #1)
> (In reply to comment #0)
> > plugins are in plugins/* etc.
> 
> AFAIK GitProjectSetCapabilty should handle these just fine. Robin, please
> correct me if I'm wrong.

If we're talking about multiple .project files that are not at the root of the Git repository, yes, GitProjectSetCapability can handle it.

As for creating a .psf, the easiest way is to export from an existing workspace (with the Git projects).
Comment 3 Ed Willink CLA 2012-01-02 08:54:58 EST
(In reply to comment #1)
> (In reply to comment #0)
> > plugins are in plugins/* etc.
> 
> AFAIK GitProjectSetCapabilty should handle these just fine. Robin, please
> correct me if I'm wrong.
> 
> Ed, is this bugzilla about not being able to import such PSFs or missing doc?

Once there is some new documentation (and the old 'documentation' has been superseded) a new Bugzilla might  be raised on the import. But for now I am unable to work out how to make anything work.
Comment 4 Robin Stocker CLA 2012-11-07 10:06:38 EST
I now documented them here:

http://wiki.eclipse.org/EGit/User_Guide#Team_Project_Sets

Does this answer all your questions? Please reopen if something is not clear.
Comment 5 Ed Willink CLA 2012-11-07 11:03:52 EST
Thanks. It might help to add a link to a description of the generic PSF documentation. I've never managed to find it.
Comment 6 Robin Stocker CLA 2012-11-07 11:36:58 EST
(In reply to comment #5)
> Thanks. It might help to add a link to a description of the generic PSF
> documentation. I've never managed to find it.

Do you have a link? This one?

http://wiki.eclipse.org/Project_Set_File
Comment 7 Ed Willink CLA 2012-11-07 11:43:48 EST
(In reply to comment #6)
> (In reply to comment #5)
> > Thanks. It might help to add a link to a description of the generic PSF
> > documentation. I've never managed to find it.
> 
> Do you have a link? This one?
> 
> http://wiki.eclipse.org/Project_Set_File

No that's the useless one. You would never find out about WorkingSets from it.

I want to see the PSF meta-model/schema.
Comment 8 Robin Stocker CLA 2012-11-07 11:58:05 EST
(In reply to comment #7)
> I want to see the PSF meta-model/schema.

This?:

http://www.eclipse.org/buckminster/schemas/psf.xsd