gradle-launcher

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Renamed subprojects/gradle-(.+) to subprojects/$1

    • -87
    • +0
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 6164 more files in changeset.
Handle failure due to race condition while daemon process is starting

Fixed potential busy-loop in DaemonConnector when running a long build.

Changed daemon to write error log messages to a log file.

Some changes to produce a more accurate build time, especially when running with the daemon - Added BuildClientMetaData and BuildRequestMetaData to represent information about the client used to initiate the build, and the build request itself. - Cleaned up a few places to use this meta data instead of ad hoc uses of system properties, System.currentTimeMillis() and so on. - Moved GradleLauncherFactory out of the public API - Ship meta-data from client process to daemon along with the build request.

    • -1
    • +2
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 22 more files in changeset.
GRADLE-1073 - don't shutdown daemon while a build is running, reset the time-out when the build completes

GRADLE-1073 - better handle Gradle version changes when using the daemon - run one daemon per version on a dynamically chosen port, daemon times-out after 3 hours idle.

  1. … 26 more files in changeset.
GRADLE-1215 - Added --no-daemon command-line option, to allow override of system property

fixes for java 5 and for windows.

  1. … 10 more files in changeset.
GRADLE-1048 - Use same classloader hierarchy in the daemon as is used in the stand-alone launcher

    • -0
    • +153
    ./src/main/java/org/gradle/launcher/DaemonMain.java
    • -139
    • +2
    ./src/main/java/org/gradle/launcher/GradleDaemon.java
    • -0
    • +48
    ./src/main/java/org/gradle/launcher/ProcessBootstrap.java
  1. … 2 more files in changeset.
GRADLE-1188 - Fixed resolution of relative paths passed to -p, -b, -I, and -c when using the daemon - Changed DefaultCommandLineConverter to resolve paths relative to the current dir in the supplied StartParameter. - Added a int test GradleExecuter implementation which uses the daemon when running int tests - Replaced 'org.gradle.integtest.fork' system property with 'org.gradle.integtest.executer' - Added 'org.gradle.daemon' system property which can be used instead of --daemon - Changed daemon to restore system properties at the end of a build

  1. … 11 more files in changeset.
GRADLE-1048 - Split up client pieces of the daemon into separate classes and added unit test coverage - Use non-zero exit status for client process when build fails in daemon.

    • -0
    • +41
    ./src/main/java/org/gradle/launcher/DaemonBuildAction.java
    • -0
    • +71
    ./src/main/java/org/gradle/launcher/DaemonClientAction.java
    • -0
    • +180
    ./src/main/java/org/gradle/launcher/DaemonConnector.java
    • -0
    • +32
    ./src/main/java/org/gradle/launcher/ExecutionListener.java
    • -170
    • +64
    ./src/main/java/org/gradle/launcher/GradleDaemon.java
    • -8
    • +21
    ./src/main/java/org/gradle/launcher/Main.java
    • -0
    • +48
    ./src/main/java/org/gradle/launcher/RunBuildAction.java
    • -0
    • +43
    ./src/main/java/org/gradle/launcher/StopDaemonAction.java
    • -0
    • +38
    ./src/main/java/org/gradle/launcher/protocol/Build.java
    • -0
    • +25
    ./src/main/java/org/gradle/launcher/protocol/Command.java
    • -0
    • +19
    ./src/main/java/org/gradle/launcher/protocol/Stop.java
  1. … 5 more files in changeset.
GRADLE-1048 - Merged build daemon into master branch

    • -0
    • +258
    ./src/main/java/org/gradle/launcher/GradleDaemon.java
    • -5
    • +6
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 5 more files in changeset.
GRADLE-1188 - Fixed problem where builds would always run from the directory where the daemon was started.

Merge branch 'master' into build_daemon

    • -28
    • +41
    ./src/main/java/org/gradle/launcher/GradleDaemon.java
  1. … 1 more file in changeset.
GRADLE-1104 - Split up the main ClassLoader to separate out the Ant classes, so that they are not polluted by all the Gradle implementation classes and their dependencies.

- Apply styles to the output of BuildExceptionReporter - Merged a couple of StyledTextOutput implementations into StreamingStyledTextOutput - Changed StyledTextOutput interface to make it easier to change the style, write some text, and restore the previous style.

    • -8
    • +2
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 35 more files in changeset.
- Moved applying BuildLogger to the build from various places into DefaultGradleLauncherFactory so that it is applied to all builds - Apply 'success' and 'failure' styles to the BUILD SUCCESSFUL and BUILD FAILED messages - Merged OutputEventTextOutput into StyledTextOutput - Fixes for broken int tests when running in forked mode

  1. … 30 more files in changeset.
Always configure logging using the command-line options before executing the main command-line action (run build, launch gui, etc)

    • -0
    • +2
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 2 more files in changeset.
Split handling of logging command-line options (--debug, --info, --quiet and --no-color) into a separate converter.

    • -1
    • +3
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 20 more files in changeset.
Moved command-line options which aren't related to running a build (--gui, --help, --version) from DefaultCommandLine2StartParameterConverter to CommandLineActionFactory. Removed corresponding properties from StartParameter.

  1. … 8 more files in changeset.
Split up Main and tightened up logging for unexpected exceptions.

    • -0
    • +20
    ./src/main/java/org/gradle/launcher/BuildCompleter.java
    • -77
    • +24
    ./src/main/java/org/gradle/launcher/Main.java
    • -0
    • +89
    ./src/test/groovy/org/gradle/launcher/MainTest.groovy
  1. … 1 more file in changeset.
Merge branch 'master' into build_daemon

    • -0
    • +2
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 3 more files in changeset.
Some changes to command-line parsing which will allow task-specific command-line arguments.

    • -1
    • +2
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 11 more files in changeset.
Merge branch 'master' into build_daemon

    • -3
    • +5
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 1 more file in changeset.
Run the 'help' task when no tasks specified on the command-line and the project has not declared any default tasks. Added more content to the output of the 'help' task.

    • -1
    • +4
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 6 more files in changeset.
Switched on some colours.

    • -13
    • +13
    ./src/main/java/org/gradle/launcher/GradleDaemon.java
  1. … 4 more files in changeset.
- Some fixes for logging system changes in master branch - The -d, -i and -q command-line options now work

    • -80
    • +93
    ./src/main/java/org/gradle/launcher/GradleDaemon.java
    • -8
    • +4
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 11 more files in changeset.
Merged from branch 'master'

    • -4
    • +13
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 3 more files in changeset.
Some tweaks to the help message and command-line reference doc

    • -4
    • +14
    ./src/main/java/org/gradle/launcher/Main.java
  1. … 4 more files in changeset.