Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349341 - cleanup .metadata on command or auto
Summary: cleanup .metadata on command or auto
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 12:11 EDT by Missing name CLA
Modified: 2011-06-15 02:27 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 Missing name CLA 2011-06-14 12:11:34 EDT
Build Identifier: 

the following folders grow huge and contain ancient data:
* .metadata\.plugins\org.eclipse.jdt.core (more than a year)
* .metadata\.plugins\org.eclipse.core.resources\.history (nearly a month)
* org.maven.ide.eclipse contains "nexus" enourmous



Reproducible: Always

Steps to Reproduce:
1. work with eclipse for a while
2. .metadata will grow
Comment 1 Dani Megert CLA 2011-06-15 02:27:11 EDT
Each .metadata child directory is owned by different components. Those components are responsible for its size, either by ensuring that old data gets automatically deleted or by offering options to control the stored size.

>* .metadata\.plugins\org.eclipse.jdt.core (more than a year)
This keeps the search index of the types and members in your workspace and other information (e.g. external class folders). Are you saying that you know for sure it contains unused data that can be deleted? If so, that would be a bug in JDT Core and should be reported there.

>* .metadata\.plugins\org.eclipse.core.resources\.history (nearly a month)
The history goes as big as you choose on Workspace > Local History. You can lower the values there if you want. If you think it contains data older than specified by those options then please report a bug against Platform Resources.

>* org.maven.ide.eclipse contains "nexus" enourmous
Please file a bug report against Maven.

I'm closing this as INVALID not because I think there is no bug but because the platform can't do anything generic here. You need to file bugs against the individual components if you think they keep outdated data or if you want an option to control the stored data.