Package dev.equo.solstice.p2
Class CacheLocations
- java.lang.Object
-
- dev.equo.solstice.p2.CacheLocations
-
public class CacheLocations extends java.lang.ObjectThere are a few things which EquoIDE needs to cache on the developer's machine. They are described exhaustively by this class.All these values can be overridden by setting the value of the `public static override_whatever` variable.
If you happen to be using Gradle, you can override these by setting any of the following in your
~/.gradle/gradle.propertiesfile.equo_override_p2metadataequo_override_p2bundlePoolequo_override_ideWorkspacesequo_override_p2Queriesequo_override_nestedJars
-
-
Field Summary
Fields Modifier and Type Field Description static java.io.Fileoverride_ideWorkspacesstatic java.io.Fileoverride_nestedJarsstatic java.io.Fileoverride_p2bundlePoolstatic java.io.Fileoverride_p2metadatastatic java.io.Fileoverride_p2Queries
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.FileideWorkspaces()When EquoIDE creates an IDE for you, it must also create an Eclipse workspace.static java.io.FilenestedJars()Directory used to cache p2 queries: `~/.equo/nested-jars`static java.io.Filep2bundlePool()Bundle pool used for caching jars and assembling disjoint eclipse installs: `~/.equo/bundle-pool`static java.io.Filep2metadata()P2Clientcan use HTTP caching to speed up browsing of p2 metadata, and also to allow offline p2 queries.static java.io.Filep2Queries()Directory used to cache p2 queries: `~/.equo/p2-queries`
-
-
-
Field Detail
-
override_p2metadata
public static java.io.File override_p2metadata
-
override_p2bundlePool
public static java.io.File override_p2bundlePool
-
override_ideWorkspaces
public static java.io.File override_ideWorkspaces
-
override_p2Queries
public static java.io.File override_p2Queries
-
override_nestedJars
public static java.io.File override_nestedJars
-
-
Method Detail
-
p2metadata
public static java.io.File p2metadata()
P2Clientcan use HTTP caching to speed up browsing of p2 metadata, and also to allow offline p2 queries.Rather than downloading this metadata over and over, we only download it once, and cache the results here.
-
p2bundlePool
public static java.io.File p2bundlePool()
Bundle pool used for caching jars and assembling disjoint eclipse installs: `~/.equo/bundle-pool`Oomph does this by default in the given location.
-
ideWorkspaces
public static java.io.File 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.
-
p2Queries
public static java.io.File p2Queries()
Directory used to cache p2 queries: `~/.equo/p2-queries`
-
nestedJars
public static java.io.File nestedJars()
Directory used to cache p2 queries: `~/.equo/nested-jars`
-
-