ceylonModule | Source Codeshared GoalSet ceylonModule( String moduleName, String testModuleName = ..., String testModuleVersion = ..., Target target = ..., String( String) rename = ...) Returns a GoalSet providing goals to compile, test and document ceylon modules.
Following goals will be returned:
JVM specific goals:
"compile" : compile module
"compile-tests" : compile test module
"run-tests" : run test module
"test" : compile module, compile test module and run test module
Javascript specific goals:
"compile-js" : compile module
"compile-js-tests" : compile test module
"run-js-tests" : run test module
"test-js" : compile module, compile test module and run test module
|
compile | Source Codeshared Task compile( String|{ String*} modules, String|{ String*} files = [], String? encoding = "", String|{ String*} sourceDirectories = [], String|{ String*} resourceDirectories = [], String? javacOptions = null, String? outputRepository = null, String|{ String*} repositories = [], String? systemRepository = null, String? cacheRepository = null, String? user = null, String? password = null, Boolean offline = false, Boolean noDefaultRepositories = false, { CompileVerboseMode*}| AllVerboseModes verboseModes = [], String ceylon = ..., String? currentWorkingDirectory = null) Compiles a Ceylon module using ceylon compile command line.
Parameters: - modules
name of modules to compile
- files = []
name of files to compile
- encoding = ""
encoding used for reading source files
(default: platform-specific)
(corresponding command line parameter: --encoding=<encoding> )
- sourceDirectories = []
Path to source files
(default: './source')
(corresponding command line parameter: --source=<dirs> )
- resourceDirectories = []
Path to directory containing resource files
(default: './resource')
(corresponding command line parameter: --resource=<dirs> )
- javacOptions = null
Passes an option to the underlying java compiler
(corresponding command line parameter: --javac=<option> )
- outputRepository = null
Specifies the output module repository (which must be publishable).
(default: './modules')
(corresponding command line parameter: --out=<url> )
- repositories = []
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository = null
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository = null
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- user = null
Sets the user name for use with an authenticated output repository
(corresponding command line parameter: --user=<name> )
- password = null
Sets the password for use with an authenticated output repository
(corresponding command line parameter: --pass=<secret> )
- offline = false
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- noDefaultRepositories = false
Indicates that the default repositories should not be used
(corresponding command line parameter: --no-default-repositories )
- verboseModes = []
Produce verbose output.
(corresponding command line parameter: --verbose=<flags> )
- ceylon = ceylonExecutable
Ceylon executable that will be used
- currentWorkingDirectory = null
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
|
compileCommand | Source Codeshared String compileCommand( String ceylon, String? currentWorkingDirectory, { String*} modules, { String*} files, String? encoding, { String*} sourceDirectories, { String*} resourceDirectories, String? javacOptions, String? outputRepository, { String*} repositories, String? systemRepository, String? cacheRepository, String? user, String? password, Boolean offline, Boolean noDefaultRepositories, { CompileVerboseMode*}| AllVerboseModes verboseModes, { String*} arguments) Builds a ceylon compile command as a String and returns it.
Parameters: - ceylon
Ceylon executable that will be used
- currentWorkingDirectory
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
- modules
name of modules to compile
- files
name of files to compile
- encoding
encoding used for reading source files
(default: platform-specific)
(corresponding command line parameter: --encoding=<encoding> )
- sourceDirectories
Path to source files
(default: './source')
(corresponding command line parameter: --source=<dirs> )
- resourceDirectories
Path to directory containing resource files
(default: './resource')
(corresponding command line parameter: --resource=<dirs> )
- javacOptions
Passes an option to the underlying java compiler
(corresponding command line parameter: --javac=<option> )
- outputRepository
Specifies the output module repository (which must be publishable).
(default: './modules')
(corresponding command line parameter: --out=<url> )
- repositories
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- user
Sets the user name for use with an authenticated output repository
(corresponding command line parameter: --user=<name> )
- password
Sets the password for use with an authenticated output repository
(corresponding command line parameter: --pass=<secret> )
- offline
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- noDefaultRepositories
Indicates that the default repositories should not be used
(corresponding command line parameter: --no-default-repositories )
- verboseModes
Indicates that the default repositories should not be used
(corresponding command line parameter: --no-default-repositories )
- arguments
custom arguments to be added to commandline
|
compileJs | Source Codeshared Task compileJs( String|{ String*} modules, String|{ String*} files = [], String? encoding = null, String|{ String*} sourceDirectories = [], String? outputRepository = null, String|{ String*} repositories = [], String? systemRepository = null, String? cacheRepository = null, String? user = null, String? password = null, Boolean offline = false, Boolean compact = false, Boolean noComments = false, Boolean noIndent = false, Boolean noModule = false, Boolean optimize = false, Boolean profile = false, Boolean skipSourceArchive = false, Boolean verbose = false, String ceylon = ..., String? currentWorkingDirectory = null) Compiles a Ceylon module to javascript using ceylon compile-js command line.
Parameters: - modules
name of modules to compile
- files = []
name of files to compile
- encoding = null
encoding used for reading source files
(default: platform-specific)
(corresponding command line parameter: --encoding=<encoding> )
- sourceDirectories = []
Path to source files
(default: './source')
(corresponding command line parameter: --source=<dirs> )
- outputRepository = null
Specifies the output module repository (which must be publishable).
(default: './modules')
(corresponding command line parameter: --out=<url> )
- repositories = []
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository = null
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository = null
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- user = null
Sets the user name for use with an authenticated output repository
(corresponding command line parameter: --user=<name> )
- password = null
Sets the password for use with an authenticated output repository
(corresponding command line parameter: --pass=<secret> )
- offline = false
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- compact = false
Equivalent to '–no-indent' '–no-comments'
(corresponding command line parameter: --compact )
- = false
Do NOT generate any comments
(corresponding command line parameter: --no-comments )
- noIndent = false
Do NOT indent code
(corresponding command line parameter: --no-indent )
- noModule = false
Do NOT wrap generated code as CommonJS module
(corresponding command line parameter: --no-module )
- optimize = false
Create prototype-style JS code
(corresponding command line parameter: --optimize )
- profile = false
Time the compilation phases (results are printed to standard error)
(corresponding command line parameter: --profile )
- skipSourceArchive = false
Do NOT generate .src archive - useful when doing joint compilation
(corresponding command line parameter: --skip-src-archive )
- verbose = false
Print messages while compiling
(corresponding command line parameter: --verbose )
- ceylon = ceylonExecutable
Ceylon executable that will be used
- currentWorkingDirectory = null
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
|
compileJsCommand | Source Code shared String compileJsCommand(String ceylon, String? currentWorkingDirectory, {String*} modules, {String*} files, String? encoding, {String*} sourceDirectories, String? outputRepository, {String*} repositories, String? systemRepository, String? cacheRepository, String? user, String? password, Boolean offline, Boolean compact, Boolean noComments, Boolean noIndent, Boolean noModule, Boolean optimize, Boolean profile, Boolean skipSourceArchive, Boolean verbose, {String*} arguments) Builds a ceylon compile-js command as a String and returns it.
Parameters: - ceylon
Ceylon executable that will be used
- currentWorkingDirectory
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
- modules
name of modules to compile
- files
name of files to compile
- encoding
encoding used for reading source files
(default: platform-specific)
(corresponding command line parameter: --encoding=<encoding> )
- sourceDirectories
Path to source files
(default: './source')
(corresponding command line parameter: --source=<dirs> )
- outputRepository
Specifies the output module repository (which must be publishable).
(default: './modules')
(corresponding command line parameter: --out=<url> )
- repositories
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- user
Sets the user name for use with an authenticated output repository
(corresponding command line parameter: --user=<name> )
- password
Sets the password for use with an authenticated output repository
(corresponding command line parameter: --pass=<secret> )
- offline
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- compact
Equivalent to '–no-indent' '–no-comments'
(corresponding command line parameter: --compact )
- noComments
Do NOT generate any comments
(corresponding command line parameter: --no-comments )
- noIndent
Do NOT indent code
(corresponding command line parameter: --no-indent )
- noModule
Do NOT wrap generated code as CommonJS module
(corresponding command line parameter: --no-module )
- optimize
Create prototype-style JS code
(corresponding command line parameter: --optimize )
- profile
Time the compilation phases (results are printed to standard error)
(corresponding command line parameter: --profile )
- skipSourceArchive
Do NOT generate .src archive - useful when doing joint compilation
(corresponding command line parameter: --skip-src-archive )
- verbose
Print messages while compiling
(corresponding command line parameter: --verbose )
- arguments
custom arguments to be added to commandline
|
compileJsTests | Source Codeshared Task compileJsTests( String|{ String*} modules, String|{ String*} files = [], String? encoding = null, String? outputRepository = null, String|{ String*} repositories = [], String? systemRepository = null, String? cacheRepository = null, String? user = null, String? password = null, Boolean offline = false, Boolean compact = false, Boolean noComments = false, Boolean noIndent = false, Boolean noModule = false, Boolean optimize = false, Boolean profile = false, Boolean skipSourceArchive = false, Boolean verbose = false, String ceylon = ..., String? currentWorkingDirectory = null) Compiles a Ceylon test module to javascript using ceylon compile-js command line.
--source command line parameter is set to "test-source"
Parameters: - modules
name of modules to compile
- files = []
name of files to compile
- encoding = null
encoding used for reading source files
(default: platform-specific)
(corresponding command line parameter: --encoding=<encoding> )
- outputRepository = null
Specifies the output module repository (which must be publishable).
(default: './modules')
(corresponding command line parameter: --out=<url> )
- repositories = []
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository = null
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository = null
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- user = null
Sets the user name for use with an authenticated output repository
(corresponding command line parameter: --user=<name> )
- password = null
Sets the password for use with an authenticated output repository
(corresponding command line parameter: --pass=<secret> )
- offline = false
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- compact = false
Equivalent to '–no-indent' '–no-comments'
(corresponding command line parameter: --compact )
- = false
Do NOT generate any comments
(corresponding command line parameter: --no-comments )
- noIndent = false
Do NOT indent code
(corresponding command line parameter: --no-indent )
- noModule = false
Do NOT wrap generated code as CommonJS module
(corresponding command line parameter: --no-module )
- optimize = false
Create prototype-style JS code
(corresponding command line parameter: --optimize )
- profile = false
Time the compilation phases (results are printed to standard error)
(corresponding command line parameter: --offline )
- skipSourceArchive = false
Do NOT generate .src archive - useful when doing joint compilation
(corresponding command line parameter: --skip-src-archive )
- verbose = false
Print messages while compiling
(corresponding command line parameter: --verbose )
- ceylon = ceylonExecutable
Ceylon executable that will be used
- currentWorkingDirectory = null
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
|
compileTests | Source Codeshared Task compileTests( String|{ String*} modules, String|{ String*} files = [], String? encoding = "", String? javacOptions = null, String? outputRepository = null, String|{ String*} repositories = [], String? systemRepository = null, String? cacheRepository = null, String? user = null, String? password = null, Boolean offline = false, Boolean noDefaultRepositories = false, { CompileVerboseMode*} verboseModes = [], String ceylon = ..., String? currentWorkingDirectory = null) Compiles a Ceylon test module using ceylon compile command line.
--source command line parameter is set to "test-source"
Parameters: - modules
name of modules to compile
- files = []
name of files to compile
- encoding = ""
encoding used for reading source files
(default: platform-specific)
(corresponding command line parameter: --encoding=<encoding> )
- javacOptions = null
Passes an option to the underlying java compiler
(corresponding command line parameter: --javac=<option> )
- outputRepository = null
Specifies the output module repository (which must be publishable).
(default: './modules')
(corresponding command line parameter: --out=<url> )
- repositories = []
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository = null
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository = null
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- user = null
Sets the user name for use with an authenticated output repository
(corresponding command line parameter: --user=<name> )
- password = null
Sets the password for use with an authenticated output repository
(corresponding command line parameter: --pass=<secret> )
- offline = false
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- noDefaultRepositories = false
Indicates that the default repositories should not be used
(corresponding command line parameter: --no-default-repositories )
- verboseModes = []
Produce verbose output. If no 'flags' are given then be verbose about everything,
otherwise just be vebose about the flags which are present
(corresponding command line parameter: --verbose=<flags> )
- ceylon = ceylonExecutable
Ceylon executable that will be used
- currentWorkingDirectory = null
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
|
docCommand | Source Code shared String docCommand(String ceylon, String? currentWorkingDirectory, {String+} modules, String? encoding, {String*} sourceDirectories, String? outputRepository, {String*} repositories, String? systemRepository, String? cacheRepository, String? user, String? password, Boolean offline, String? link, Boolean includeNonShared, Boolean includeSourceCode, Boolean ignoreBrokenLink, Boolean ignoreMissingDoc, {String*} arguments) Builds a ceylon doc command as a String and returns it.
Parameters: - ceylon
Ceylon executable that will be used
- currentWorkingDirectory
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
- modules
list of modules to document
- encoding
encoding used for reading source files
(default: platform-specific)
(corresponding command line parameter: --encoding=<encoding> )
- sourceDirectories
Path to source files
(default: './source')
(corresponding command line parameter: --source=<dirs> )
- outputRepository
Specifies the output module repository (which must be publishable).
(default: './modules')
(corresponding command line parameter: --out=<url> )
- repositories
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- user
Sets the user name for use with an authenticated output repository
(corresponding command line parameter: --user=<name> )
- password
Sets the password for use with an authenticated output repository
(corresponding command line parameter: --pass=<secret> )
- offline
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- link
The URL of a module repository containing documentation for external dependencies.
Parameter url must be one of supported protocols (http://, https:// or file://).
Parameter url can be prefixed with module name pattern, separated by a '=' character,
determine for which external modules will be use.
Examples:
- –link https://modules.ceylon-lang.org/
- –link ceylon.math=https://modules.ceylon-lang.org/
(corresponding command line parameter: --link=<url> )
- includeNonShared
Includes documentation for package-private declarations.
(corresponding command line parameter: --non-shared )
- includeSourceCode
Includes source code in the generated documentation.
(corresponding command line parameter: --source-code )
- ignoreBrokenLink
Do not print warnings about broken links.
(corresponding command line parameter: --ignore-broken-link )
- ignoreMissingDoc
Do not print warnings about missing documentation.
(corresponding command line parameter: --ignore-missing-doc )
- arguments
custom arguments to be added to commandline
|
document | Source Codeshared Task document( String|{ String+} modules, String? encoding = "", String|{ String*} sourceDirectories = [], String? outputRepository = null, String|{ String*} repositories = [], String? systemRepository = null, String? cacheRepository = null, String? user = null, String? password = null, Boolean offline = false, String? link = null, Boolean includeNonShared = false, Boolean includeSourceCode = false, Boolean ignoreBrokenLink = false, Boolean ignoreMissingDoc = false, String ceylon = ..., String? currentWorkingDirectory = null) Documents a Ceylon module using ceylon doc command line.
Parameters: - modules
list of modules to document
- encoding = ""
encoding used for reading source files
(default: platform-specific)
(corresponding command line parameter: --encoding=<encoding> )
- sourceDirectories = []
Path to source files
(default: './source')
(corresponding command line parameter: --source=<dirs> )
- outputRepository = null
Specifies the output module repository (which must be publishable).
(default: './modules')
(corresponding command line parameter: --out=<url> )
- repositories = []
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository = null
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository = null
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- user = null
Sets the user name for use with an authenticated output repository
(corresponding command line parameter: --user=<name> )
- password = null
Sets the password for use with an authenticated output repository
(corresponding command line parameter: --pass=<secret> )
- offline = false
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- link = null
The URL of a module repository containing documentation for external dependencies.
Parameter url must be one of supported protocols (http://, https:// or file://).
Parameter url can be prefixed with module name pattern, separated by a '=' character,
determine for which external modules will be use.
Examples:
- –link https://modules.ceylon-lang.org/
- –link ceylon.math=https://modules.ceylon-lang.org/
(corresponding command line parameter: --link=<url> )
- includeNonShared = false
Includes documentation for package-private declarations.
(corresponding command line parameter: --non-shared )
- includeSourceCode = false
Includes source code in the generated documentation.
(corresponding command line parameter: --source-code )
- ignoreBrokenLink = false
Do not print warnings about broken links.
(corresponding command line parameter: --ignore-broken-link )
- ignoreMissingDoc = false
Do not print warnings about missing documentation.
(corresponding command line parameter: --ignore-missing-doc )
- ceylon = ceylonExecutable
Ceylon executable that will be used
- currentWorkingDirectory = null
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
|
runCommand | Source Codeshared String runCommand( String ceylon, String? currentWorkingDirectory, String moduleName, String version, Boolean noDefaultRepositories, Boolean offline, { String*} repositories, String? systemRepository, String? cacheRepository, String? functionNameToRun, { RunVerboseMode*}| AllVerboseModes verboseModes, { String*} arguments) Builds a ceylon run command as a String and returns it.
Parameters: - ceylon
Ceylon executable that will be used
- currentWorkingDirectory
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
- moduleName
name of module to run
- version
version of module to run
- noDefaultRepositories
Indicates that the default repositories should not be used
(corresponding command line parameter: --no-default-repositories )
- offline
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- repositories
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- functionNameToRun
Specifies the fully qualified name of a toplevel method or class with no parameters.
(corresponding command line parameter: --run=<toplevel> )
- verboseModes
Produce verbose output.
(corresponding command line parameter: --verbose=<flags> )
- arguments
custom arguments to be added to commandline
|
runJsCommand | Source Code shared String runJsCommand(String ceylon, String? currentWorkingDirectory, String moduleName, String version, Boolean offline, {String*} repositories, String? systemRepository, String? cacheRepository, String? functionNameToRun, String? debug, String? pathToNodeJs, {String*} arguments) Builds a ceylon run-js command as a String and returns it.
Parameters: - ceylon
Ceylon executable that will be used
- currentWorkingDirectory
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
- moduleName
name of module to run
- version
version of module to run
- offline
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- repositories
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- functionNameToRun
Specifies the fully qualified name of a toplevel method or class with no parameters.
(corresponding command line parameter: --run=<toplevel> )
- debug
Shows more detailed output in case of errors.
(corresponding command line parameter: --debug=<debug> )
- pathToNodeJs
The path to the node.js executable. Will be searched in standard locations if not specified.
(corresponding command line parameter: --node-exe=<node-exe> )
- arguments
custom arguments to be added to commandline
|
runJsModule | Source Codeshared Task runJsModule( String moduleName, String version = ..., Boolean offline = false, String|{ String*} repositories = [], String? systemRepository = null, String? cacheRepository = null, String? functionNameToRun = null, String? debug = null, String? pathToNodeJs = null, String ceylon = ..., String? currentWorkingDirectory = null) Runs a Ceylon module on node.js using ceylon run-js command line
Parameters: - moduleName
name of module to run
- version = defaultModuleVersion
version of module to run
- offline = false
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- repositories = []
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository = null
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository = null
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- functionNameToRun = null
Specifies the fully qualified name of a toplevel method or class with no parameters.
(corresponding command line parameter: --run=<toplevel> )
- debug = null
Shows more detailed output in case of errors.
(corresponding command line parameter: --debug=<debug> )
- pathToNodeJs = null
The path to the node.js executable. Will be searched in standard locations if not specified.
(corresponding command line parameter: --node-exe=<node-exe> )
- ceylon = ceylonExecutable
Ceylon executable that will be used
- currentWorkingDirectory = null
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
|
runModule | Source Codeshared Task runModule( String moduleName, String version = ..., Boolean noDefaultRepositories = false, Boolean offline = false, String|{ String*} repositories = [], String? systemRepository = null, String? cacheRepository = null, String? functionNameToRun = null, { RunVerboseMode*}| AllVerboseModes verboseModes = [], String ceylon = ..., String? currentWorkingDirectory = null) Runs a Ceylon module using ceylon run command line.
Parameters: - moduleName
name of module to run
- version = defaultModuleVersion
version of module to run
- noDefaultRepositories = false
Indicates that the default repositories should not be used
(corresponding command line parameter: --no-default-repositories )
- offline = false
Enables offline mode that will prevent the module loader from connecting to remote repositories.
(corresponding command line parameter: --offline )
- repositories = []
Specifies a module repository containing dependencies. Can be specified multiple times.
(default: 'modules', '~/.ceylon/repo', http://modules.ceylon-lang.org)
(corresponding command line parameter: --rep=<url> )
- systemRepository = null
Specifies the system repository containing essential modules.
(default: '$CEYLON_HOME/repo')
(corresponding command line parameter: --sysrep=<url> )
- cacheRepository = null
Specifies the folder to use for caching downloaded modules.
(default: '~/.ceylon/cache')
(corresponding command line parameter: --cacherep=<url> )
- functionNameToRun = null
Specifies the fully qualified name of a toplevel method or class with no parameters.
(corresponding command line parameter: --run=<toplevel> )
- verboseModes = []
Produce verbose output.
(corresponding command line parameter: --verbose=<flags> )
- ceylon = ceylonExecutable
Ceylon executable that will be used
- currentWorkingDirectory = null
Specifies the current working directory for this tool.
(default: the directory where the tool is run from)
(corresponding command line parameter: --cwd=<dir> )
|