Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove space between parenthesis which is interpreted by `zsh`

  1. … 1 more file in changeset.
Do not escape JVM options when reading them from environment variables

This changes the interpretation of line breaks. This corresponds to how

we accessed them in Gradle 3.1 and earlier, which was:

`eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS`

  1. … 2 more files in changeset.
Do not escape JVM options when reading them from environment variables

This changes the interpretation of line breaks. This corresponds to how

we accessed them in Gradle 3.1 and earlier, which was:

`eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS`

  1. … 2 more files in changeset.
Allow double quotes to be used inside start script arguments

The new argument handling in start scripts introduced with Gradle 3.2

(#621) uses double quotes (") to escape arguments. This breaks the usage

of double quotes inside of an argument. E.g.: `'-DFOO="bar < baz"'`

This is fixed by checking if either (") or (') is already used and

using the corresponding other character for escaping. The solution is

adopted from: www.etalabs.net/sh_tricks.html (Working with arrays)

Issue: #865

  1. … 5 more files in changeset.
Allow double quotes to be used inside start script arguments

The new argument handling in start scripts introduced with Gradle 3.2

(#621) uses double quotes (") to escape arguments. This breaks the usage

of double quotes inside of an argument. E.g.: `'-DFOO="bar < baz"'`

This is fixed by checking if either (") or (') is already used and

using the corresponding other character for escaping. The solution is

adopted from: www.etalabs.net/sh_tricks.html (Working with arrays)

Issue: #865

  1. … 5 more files in changeset.
Fix optsEnvironmentVar name in unix script template

There was a copy and paste error leading to a `gradlew`-specific part

in the script template.

Use eval only for de-escaping arguments

This restores the original behaviour of using `exec` to call the `java`

command. Still, the use of a custom array is a voided by collecting

all arguments for `java` (including JVM options and Application

arguments) directly into the argument array $@ (`set --`).

  1. … 2 more files in changeset.
Remove unnecessary quotes in unix start script

In particular the additional quotes of the $JAVACMD caused the script

to continue evaluation after the actual Gradle run. In the Gradleception

CI job, where the gradlew script was replaced by a new version of it

during the run, this caused an evaluation syntax error after the

(successful) build.

+review REVIEW-6284

  1. … 2 more files in changeset.
Do quote escaping in unix start scripts the right way around

+review REVIEW-6284

  1. … 2 more files in changeset.
Escape java command in unix start script

The command can contain spaces, as it can contain the path set

as JAVA_HOME. Because the script now uses 'eval' (instead of exec), the

'double escaping' is needed.

+review REVIEW-6284

  1. … 2 more files in changeset.
Fixes for unixStartScript: escape app name (may contain spaces), fixed env var name $JAVA_OPTS, updated test to provide 'sh' instead of 'bash'

+review REVIEW-6235

  1. … 1 more file in changeset.
Unix Start Script: do not escape VM options which are read from properties (and are therefore already escaped strings)

+review REVIEW-6235

  1. … 2 more files in changeset.
Limit ourselves to /bin/sh (#621)

+review REVIEW-6235

  1. … 3 more files in changeset.
Escape application arguments and JVM options

+review REVIEW-6235

  1. … 1 more file in changeset.
Removed "[[" and "==" which are not POSIX standard (see: https://wiki.ubuntu.com/DashAsBinSh)

+review REVIEW-6235

GRADLE-3476 Removed 4NT-specific code in bat files

It's not necessary since it doesn't use SHIFT anymore, and actually

causes some parameters (those containing dashes, such as

"-Dorg.gradle.jvmargs=-Xmx2048m") to be processed incorrectly in

TCC/4NT.

  1. … 3 more files in changeset.
handle paths that have spaces

  1. … 1 more file in changeset.
Enable launching from Finder on Mac

add test to verify that APP_HOME, APP_NAME are defined before DEFAULT_JVM_OPTS

  1. … 1 more file in changeset.
move DEFAULT_JVM_OPTS after APP_HOME

to enable usage of APP_HOME in DEFAULT_JVM_OPTS

    • -18
    • +18
    ./gradle/api/internal/plugins/unixStartScript.txt
Added check for NONSTOP_KERNEL to bypass ulimit. The change is analogous to how cygwin and darwin are handled.

Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com>

  1. … 1 more file in changeset.
Added check for NONSTOP_KERNEL to bypass ulimit. The change is analogous to how cygwin and darwin are handled.

Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com>

  1. … 1 more file in changeset.
Start migrating test classes to the most appropriate subproject

Story: gradle/langos#103

Item: refactor-plugins

  1. … 124 more files in changeset.
Fixed spelling of "Windows".

Fixed spelling from "Windowz" to "Windows".

  1. … 1 more file in changeset.
[GRADLE-2799] Replace Bash redirect operator >&- with more standard >/dev/null

  1. … 2 more files in changeset.
GRADLE-2673: Don't corrupt JAVA_HOME on cygwin

  1. … 2 more files in changeset.
Don't use css-pie htc any more - use IE's native support for border-radius. On IE 8 and earlier, falls back to square border corners.

  1. … 4 more files in changeset.
test: mark composite test results as ignored if no failure but ignored tests

Also change the CSS to make the packages and classes containing skipped tests orange instead of green or black.

  1. … 2 more files in changeset.
Changed the profile and test reports to generate only the index page into the destination directory, and the other stuff ends up in sub-directories.

  1. … 18 more files in changeset.
defaultJvmOpts argument quoting for scripts

  1. … 2 more files in changeset.