Class CacheLocations

java.lang.Object
dev.equo.solstice.p2.CacheLocations

public class CacheLocations extends Object
There are a few things which EquoIDE needs to cache on the developer's machine. They are described exhaustively by this class.
  • Field Details

    • override_ideWorkspaces

      public static File override_ideWorkspaces
    • override_p2data

      public static File override_p2data
  • Method Details

    • ideWorkspaces

      public static 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.

      Default value is ~/.equo, override by setting override_ideWorkspaces.

    • p2data

      public static File 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

      public static File p2nestedJars()
    • nestedJars

      public static File nestedJars()