|
||||||||||
| 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
com.agiletools.ant.tasks.UrlGetTask
this Ant task is intended to give a simple mean to download files in your ant scripts
| Constructor Summary | |
UrlGetTask()
default constructor. |
|
| Method Summary | |
void |
execute()
the execute method |
void |
setDir(java.io.File dir)
the directory into which to place the downloaded resource. |
void |
setFailonerror(boolean fail)
do we want the task to fail (and make the whole build script to fail) on error ?. |
void |
setFilename(java.lang.String filename)
to which file do we want the downloaded file to be saved ?. |
void |
setUrl(java.net.URL url)
the URL resource to download. |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UrlGetTask()
| Method Detail |
public void setFailonerror(boolean fail)
fail - set to true if you want the task to fail on errorpublic void setFilename(java.lang.String filename)
filename - the file into which to save the URL resourcepublic void setDir(java.io.File dir)
dir - the directorypublic void setUrl(java.net.URL url)
url -
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionTask.execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||