Generates a
.licence file from a .licx file.
If no output file is specified, the default filename is the name of the
target file with the extension .licenses appended.
Parameters
| Attribute | Type | Description | Required |
|---|---|---|---|
| input | file |
Input file to process.
|
True |
| licensetarget | string |
Specifies the executable for which the .licenses file is generated.
Obsolete. Use the "target" attribute instead.
|
False |
| output | file |
Name of the license file to output.
|
False |
| target | string |
Specifies the executable for which the .licenses file is generated.
|
False |
| failonerror | bool |
Determines if task failure stops the build, or is just reported.
The default is
true.
|
False |
| if | bool |
If
true then the task will be executed; otherwise,
skipped. The default is true.
|
False |
| timeout | int |
The maximum amount of time the application is allowed to execute,
expressed in milliseconds. Defaults to no time-out.
|
False |
| unless | bool |
Opposite of
NAnt.Core.Task.IfDefined. If false
then the task will be executed; otherwise, skipped. The default is
false.
|
False |
| verbose | bool |
Determines whether the task should report detailed build log messages.
The default is
false.
|
False |
Framework-configurable parameters
Nested elements
Examples
Generate the file component.exe.licenses file from component.licx.
<license input="component.licx" licensetarget="component.exe" />
Requirements
- Assembly
- NAnt
.DotNet .dll - Namespace
-
NAnt
.DotNet .Tasks
