Package dev.equo.solstice.p2
Class CacheLocations
java.lang.Object
dev.equo.solstice.p2.CacheLocations
There are a few things which EquoIDE needs to cache on the developer's machine. They are
described exhaustively by this class.
ideWorkspaces()defaults to~/.equo/ide-workspaces, can override withoverride_ideWorkspacesp2data()defaults to~/.m2/repository/dev/equo/p2-data/, can override withoverride_p2data- If we get any errors creating the default, it also tries
GRADLE_USER_HOME/caches/p2-data
- If we get any errors creating the default, it also tries
-
Field Summary
Fields -
Method Summary
-
Field Details
-
override_ideWorkspaces
-
override_p2data
-
-
Method Details
-
ideWorkspaces
When EquoIDE creates an IDE for you, it must also create an Eclipse workspace. Unfortunately, that workspace cannot be a subdirectory of the project directory (an eclipse limitation). This is a problem for single-project builds.As a workaround, we put all eclipse workspaces in a central location, which is tied to their project directory. Whenever a new workspace is created, we do a quick check to make sure there aren't any stale workspaces. If the workspace has gone stale, we delete it.
Default value is
~/.equo, override by settingoverride_ideWorkspaces. -
p2data
Bundle pool used for caching jars and assembling disjoint eclipse installs: `~/.equo/bundle-pool`Oomph does this by default in the given location.
-
p2nestedJars
-
nestedJars
-