|
Rpm (Apache Ant API)
org.apache.tools.ant.taskdefs.optional
|
Field Summary |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
Rpm()
|
Method Summary | |
void |
execute()
Called by the project to let the task do its work. |
void |
setCleanBuildDir(boolean cbd)
Flag (optional, default=false) to remove the generated files in the BUILD directory |
void |
setCommand(java.lang.String c)
What command to issue to the rpm tool; optional. |
void |
setError(java.io.File error)
Optional file to save stderr to |
void |
setOutput(java.io.File output)
Optional file to save stdout to. |
void |
setRemoveSource(boolean rs)
Flag (optional, default=false) to remove the sources after the build. |
void |
setRemoveSpec(boolean rs)
Flag (optional, default=false) to remove the spec file from SPECS |
void |
setSpecFile(java.lang.String sf)
The name of the spec File to use; required. |
void |
setTopDir(java.io.File td)
The directory which will have the expected subdirectories, SPECS, SOURCES, BUILD, SRPMS ; optional. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Rpm()
Method Detail |
public void execute() throws BuildException
Task
BuildException
- if something goes wrong with the buildpublic void setTopDir(java.io.File td)
public void setCommand(java.lang.String c)
public void setSpecFile(java.lang.String sf)
public void setCleanBuildDir(boolean cbd)
public void setRemoveSpec(boolean rs)
public void setRemoveSource(boolean rs)
public void setOutput(java.io.File output)
public void setError(java.io.File error)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |