symplik.flower
Class CallaAntTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by symplik.flower.CallaAntTask
All Implemented Interfaces:
java.lang.Cloneable

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

Ant Task to run CALLA in Silent mode (playback operation) Usage example:

 <property name="calla.dir" location="C:\Program Files\SYMPLiK\CALLA" />
   <taskdef name="calla"
            classname="symplik.flower.CallAntTask"
            classpath="${calla.dir}/classes:
                       ${calla.dir}/lib/CALLA.jar:
                       ${calla.dir}/lib/jdom-jaxen-1.1.1.zip:
                       ${calla.dir}/lib/[other jar files] 
   />
 <target name="runCalla">
   <calla configFile="${calla.dir}\flower.properties"/>
 </target>
   
 

Version:
$Revision: 3 $
Author:
$Author: Christopher Ho $

Field Summary
private  java.lang.String configFile
           
 
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
CallaAntTask()
           
 
Method Summary
 void execute()
           
 java.lang.String getConfigFile()
          Config file Getter method
 void setConfigFile(java.lang.String configFile)
          Config file Setter method
 
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

configFile

private java.lang.String configFile
Constructor Detail

CallaAntTask

public CallaAntTask()
Method Detail

execute

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

setConfigFile

public void setConfigFile(java.lang.String configFile)
Config file Setter method

Parameters:
configFile - (flower.properties)

getConfigFile

public java.lang.String getConfigFile()
Config file Getter method

Returns:
config file (flower.properties) location


Copyright © 2010 Symplik Tech. Co. Ltd. All Rights Reserved.