Note: information on this page refers to Ceylon 1.1, not to the current release.
<ceylon-copy>
Ant task
Usage
Note: You must declare the tasks with a <typedef>
.
To copy the module com.example.foo
with all its dependencies
to a module repository in the build
directory:
<target name="copy" depends="ceylon-ant-taskdefs">
<ceylon-copy out="build" recursive="true">
<module name="com.example.foo" version="1.5"/>
</ceylon-copy>
</target>
Description
The <ceylon-copy>
ant task supports copying a module or a set of
modules from one repository to another. It can also copy all the module's
dependencies and their dependencies until the entire module tree has been copied.
Parameters
Note: In addition to the parameters in the table below,
a nested <module>
is required.
Attribute | Description | Required |
---|---|---|
out |
The output module repository (which must be publishable). | No, default is modules |
user |
The user name to use when connecting to the output repository. Only used for HTTP output repositories. | No |
pass |
The password to use when connecting to the output repository. Only used for HTTP output repositories. | No |
withDependencies |
Whether to recursively copy dependencies or not. | No, default is false |
verbose |
Whether verbose logging information should be emitted. Zero or more of the following flags can be passed separated by commas: 'all' or 'loader'. If you do not pass a flag 'all' will be assumed. | No |
Nested elements
<moduleset>
A reference to a <moduleset>
defined elsewhere in the
ant build file.
<module>
A module to copy. Can be specified multiple times.
Attribute | Description | Required |
---|---|---|
name |
The module name | Yes |
<reposet>
A reference to a <reposet>
defined elsewhere in the
ant build file.
<rep>
A module repository containing dependencies. Can be specified multiple times. Defaults to modules
.
Attribute | Description | Required |
---|---|---|
url |
The URL of the module repository | Yes |