org.acplt.oncrpc.ant
Class JrpcgenTask

java.lang.Object
  extended by org.apache.tools.ant.Task
      extended by org.acplt.oncrpc.ant.JrpcgenTask

public class JrpcgenTask
extends org.apache.tools.ant.Task

Ant task to run the ONC/RPC '.x' file compiler provided in the Remote Tea library: jrpcgen.

The Remote Tea library is a complete open source implementation of the ONC/RPC standard, developped by the Chair of Process Control Engineering of University of Aachen, Germany.

Remote Tea can be found at http://www.plt.rwth-aachen.de/ks/english/remotetea.html.

The task attributes are:


Field Summary
private  boolean backup
           
private  boolean createDir
           
private  boolean debug
          Task attribute "debug".
private  java.io.File destDir
           
private  java.lang.String packageName
           
private  java.io.File srcFile
           
private  boolean verbose
           
 
Constructor Summary
JrpcgenTask()
           
 
Method Summary
private  void checkAttributes()
           
private  void dumpState()
           
 void execute()
           
 void setBackup(boolean backup)
           
 void setCreatedir(boolean createDir)
           
 void setDebug(boolean debug)
           
 void setDestdir(java.io.File destDir)
           
 void setPackage(java.lang.String packageName)
           
 void setSrcfile(java.io.File srcFile)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

srcFile

private java.io.File srcFile

destDir

private java.io.File destDir

packageName

private java.lang.String packageName

debug

private boolean debug
Task attribute "debug".


verbose

private boolean verbose

backup

private boolean backup

createDir

private boolean createDir
Constructor Detail

JrpcgenTask

public JrpcgenTask()
Method Detail

setSrcfile

public void setSrcfile(java.io.File srcFile)

setDestdir

public void setDestdir(java.io.File destDir)

setPackage

public void setPackage(java.lang.String packageName)

setCreatedir

public void setCreatedir(boolean createDir)

setDebug

public void setDebug(boolean debug)

setVerbose

public void setVerbose(boolean verbose)

setBackup

public void setBackup(boolean backup)

execute

public void execute()
             throws BuildException
Throws:
BuildException

checkAttributes

private void checkAttributes()
                      throws BuildException
Throws:
BuildException

dumpState

private void dumpState()