Class CacheLocations


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.File ideWorkspaces()
      When EquoIDE creates an IDE for you, it must also create an Eclipse workspace.
      static java.io.File p2data()
      Bundle pool used for caching jars and assembling disjoint eclipse installs: `~/.equo/bundle-pool`
      static java.io.File p2nestedJars()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • override_ideWorkspaces

        public static java.io.File override_ideWorkspaces
      • override_p2data

        public static java.io.File override_p2data
    • Method Detail

      • 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.

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

      • p2data

        public static java.io.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 java.io.File p2nestedJars()