org.enhydra.kelp.common
Class AbstractEchoBuilder

public abstract class AbstractEchoBuilder
extends ProgressBuilder
Constructor Detail

AbstractEchoBuilder

public AbstractEchoBuilder()
Create a CompileThread with listeners ready to recieve output from build.
Parameters:
listeners - A listener implements an onWrite method that is called to write output. The writes are captured for display or logging.

Method Detail

getProject

public OtterProject getProject()
Get the IDE project that contains the HTML source files to compile.

setProject

public void setProject(OtterProject bp)
Set the IDE project that contains the HTML source files to compile.

build

public synchronized void build()
Run the XMLC for all selected HTML files.

buildImpl

protected abstract void buildImpl()
Loop through all selected nodes files and build them. Write out exceptions to any registered listeners.

sleepInSeconds

public void sleepInSeconds(double seconds)
Sleep the thread for a given number of seconds.
Parameters:
seconds - How many seconds to sleep.