|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.spiffyui.build.ClosureTask
public class ClosureTask
This is a custom task for calling the Google Closure compiler.
| 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 | |
|---|---|
ClosureTask()
|
|
| Method Summary | |
|---|---|
void |
add(org.apache.tools.ant.types.ResourceCollection c)
Add an arbitrary ResourceCollection. |
void |
addFilelist(org.apache.tools.ant.types.FileList list)
List of files to compile. |
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Adds the file set of JavaScript files to compile |
void |
execute()
Executes this task to run the compiler. |
void |
reset()
Reset state to default. |
void |
setClosureJar(java.io.File jarFile)
Set the path to the closure compiler JAR file normally named compiler.jar. |
void |
setCompilationLevel(java.lang.String level)
Sets the compilation level |
void |
setJSfile(java.io.File jsFile)
Sepcify the name of the output file. |
void |
setSummaryLevel(java.lang.String level)
Controls how detailed the compilation summary is. |
void |
setWarningLevel(java.lang.String level)
Specifies the warning level to use. |
| 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 |
|---|
public ClosureTask()
| Method Detail |
|---|
public void addFileset(org.apache.tools.ant.types.FileSet set)
set - the set of filespublic void addFilelist(org.apache.tools.ant.types.FileList list)
list - the list of filespublic void setJSfile(java.io.File jsFile)
jsFile - the output file namepublic void setClosureJar(java.io.File jarFile)
jarFile - the closure compiler JAR filepublic void setSummaryLevel(java.lang.String level)
level - the summary levelpublic void setWarningLevel(java.lang.String level)
level - the warning level to usepublic void setCompilationLevel(java.lang.String level)
level - the compilation levelpublic void add(org.apache.tools.ant.types.ResourceCollection c)
c - the ResourceCollection to add.public void reset()
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - if there isn't enough information to run the GWT compiler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||