1 | <!--
|
---|
2 | Licensed to the Apache Software Foundation (ASF) under one or more
|
---|
3 | contributor license agreements. See the NOTICE file distributed with
|
---|
4 | this work for additional information regarding copyright ownership.
|
---|
5 | The ASF licenses this file to You under the Apache License, Version 2.0
|
---|
6 | (the "License"); you may not use this file except in compliance with
|
---|
7 | the License. You may obtain a copy of the License at
|
---|
8 |
|
---|
9 | http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 |
|
---|
11 | Unless required by applicable law or agreed to in writing, software
|
---|
12 | distributed under the License is distributed on an "AS IS" BASIS,
|
---|
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
14 | See the License for the specific language governing permissions and
|
---|
15 | limitations under the License.
|
---|
16 | -->
|
---|
17 |
|
---|
18 | <html>
|
---|
19 |
|
---|
20 | <head>
|
---|
21 | <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
|
---|
22 | <title>Rpm Task</title>
|
---|
23 | </head>
|
---|
24 |
|
---|
25 | <body>
|
---|
26 |
|
---|
27 | <h2><a name="rpm">Rpm</a></h2>
|
---|
28 | <h3>Description</h3>
|
---|
29 | <p>
|
---|
30 | A basic task for invoking the rpm executable to build a Linux installation
|
---|
31 | file. The task currently only works on Linux or other Unix platforms
|
---|
32 | with rpm support.
|
---|
33 | </p>
|
---|
34 |
|
---|
35 | <h3>Parameters</h3>
|
---|
36 | <table border="1" cellpadding="2" cellspacing="0">
|
---|
37 | <tr>
|
---|
38 | <td valign="top"><b>Attribute</b></td>
|
---|
39 | <td valign="top"><b>Description</b></td>
|
---|
40 | <td align="center" valign="top"><b>Required</b></td>
|
---|
41 | </tr>
|
---|
42 | <tr>
|
---|
43 | <td valign="top">specFile</td>
|
---|
44 | <td valign="top">The name of the spec file to be used.</td>
|
---|
45 | <td valign="top" align="center">Yes</td>
|
---|
46 | </tr>
|
---|
47 | <tr>
|
---|
48 | <td valign="top">topDir</td>
|
---|
49 | <td valign="top">
|
---|
50 | This is the directory which will have the expected
|
---|
51 | subdirectories, SPECS, SOURCES, BUILD, SRPMS. If this isn't specified,
|
---|
52 | the baseDir value is used
|
---|
53 | </td>
|
---|
54 | <td valign="top" align="center">No</td>
|
---|
55 | </tr>
|
---|
56 | <tr>
|
---|
57 | <td valign="top">cleanBuildDir</td>
|
---|
58 | <td valign="top">This will remove the generated files in the BUILD
|
---|
59 | directory.</td>
|
---|
60 | <td align="center" valign="top">No</td>
|
---|
61 | </tr>
|
---|
62 | <tr>
|
---|
63 | <td valign="top">removeSpec</td>
|
---|
64 | <td valign="top">This will remove the spec file from SPECS</td>
|
---|
65 | <td align="center" valign="top">No</td>
|
---|
66 | </tr>
|
---|
67 | <tr>
|
---|
68 | <td valign="top">removeSource</td>
|
---|
69 | <td valign="top">Flag (optional, default=false)
|
---|
70 | to remove the sources after the build.
|
---|
71 | See the the <tt>--rmsource</tt> option of rpmbuild.</td>
|
---|
72 | <td align="center" valign="top">No</td>
|
---|
73 | </tr>
|
---|
74 | <tr>
|
---|
75 | <td valign="top">rpmBuildCommand</td>
|
---|
76 | <td valign="top">The executable to use for building the RPM.
|
---|
77 | Defaults to <code>rpmbuild</code> if it can be found or
|
---|
78 | <code>rpm</code> otherwise. Set this if you don't have either on
|
---|
79 | your PATH or want to use a different executable. <em>Since Ant
|
---|
80 | 1.6</em>.</td>
|
---|
81 | <td valign="top" align="center">No</td>
|
---|
82 | </tr>
|
---|
83 | <tr>
|
---|
84 | <td valign="top">command</td>
|
---|
85 | <td valign="top">Very similar idea to the cvs task. the default is "-bb"</td>
|
---|
86 | <td align="center" valign="top">No</td>
|
---|
87 | </tr>
|
---|
88 | <tr>
|
---|
89 | <td valign="top">quiet</td>
|
---|
90 | <td valign="top">Suppress output. Defaults to false.</td>
|
---|
91 | <td align="center" valign="top">No</td>
|
---|
92 | </tr>
|
---|
93 | <tr>
|
---|
94 | <td valign="top">output/error</td>
|
---|
95 | <td valign="top">Where standard output and error go</td>
|
---|
96 | <td align="center" valign="top">No</td>
|
---|
97 | </tr>
|
---|
98 | <tr>
|
---|
99 | <td valign="top">failOnError</td>
|
---|
100 | <td valign="top">Stop the buildprocess if the RPM build command exits with
|
---|
101 | a non-zero retuncode. Defaults to false</td>
|
---|
102 | <td align="center" valign="top">No</td>
|
---|
103 | </tr>
|
---|
104 | </table>
|
---|
105 |
|
---|
106 |
|
---|
107 | </body>
|
---|
108 | </html>
|
---|
109 |
|
---|