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

Field Summary

Fields inherited from class org.apache.tools.ant.Task

description, location, target, taskName, taskType, wrapper

Fields inherited from class org.apache.tools.ant.ProjectComponent

project

Method Summary

void
execute()
Called by the project to let the task do its work.
void
setImageURL(String imgurl)
A URL pointing to an image to display; optional, default antlogo.gif from the classpath.
void
setPassword(String password)
Proxy password; required if user is set.
void
setPort(String port)
Proxy port; optional, default 80.
void
setProxy(String proxy)
name of proxy; optional.
void
setShowduration(int duration)
how long to show the splash screen in milliseconds, optional; default 5000 ms.
void
setUseproxy(boolean useProxy)
Deprecated. use org.apache.tools.ant.taskdefs.optional.SetProxy
void
setUser(String user)
Proxy user; optional, default =none.

Methods inherited from class org.apache.tools.ant.Task

execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

Methods inherited from class org.apache.tools.ant.ProjectComponent

getProject, log, log, setProject

Method Details

execute

public void execute()
            throws BuildException
Called by the project to let the task do its work. This method may be called more than once, if the task is invoked more than once. For example, if target1 and target2 both depend on target3, then running "ant target1 target2" will run all tasks in target3 twice.
Overrides:
execute in interface Task
Throws:
BuildException - if something goes wrong with the build

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 B) 2000-2007 Apache Software Foundation. All Rights Reserved.