private Action<ExecutionListener> daemonBuildAction(
     ParsedCommandLine commandLine, DaemonParameters daemonParameters, DaemonClient client) {
   return new ActionAdapter(
       new DaemonBuildAction(
           client,
           commandLine,
           getWorkingDir(),
           clientMetaData(),
           getBuildStartTime(),
           daemonParameters.getEffectiveSystemProperties(),
           System.getenv()));
 }
Esempio n. 2
0
 private Runnable runBuild(
     StartParameter startParameter,
     DaemonParameters daemonParameters,
     BuildActionExecuter<BuildActionParameters> executer,
     ServiceRegistry sharedServices) {
   BuildActionParameters parameters =
       new DefaultBuildActionParameters(
           daemonParameters.getEffectiveSystemProperties(),
           System.getenv(),
           SystemProperties.getInstance().getCurrentDir(),
           startParameter.getLogLevel(),
           daemonParameters.getDaemonUsage(),
           startParameter.isContinuous(),
           daemonParameters.isInteractive(),
           ClassPath.EMPTY);
   return new RunBuildAction(
       executer,
       startParameter,
       clientMetaData(),
       getBuildStartTime(),
       parameters,
       sharedServices);
 }