org.cruxframework.crux.tools.schema
Class SchemaGeneratorTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.cruxframework.crux.tools.schema.SchemaGeneratorTask
Direct Known Subclasses:
SchemaGeneratorModulesTask

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

Author:
Thiago da Rosa de Bustamante

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
SchemaGeneratorTask()
           
 
Method Summary
 void addClasspath(org.apache.tools.ant.types.Path classpath)
           
protected  void addCompilerParameters(org.apache.tools.ant.taskdefs.Java javatask)
           
 void addJvmarg(org.apache.tools.ant.types.Commandline.Argument jvmarg)
           
 void execute()
           
protected  void generateSchemas(File baseDir)
          Compile files using GWT compiler
 void setInputCharset(String inputCharset)
           
 void setOutputDir(File outputDir)
           
 void setWebDir(File webDir)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
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

SchemaGeneratorTask

public SchemaGeneratorTask()
Method Detail

addClasspath

public void addClasspath(org.apache.tools.ant.types.Path classpath)

addJvmarg

public void addJvmarg(org.apache.tools.ant.types.Commandline.Argument jvmarg)

setOutputDir

public void setOutputDir(File outputDir)

setWebDir

public void setWebDir(File webDir)

setInputCharset

public void setInputCharset(String inputCharset)

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

generateSchemas

protected void generateSchemas(File baseDir)
                        throws Exception
Compile files using GWT compiler

Parameters:
file -
Throws:
Exception

addCompilerParameters

protected void addCompilerParameters(org.apache.tools.ant.taskdefs.Java javatask)
                              throws Exception
Parameters:
javatask -
Throws:
IOException
Exception


Copyright © 2014. All rights reserved.