grails.ant

Class GrailsTask

    • Field Summary

      • 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

      Constructors 
      Constructor and Description
      GrailsTask() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addClasspath(org.apache.tools.ant.types.Path classpath) 
      void addCompileClasspath(org.apache.tools.ant.types.Path compileClasspath)
      Deprecated. 
      void addRuntimeClasspath(org.apache.tools.ant.types.Path runtimeClasspath)
      Deprecated. 
      void addTestClasspath(org.apache.tools.ant.types.Path testClasspath)
      Deprecated. 
      void execute() 
      java.lang.String getArgs() 
      org.apache.tools.ant.types.Path getClasspath() 
      java.lang.String getCommand() 
      org.apache.tools.ant.types.Path getCompileClasspath()
      Deprecated. 
      java.lang.String getEnvironment() 
      java.io.File getHome() 
      org.apache.tools.ant.types.Path getRuntimeClasspath()
      Deprecated. 
      java.lang.String getScript() 
      org.apache.tools.ant.types.Path getTestClasspath()
      Deprecated. 
      boolean isIncludeRuntimeClasspath() 
      protected void runGrails(java.lang.String targetName, java.lang.String args) 
      void setArgs(java.lang.String args) 
      void setClasspathRef(org.apache.tools.ant.types.Reference ref) 
      void setCommand(java.lang.String command) 
      void setEnvironment(java.lang.String environment) 
      void setHome(java.io.File home) 
      void setIncludeRuntimeClasspath(boolean includeRuntimeClasspath) 
      void setScript(java.lang.String script) 
      • 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
    • Constructor Detail

      • GrailsTask

        public GrailsTask()
    • 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
      • runGrails

        protected void runGrails(java.lang.String targetName,
                     java.lang.String args)
      • getCommand

        public java.lang.String getCommand()
      • setCommand

        public void setCommand(java.lang.String command)
      • getHome

        public java.io.File getHome()
      • setHome

        public void setHome(java.io.File home)
      • getScript

        public java.lang.String getScript()
      • setScript

        public void setScript(java.lang.String script)
      • getArgs

        public java.lang.String getArgs()
      • setArgs

        public void setArgs(java.lang.String args)
      • getEnvironment

        public java.lang.String getEnvironment()
      • setEnvironment

        public void setEnvironment(java.lang.String environment)
      • isIncludeRuntimeClasspath

        public boolean isIncludeRuntimeClasspath()
      • setIncludeRuntimeClasspath

        public void setIncludeRuntimeClasspath(boolean includeRuntimeClasspath)
      • getClasspath

        public org.apache.tools.ant.types.Path getClasspath()
      • addClasspath

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

        public void setClasspathRef(org.apache.tools.ant.types.Reference ref)
      • getCompileClasspath

        @Deprecated
        public org.apache.tools.ant.types.Path getCompileClasspath()
        Deprecated. 
      • addCompileClasspath

        @Deprecated
        public void addCompileClasspath(org.apache.tools.ant.types.Path compileClasspath)
        Deprecated. 
      • getTestClasspath

        @Deprecated
        public org.apache.tools.ant.types.Path getTestClasspath()
        Deprecated. 
      • addTestClasspath

        @Deprecated
        public void addTestClasspath(org.apache.tools.ant.types.Path testClasspath)
        Deprecated. 
      • getRuntimeClasspath

        @Deprecated
        public org.apache.tools.ant.types.Path getRuntimeClasspath()
        Deprecated. 
      • addRuntimeClasspath

        @Deprecated
        public void addRuntimeClasspath(org.apache.tools.ant.types.Path runtimeClasspath)
        Deprecated.