create constant and getFlowerPlatformTempDirectory() in a common place for CorePlugin and ResourcesServlet to use