Class AntGenerator

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
de.uni_hildesheim.sse.easy.ant.AntGenerator
All Implemented Interfaces:
Cloneable

public class AntGenerator extends org.apache.tools.ant.Task
Ant Task that will start the automated generation.
Author:
Patu
  • Field Details

  • Constructor Details

    • AntGenerator

      public AntGenerator()
  • Method Details

    • createBaseFeature

      public AntGenerator.BaseFeature createBaseFeature()
      Adds a base file for the generator.
      Returns:
      the basefeature object.
    • createAddFeature

      public AntGenerator.AddFeature createAddFeature()
      Adds a additonal file for the generator.
      Returns:
      the additonal object.
    • setLibsPath

      public void setLibsPath(String libs)
      Sets the path for the required libs.
      Parameters:
      libs - Path to the libs.
    • setTarget

      public void setTarget(String target)
      Adds a target for the generated JARS.
      Parameters:
      target - The target as String.
    • setExcludes

      public void setExcludes(String excludes)
      Defines optional global exclusion patterns.
      Parameters:
      excludes - the exclusion patterns
    • setEclipsePath

      public void setEclipsePath(String eclipsePath)
      Sets the path for eclipse plugins.
      Parameters:
      eclipsePath - The target as String.
    • setBaseDir

      public void setBaseDir(String baseDir)
      Sets the baseDir for the bootstrap of the generator.
      Parameters:
      baseDir - the base as String.
    • setForced

      public void setForced(String forced)
      Sets whether the Generator should force a build. TRUE is default.
      Parameters:
      forced - anything but 0, no and false will cause the build to be forced.
    • setPluginPath

      public void setPluginPath(String pluginPath)
      Sets the path for the plugins. Defines the bootstrap base.
      Parameters:
      pluginPath - The path of the plugins as string.
    • setClassesPath

      public void setClassesPath(String classesPath)
      Setter for the path of compiled classes.
      Parameters:
      classesPath - Where to find the compiled classes, relative to basePath.
    • execute

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