org.apache.tools.ant.taskdefs.optional.splash

Class SplashTask

public class SplashTask extends Task

Creates a splash screen. The splash screen is displayed for the duration of the build and includes a handy progress bar as well. Use in conjunction with the sound task to provide interest whilst waiting for your builds to complete...

Since: Ant1.5

Method Summary
voidexecute()
voidsetImageURL(String imgurl)
A URL pointing to an image to display; optional, default antlogo.gif from the classpath.
voidsetPassword(String password)
Proxy password; required if user is set.
voidsetPort(String port)
Proxy port; optional, default 80.
voidsetProxy(String proxy)
name of proxy; optional.
voidsetShowduration(int duration)
how long to show the splash screen in milliseconds, optional; default 5000 ms.
voidsetUseproxy(boolean useProxy)
flag to enable proxy settings; optional, deprecated : consider using <setproxy> instead
voidsetUser(String user)
Proxy user; optional, default =none.

Method Detail

execute

public void execute()

setImageURL

public void setImageURL(String imgurl)
A URL pointing to an image to display; optional, default antlogo.gif from the classpath.

setPassword

public void setPassword(String password)
Proxy password; required if user is set.

setPort

public void setPort(String port)
Proxy port; optional, default 80.

setProxy

public void setProxy(String proxy)
name of proxy; optional.

setShowduration

public void setShowduration(int duration)
how long to show the splash screen in milliseconds, optional; default 5000 ms.

setUseproxy

public void setUseproxy(boolean useProxy)

Deprecated: use org.apache.tools.ant.taskdefs.optional.SetProxy

flag to enable proxy settings; optional, deprecated : consider using <setproxy> instead

setUser

public void setUser(String user)
Proxy user; optional, default =none.
Copyright