2004-11-12 10:36:29 +00:00
|
|
|
|
2001-04-10 04:29:07 +00:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
2005-03-07 18:11:14 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/>
|
2001-04-10 04:29:07 +00:00
|
|
|
<title>Rpm Task</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h2><a name="rpm">Rpm</a></h2>
|
|
|
|
<h3>Description</h3>
|
|
|
|
<p>
|
2001-10-14 04:44:24 +00:00
|
|
|
A basic task for invoking the rpm executable to build a Linux installation
|
|
|
|
file. The task currently only works on Linux or other Unix platforms
|
|
|
|
with rpm support.
|
2001-04-10 04:29:07 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<h3>Parameters</h3>
|
|
|
|
<table border="1" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td valign="top"><b>Attribute</b></td>
|
|
|
|
<td valign="top"><b>Description</b></td>
|
|
|
|
<td align="center" valign="top"><b>Required</b></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">specFile</td>
|
2003-05-13 07:22:02 +00:00
|
|
|
<td valign="top">The name of the spec file to be used.</td>
|
2001-04-10 04:29:07 +00:00
|
|
|
<td valign="top" align="center">Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">topDir</td>
|
|
|
|
<td valign="top">
|
2005-04-04 07:40:32 +00:00
|
|
|
This is the directory which will have the expected
|
2001-04-10 04:29:07 +00:00
|
|
|
subdirectories, SPECS, SOURCES, BUILD, SRPMS. If this isn't specified,
|
|
|
|
the baseDir value is used
|
|
|
|
</td>
|
|
|
|
<td valign="top" align="center">No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">cleanBuildDir</td>
|
2002-07-09 21:06:15 +00:00
|
|
|
<td valign="top">This will remove the generated files in the BUILD
|
2001-04-10 04:29:07 +00:00
|
|
|
directory.</td>
|
|
|
|
<td align="center" valign="top">No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">removeSpec</td>
|
2005-04-04 07:40:32 +00:00
|
|
|
<td valign="top">This will remove the spec file from SPECS</td>
|
2001-04-10 04:29:07 +00:00
|
|
|
<td align="center" valign="top">No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-07-09 21:06:15 +00:00
|
|
|
<td valign="top">removeSource</td>
|
2005-04-04 07:40:32 +00:00
|
|
|
<td valign="top">Flag (optional, default=false)
|
2002-07-09 21:06:15 +00:00
|
|
|
to remove the sources after the build.
|
|
|
|
See the the <tt>--rmsource</tt> option of rpmbuild.</td>
|
|
|
|
<td align="center" valign="top">No</td>
|
2003-05-13 07:22:02 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">rpmBuildCommand</td>
|
|
|
|
<td valign="top">The executable to use for building the RPM.
|
|
|
|
Defaults to <code>rpmbuild</code> if it can be found or
|
|
|
|
<code>rpm</code> otherwise. Set this if you don't have either on
|
|
|
|
your PATH or want to use a different executable. <em>Since Ant
|
|
|
|
1.6</em>.</td>
|
|
|
|
<td valign="top" align="center">No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2001-04-10 04:29:07 +00:00
|
|
|
<td valign="top">command</td>
|
2005-04-04 07:40:32 +00:00
|
|
|
<td valign="top">Very similar idea to the cvs task. the default is "-bb"</td>
|
|
|
|
<td align="center" valign="top">No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">quiet</td>
|
|
|
|
<td valign="top">Suppress output. Defaults to false.</td>
|
2001-04-10 04:29:07 +00:00
|
|
|
<td align="center" valign="top">No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">output/error</td>
|
2005-04-04 07:40:32 +00:00
|
|
|
<td valign="top">Where standard output and error go</td>
|
|
|
|
<td align="center" valign="top">No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">failOnError</td>
|
|
|
|
<td valign="top">Stop the buildprocess if the RPM build command exits with
|
|
|
|
a non-zero retuncode. Defaults to false</td>
|
2001-04-10 04:29:07 +00:00
|
|
|
<td align="center" valign="top">No</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<hr>
|
|
|
|
|
2005-03-07 18:11:14 +00:00
|
|
|
<p align="center">Copyright © 2001-2005 The Apache Software Foundation. All rights
|
2001-04-10 04:29:07 +00:00
|
|
|
Reserved.</p>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|