WindowsStartScriptGeneratorTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #13904 from gradle/blindpirate/remove-cmd-line-args-in-bat

Remove CMD_LINE_ARGS in bat script to avoid leaking credentials

    • -1
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 4 more files in changeset.
Remove CMD_LINE_ARGS in bat script to avoid leaking credentials

The windows startup script leaks CMD_LINE_ARGS into environment variable,

now we remove it.

The windows98/Me handling code is also removed.

    • -1
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 4 more files in changeset.
Support Java modules in Java application start scripts

    • -2
    • +2
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 15 more files in changeset.
Support Java modules in Java application start scripts

    • -2
    • +2
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 15 more files in changeset.
Support Java modules in Java application start scripts

    • -2
    • +2
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 15 more files in changeset.
Support Java modules in Java application start scripts

    • -2
    • +2
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 16 more files in changeset.
Update Windows init script line count in test

    • -1
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
Merge branch 'jasonmarcher/fix-batch-failure' of https://github.com/jasonmarcher/gradle into sg/merges/pr-4784

    • -1
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 1 more file in changeset.
Update tests for the extra lines in start scripts

The unit tests are hard-coded to the number of lines in the start scripts

generated by the Application Plugin. This commit updates the tests for the

new number of lines in those scripts due to the addition of a licence.

    • -1
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 1 more file in changeset.
repair and improve test for Windows line endings, now checks that no Linux line endings present.

Signed-off-by: Jason Archer <jasonmarcher@gmail.com>

    • -2
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
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
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 3 more files in changeset.
Simplify start script generation and fix a few problems.

Most notably, we no longer hold readers open eagerly.

+review REVIEW-5416

    • -6
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 20 more files in changeset.
Turned JavaAppStartScriptGeneratorDetails into an interface and made implementation immutable.

+review REVIEW-5416

    • -12
    • +11
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 7 more files in changeset.
Use concrete type instead of parameterizing the generators.

+review REVIEW-5416

    • -2
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 11 more files in changeset.
Moved classes to different package.

+review REVIEW-5416

    • -2
    • +2
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 18 more files in changeset.
Moved class to public API so it can be used with custom implementations of ScriptGenerator.

+review REVIEW-5416

    • -0
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 6 more files in changeset.
Renamed class to better represent purpose.

+review REVIEW-5416

    • -3
    • +3
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 6 more files in changeset.
Allow for setting template reader for a template-based script generator. That will allow users of the application plugin to easily set the reader for the default implementation if they want to customize the template.

+review REVIEW-5416

    • -1
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 5 more files in changeset.
Minor cleanup.

+review REVIEW-5416

    • -2
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 2 more files in changeset.
Use Reader data type as representation for template for more flexbility.

+review REVIEW-5416

    • -2
    • +2
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 8 more files in changeset.
Broke out template engine to allow users to set a different implementation.

+review REVIEW-5416

    • -1
    • +1
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 7 more files in changeset.
Better naming and typing.

+review REVIEW-5416

    • -2
    • +2
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 5 more files in changeset.
Broke out script generation in preparation for providing custom implementations for application plugin.

    • -0
    • +124
    ./WindowsStartScriptGeneratorTest.groovy
  1. … 9 more files in changeset.