org.enhydra.kelp.common
Class AbstractEchoGenerator

public abstract class AbstractEchoGenerator
extends ProgressBuilder
Constructor Detail

AbstractEchoGenerator

public AbstractEchoGenerator()
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.

generate

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

generateImpl

protected abstract void generateImpl()
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.