protoj.core
Class JavacCompileTask

java.lang.Object
  extended by protoj.core.JavacCompileTask

public final class JavacCompileTask
extends java.lang.Object

Wrapper for the compileTask ant task.

Author:
Ashley Williams

Constructor Summary
JavacCompileTask(java.io.File sourceRoot, java.io.File destDir, ArgRunnable<org.apache.tools.ant.types.Path> classpathConfig)
           
 
Method Summary
 void execute()
           
 org.apache.tools.ant.taskdefs.Javac getCompileTask()
          The underlying ant task used to perform the compilation.
 org.apache.tools.ant.types.DirSet getDirSet()
           
 void initLogging(java.io.File logFile)
           
 boolean isSuccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavacCompileTask

public JavacCompileTask(java.io.File sourceRoot,
                        java.io.File destDir,
                        ArgRunnable<org.apache.tools.ant.types.Path> classpathConfig)
Method Detail

getCompileTask

public org.apache.tools.ant.taskdefs.Javac getCompileTask()
The underlying ant task used to perform the compilation.

Returns:

getDirSet

public org.apache.tools.ant.types.DirSet getDirSet()

initLogging

public void initLogging(java.io.File logFile)

execute

public void execute()

isSuccess

public boolean isSuccess()