Composer-Eclipse-Plugin icon indicating copy to clipboard operation
Composer-Eclipse-Plugin copied to clipboard

Add vendor libraries to PHP Libraries

Open pulse00 opened this issue 13 years ago • 4 comments

Vendor dependencies could be added to the PHP Libraries of PDT, and projects which require the exact same versions of the library could share the same libraries internally - this would improve the indexing times tremendously as only one library needs to be indexed per workspace.

pulse00 avatar Mar 24 '12 10:03 pulse00

Or maybe use special feature from current PDT snapshot: http://eclip.se/424340

zulus avatar Feb 17 '14 05:02 zulus

Hey @zulus thanks for the notification. I think it more applies to #70 I will definitely look into this new library folders, I'm excited.

To be more specific about this issue and @pulse00 original intention: When multiple projects require the same dependencies (e.g. symfony components), they are all indexed for their own projects. The idea to detect same requirements, install them globally and also index them globally (so, the indexing is only done once). Personally I don't know about this and, especially the part of the global installation and somehow reference them back to the project. Ideas for this are welcome.

gossi avatar Feb 17 '14 13:02 gossi

@gossi @zulus i'm not up-to-date with the Library Folder enhancments in PDT snapshot, but as far as i know composer now caches dependencies locally inside ~/.composer/cache/repo/https---packagist.org.

My guess would be that this composer cache could be used for shared indexing, maybe using the Library Folders feature from pdt snapshot.

pulse00 avatar Feb 17 '14 13:02 pulse00

@gossi You have right. #70 is more close to this feature. @pulse00 I have no idea how it will work with ExternalModules (outside php project, different phpVersions, etc..)

zulus avatar Feb 17 '14 14:02 zulus