org.apache.tools.ant.taskdefs.optional
Class Rpm
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.apache.tools.ant.taskdefs.optional.Rpm
- public class Rpm
- extends Task
- Author:
- lucas@collab.net
Constructor Summary |
Rpm()
|
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rpm
public Rpm()
execute
public void execute()
throws BuildException
- Description copied from class:
Task
- Called by the project to let the task do it's work. This method may be
called more than once, if the task is invoked more than once. For example,
if target1 and target2 both depend on target3, then running
"ant target1 target2" will run all tasks in target3 twice.
- Overrides:
execute
in class Task
- Following copied from class:
org.apache.tools.ant.Task
- Throws:
BuildException
- if someting goes wrong with the build
setTopDir
public void setTopDir(java.io.File td)
setCommand
public void setCommand(java.lang.String c)
setSpecFile
public void setSpecFile(java.lang.String sf)
setCleanBuildDir
public void setCleanBuildDir(boolean cbd)
setRemoveSpec
public void setRemoveSpec(boolean rs)
setRemoveSource
public void setRemoveSource(boolean rs)
setOutput
public void setOutput(java.io.File output)
setError
public void setError(java.io.File error)
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.