org.pyant.tasks
Class PythonCompileTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.pyant.tasks.PythonBaseTask
              extended by org.pyant.tasks.PythonInteractiveBaseTask
                  extended by org.pyant.tasks.PythonCompileTask
All Implemented Interfaces:
Cloneable

public class PythonCompileTask
extends PythonInteractiveBaseTask

Author:
Ron Smith Python compile task. This task will compile python modules.

Field Summary
protected  File dir
           
protected  boolean quiet
           
 
Fields inherited from class org.pyant.tasks.PythonInteractiveBaseTask
script
 
Fields inherited from class org.pyant.tasks.PythonBaseTask
failonerror, optimize, python, pythonpath
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
PythonCompileTask()
           
 
Method Summary
 void execute()
           
 void setDir(File dir)
           
 void setQuiet(boolean quiet)
           
 
Methods inherited from class org.pyant.tasks.PythonInteractiveBaseTask
addCommandlineArgs, createStreamHandler
 
Methods inherited from class org.pyant.tasks.PythonBaseTask
createCommandline, createExecute, execExecuteTask, executeScript, failureOcurred, fixFilePath, getCommandline, getPython, prepCommandline, setFailonerror, setOptimize, setOptimizeArgument, setPython, setPythonpath, setPythonPathInExecute, setPythonpathref
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dir

protected File dir

quiet

protected boolean quiet
Constructor Detail

PythonCompileTask

public PythonCompileTask()
Method Detail

execute

public void execute()
Overrides:
execute in class org.apache.tools.ant.Task

setDir

public void setDir(File dir)
Parameters:
dir - The dir to set.

setQuiet

public void setQuiet(boolean quiet)


Copyright © 2010. All Rights Reserved.