1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
<!-- Documenting T:NAnt.DotNet.Tasks.LicenseTask-->
5
<meta http-equiv="Content-Language" content="en-ca" />
6
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
<link rel="stylesheet" type="text/css" href="../style.css" />
8
<title><license> Task</title>
11
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
13
<td class="NavBar-Cell">
14
<a href="http://nant.sourceforge.net">
17
<img alt="->" src="../images/arrow.gif" />
18
<a href="../index.html">Help</a>
19
<img alt="->" src="../images/arrow.gif" />
20
<a href="../tasks/index.html">Task Reference</a>
21
<img alt="->" src="../images/arrow.gif" /> <license></td>
22
<td class="NavBar-Cell" align="right">
26
<h1><license></h1>
27
<p> Generates a <code>.licence</code> file from a <code>.licx</code> file. </p>
28
<p> If no output file is specified, the default filename is the name of the target file with the extension <code>.licenses</code> appended. </p>
34
<th style="text-align: center;">Type</th>
36
<th style="text-align: center;">Required</th>
39
<td valign="top" class="required">input</td>
40
<td style="text-align: center;">file</td>
41
<td> Input file to process. </td>
42
<td style="text-align: center;">True</td>
45
<td valign="top">licensetarget</td>
46
<td style="text-align: center;">string</td>
48
<i>Deprecated.</i> Specifies the executable for which the .licenses file is generated. </td>
49
<td style="text-align: center;">False</td>
52
<td valign="top">output</td>
53
<td style="text-align: center;">file</td>
54
<td> Name of the license file to output. </td>
55
<td style="text-align: center;">False</td>
58
<td valign="top">target</td>
59
<td style="text-align: center;">string</td>
60
<td> Specifies the executable for which the .licenses file is generated. </td>
61
<td style="text-align: center;">False</td>
64
<td valign="top">failonerror</td>
65
<td style="text-align: center;">bool</td>
66
<td> Determines if task failure stops the build, or is just reported. The default is <b>true</b>. </td>
67
<td style="text-align: center;">False</td>
70
<td valign="top">if</td>
71
<td style="text-align: center;">bool</td>
72
<td> If <b>true</b> then the task will be executed; otherwise, skipped. The default is <b>true</b>. </td>
73
<td style="text-align: center;">False</td>
76
<td valign="top">timeout</td>
77
<td style="text-align: center;">int</td>
78
<td> The maximum amount of time the application is allowed to execute, expressed in milliseconds. Defaults to no time-out. </td>
79
<td style="text-align: center;">False</td>
82
<td valign="top">unless</td>
83
<td style="text-align: center;">bool</td>
84
<td> Opposite of <code>if</code>. If <b>false</b> then the task will be executed; otherwise, skipped. The default is <b>false</b>. </td>
85
<td style="text-align: center;">False</td>
88
<td valign="top">verbose</td>
89
<td style="text-align: center;">bool</td>
90
<td> Determines whether the task should report detailed build log messages. The default is <b>false</b>. </td>
91
<td style="text-align: center;">False</td>
95
<h3>Framework-configurable parameters</h3>
100
<th style="text-align: center;">Type</th>
102
<th style="text-align: center;">Required</th>
105
<td valign="top">exename</td>
106
<td style="text-align: center;">string</td>
107
<td> The name of the executable that should be used to launch the external program. </td>
108
<td style="text-align: center;">False</td>
111
<td valign="top">hascommandlinecompiler</td>
112
<td style="text-align: center;">bool</td>
113
<td> Indicates whether the current target framework has a command line tool for compiling licenses files. The default is <b>true</b>. </td>
114
<td style="text-align: center;">False</td>
117
<td valign="top">managed</td>
118
<td style="text-align: center;">
119
<a href="../enums/NAnt.Core.Types.ManagedExecution.html">ManagedExecution</a>
121
<td> Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. </td>
122
<td style="text-align: center;">False</td>
125
<td valign="top">supportsassemblyreferences</td>
126
<td style="text-align: center;">bool</td>
127
<td> Indicates whether assembly references are supported by the current target framework. The default is <b>false</b>. </td>
128
<td style="text-align: center;">False</td>
131
<td valign="top">useruntimeengine</td>
132
<td style="text-align: center;">bool</td>
134
<i>Deprecated.</i> Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is <b>false</b>. </td>
135
<td style="text-align: center;">False</td>
139
<h3>Nested Elements:</h3>
144
<<a href="../types/assemblyfileset.html">assemblies</a>>
146
<div class="nested-element"> Names of the references to scan for the licensed component. <p /></div>
150
</<a href="../types/assemblyfileset.html">assemblies</a>>
153
<ul class="examples">
155
<p> Generate the file <code>component.exe.licenses</code> file from <code>component.licx</code>. </p>
157
<license input="component.licx" licensetarget="component.exe" />
161
<h3>Requirements</h3>
162
<div style="margin-left: 20px;">
163
<b>Assembly:</b> NAnt.DotNetTasks (0.90.3780.0)
b'\\ No newline at end of file'