Synopsis

ceylon import-jar [--cwd=<dir>] [--define=<key>=<value>...] [--descriptor=<file>] [--out=<dir-or-url>] [--pass=<secret>] [--user=<name>] [--verbose[=<flags>]] [--] <module> <jar-file>

Description

Imports the given <jar-file> using the module name and version given by <module> into the repository named by the --out option.

<module> is a module name and version separated with a slash, for example com.example.foobar/1.2.0.

<jar-file> is the name of the Jar file to import.

Options

--cwd=dir

Specifies the current working directory for this tool. (default: the directory where the tool is run from)

--define=key>=<value, -D key>=<value

Set a system property

--descriptor=file

Specify a module.xml or module.properties file to be used as the module descriptor

--out=dir-or-url

Specifies the module repository (which must be publishable) into which the jar file should be imported. (default: ./modules)

--pass=secret

Sets the password for use with an authenticated output repository.

--user=name

Sets the user name for use with an authenticated output repository.

--verbose[=flags]

Produce verbose output. If no flags are given then be verbose about everything, otherwise just be verbose about the flags which are present. Allowed flags include: all, loader.