CreateStartScriptsTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove deprecated methods on TestUtil (#672)

In order to use project builder correctly without having

leaking files on windows it is necessary to initialize

the test fixture for NativeServices and clean up

the test directory after building.

AbstractProjectBuilderSpec provides a nice base class

for Groovy tests.

I removed the deprecated methods since using them leads

to files lying around. Migrating all the usages to the "new"

way ensures it is used correctly.

  1. … 97 more files in changeset.
Expose ScriptGenerator instances for Unix and Windows to users of task. For now funnel through StartScriptGenerator to avoid having to change other integration points.

+review REVIEW-5416

  1. … 5 more files in changeset.
renamed HelperUtil to TestUtil (REVIEW-1626)

  1. … 145 more files in changeset.
CreateStartScripts: defaultJvmOpts default value handling streamlined (test fixed)

ApplicationPlugin/CreateStartScripts: defaultJvmOpts settable

  1. … 8 more files in changeset.
further improvements to application plugin

- slightly changed how base dir name for distribution zip is determined

- general code improvements

  1. … 5 more files in changeset.
GRADLE-1427, GRADLE-1438 - Fixed behaviour for application install path. - Replaced installDirName with installDir, which points to the actual directory which the application will be installed into, rather than its parent directory. - Include project version in the root directory name in the distribution zip. - Added applicationName convention property, to allow the application name to be different to the project name. - Changed CopySpec.into(path) and into(path, closure) to allow a closure to be passed as the destination path.

  1. … 13 more files in changeset.
GRADLE-1326 - Some updates to application plugin - Moved CreateStartScripts from o.g.a.internal.tasks.application to o.g.a.tasks.application and added to DSL reference - Renamed 'createStartScripts' task to 'startScripts' - Changed 'install' to use Sync instead of Copy - Allow application name and opts environment var to be customised for generated scripts

    • -0
    • +63
    ./CreateStartScriptsTest.groovy
  1. … 14 more files in changeset.