Package play.deps

Examples of play.deps.DependenciesManager


    File localModules = Play.getFile("modules");
    Set<String> modules = new LinkedHashSet<String>();
    if (localModules != null && localModules.exists() && localModules.isDirectory()) {
      try {
          File userHome  = new File(System.getProperty("user.home"));
          DependenciesManager dm = new DependenciesManager(applicationPath, frameworkPath, userHome);
        modules = dm.retrieveModules();
      } catch (Exception e) {
        Logger.error("There was a problem parsing depencies.yml (module will not be loaded in order of the dependencies.yml)", e);
        // Load module without considering the dependencies.yml order
        modules.addAll(Arrays.asList(localModules.list()));   
      }
View Full Code Here

TOP

Related Classes of play.deps.DependenciesManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.