nu.staldal.lsp.compiler
Class LSPCompilerAntTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by nu.staldal.lsp.compiler.LSPCompilerAntTask
All Implemented Interfaces:
java.lang.Cloneable

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

Apache Ant interface to the LSP compiler.

See Also:
LSPCompilerHelper

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
LSPCompilerAntTask()
          Create a new LSPCompilerAntTask.
 
Method Summary
 void addConfiguredFileset(org.apache.tools.ant.types.FileSet fileset)
          Input files.
 void execute()
           
 void init()
           
 void setAcceptNull(boolean acceptNull)
          Deprecated. use setAcceptUnbound(boolean) instead
 void setAcceptUnbound(boolean acceptUnbound)
          Accept unbound variables and tuple values value without runtime exception.
 void setDestdir(java.io.File destdir)
          Where to place generated class files.
 void setEnclose(java.io.File encloseFile)
          Set enclose file.
 void setForce(boolean force)
          Force compilation even if the compiled class exists and is up-to-date.
 void setHtml(boolean html)
          Use HTML as default output method instead of XHTML.
 void setSourcepath(org.apache.tools.ant.types.Path sourcepath)
          Path to search for enclose and included files.
 void setXhtml(boolean xhtml)
          Deprecated. XHTML is now default, use setHtml(boolean) to override it.
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, 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

LSPCompilerAntTask

public LSPCompilerAntTask()
Create a new LSPCompilerAntTask.

Method Detail

init

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

setForce

public void setForce(boolean force)
Force compilation even if the compiled class exists and is up-to-date.

Parameters:
force -

setXhtml

@Deprecated
public void setXhtml(boolean xhtml)
Deprecated. XHTML is now default, use setHtml(boolean) to override it.

Use XHTML as default output method instead of HTML.

Parameters:
xhtml -

setHtml

public void setHtml(boolean html)
Use HTML as default output method instead of XHTML.

Parameters:
html -

setAcceptNull

@Deprecated
public void setAcceptNull(boolean acceptNull)
Deprecated. use setAcceptUnbound(boolean) instead

Parameters:
acceptNull -

setAcceptUnbound

public void setAcceptUnbound(boolean acceptUnbound)
Accept unbound variables and tuple values value without runtime exception.

Parameters:
acceptUnbound -

setSourcepath

public void setSourcepath(org.apache.tools.ant.types.Path sourcepath)
Path to search for enclose and included files.

Parameters:
sourcepath -

setDestdir

public void setDestdir(java.io.File destdir)
Where to place generated class files.

Parameters:
destdir -

setEnclose

public void setEnclose(java.io.File encloseFile)
Set enclose file.

Parameters:
encloseFile -

addConfiguredFileset

public void addConfiguredFileset(org.apache.tools.ant.types.FileSet fileset)
Input files.

Parameters:
fileset -

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