Package com.tuenti.supernanny

Examples of com.tuenti.supernanny.Util


      @Override
      protected void configure() {
        CliParser p = new CliParser();
        p.depfile = depFile;
        Util util = new SuperNannyUtil();
        util.setRoot(new File(root));

        bind(CliParser.class).toInstance(p);
        bind(Util.class).toInstance(util);
      }
    });
View Full Code Here


  }

  @Override
  public void execute() throws BuildException {
    Injector injector = Guice.createInjector(new SuperNannyModule());
    Util util = injector.getInstance(Util.class);
    DepFetcher fetcher = injector.getInstance(DepFetcher.class);
    if (this.skip) {
      return;
    }
    try {
      CliParser p = new CliParser();
      p.depfile = this.depFile;
      p.skipCleanup = this.skipCleanup;
      util.setRoot(new File(root));
      fetcher.resolve(new File(root), p);
    } catch (IOException e) {
      log("Errors resolving dependencies for project in " + root);
      throw new BuildException(e);
    }
View Full Code Here

TOP

Related Classes of com.tuenti.supernanny.Util

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.