Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Clean osgi cache folder after closing the application.(Clean up the configuration/org.eclipse.osgi folder after closing E4 application.)
Clean osgi cache folder after closing the application. [message #1839519] Tue, 23 March 2021 08:31 Go to next message
Serguei Carrascosa is currently offline Serguei CarrascosaFriend
Messages: 5
Registered: October 2019
Junior Member
Hi,
We are working on an Eclipse 4 application based on Eclipse Oxygen (4.7.3) that shares the installation area among many users and each user has his own configuration area.

All these configuration folders consume too much disk space. I would like to know if there is a way to clean up the configuration/org.eclipse.osgi folder after closing the E4 application.

I tried these options in the config.ini file with no success:
osgi.embedded.cleanupOnSave=true
osgi.clean=true


Thanks,
Re: Clean osgi cache folder after closing the application. [message #1839533 is a reply to message #1839519] Tue, 23 March 2021 12:52 Go to previous messageGo to next message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 503
Registered: July 2009
Senior Member
There is no option to remove the osgi cache on shutdown. the osgi.embedded.cleanupOnSave option is looking for stale lock files and removing them. It does not cause the complete osgi cache to be removed. The osgi.clean option should remove the osgi cache on each startup.
Re: Clean osgi cache folder after closing the application. [message #1839535 is a reply to message #1839533] Tue, 23 March 2021 12:54 Go to previous messageGo to next message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 503
Registered: July 2009
Senior Member
No Message Body
Re: Clean osgi cache folder after closing the application. [message #1842189 is a reply to message #1839535] Fri, 11 June 2021 07:13 Go to previous message
Serguei Carrascosa is currently offline Serguei CarrascosaFriend
Messages: 5
Registered: October 2019
Junior Member
Thanks,
Previous Topic:Is there a way to clear the configuration area before launching an RCP app?
Next Topic:Activate capability when feature is installed
Goto Forum:
  


Current Time: Thu Mar 28 11:47:20 GMT 2024

Powered by FUDForum. Page generated in 0.04012 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top